|Re: JSP script parsing [message #222574 is a reply to message #219709]
||Mon, 06 October 2008 10:29
| Nitin Dahyabhai
Registered: July 2009
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.
Eclipse WTP Source Editing
Eclipse WTP, IBM
Powered by FUDForum
. Page generated in 0.01708 seconds