Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » JSP script parsing
JSP script parsing [message #219709] Wed, 27 August 2008 17:16 Go to next message
Eclipse UserFriend
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
Eclipse UserFriend
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
Previous Topic:Tracking save events of a particular wst editor kind
Next Topic:Customize drag'n'drop in SSE
Goto Forum:
  


Current Time: Fri Jul 04 23:05:47 EDT 2025

Powered by FUDForum. Page generated in 0.04234 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top