Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » JSP script parsing
JSP script parsing [message #219709] Wed, 27 August 2008 21:16 Go to next message
Cameron Bateman is currently offline Cameron BatemanFriend
Messages: 481
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 10:29 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4435
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 Web Tools Platform
Previous Topic:Tracking save events of a particular wst editor kind
Next Topic:Customize drag'n'drop in SSE
Goto Forum:
  


Current Time: Tue Apr 23 17:04:03 GMT 2024

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

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

Back to the top