Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » JSP script parsing
JSP script parsing [message #219709] Wed, 27 August 2008 17:16 Go to next message
Cameron Bateman is currently offline Cameron Bateman
Messages: 480
Registered: July 2009
Senior Member
When a JSP document is parsed, is anything done with JSP scripts (i.e.
scriptlets, declarations, expressions (non-EL) etc.) other than
partitioning them? Is any effort made to parse the script or provide
design-time support for it?


Thanks,

Cameron
Re: JSP script parsing [message #222574 is a reply to message #219709] Mon, 06 October 2008 06:29 Go to previous message
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 2253
Registered: July 2009
Senior Member
Cameron Bateman wrote:
> When a JSP document is parsed, is anything done with JSP scripts (i.e.
> scriptlets, declarations, expressions (non-EL) etc.) other than
> partitioning them? Is any effort made to parse the script or provide
> design-time support for it?

Yes, an on-the-fly translation is done by the JSP model to build
source resembling the Servlet that a JSP container would create, and
then run through the JDT compiler for problem reporting. The
translation contains information on the bidirectional mappings
between scripting areas in the JSP file and the generated Servlet
source that's used for a number of functions in the source editor.
You'll have to give a little more details on what you mean by
design-time support, though, for more concrete answers.

--
---
Nitin Dahyabhai
Eclipse WTP Source Editing
IBM Rational


---
Nitin Dahyabhai
Eclipse WTP, IBM
Previous Topic:Tracking save events of a particular wst editor kind
Next Topic:Customize drag'n'drop in SSE
Goto Forum:
  


Current Time: Sun Aug 31 04:37:28 EDT 2014

Powered by FUDForum. Page generated in 0.01945 seconds