Discussions
Web tier: servlets, JSP, Web frameworks: Text outside of jsp-file treated (executed) as jsp
-
Text outside of jsp-file treated (executed) as jsp (3 messages)
- Posted by: Claes L
- Posted on: January 09 2008 06:51 EST
Im am trying to find a way to execute a block of text as if it where jsp-content (tags and scriptlets mixed with content). Are there any api for this in the jee pack? Regards //Claes LThreaded Messages (3)
- Text outside of jsp-file treated (executed) as jsp by Vijayakumar Govindasamy on January 10 2008 00:40 EST
- More on the ubject by Claes L on January 10 2008 01:54 EST
- Re: Text outside of jsp-file treated (executed) as jsp by Marina Prikaschikova on January 30 2008 08:46 EST
-
Text outside of jsp-file treated (executed) as jsp[ Go to top ]
- Posted by: Vijayakumar Govindasamy
- Posted on: January 10 2008 00:40 EST
- in response to Claes L
Can you explain your prblm with little more clear.I think you want execute a part of jsp code ?,If yes then you use open source webserver API.Google it,to find your answer -
More on the ubject[ Go to top ]
- Posted by: Claes L
- Posted on: January 10 2008 01:54 EST
- in response to Vijayakumar Govindasamy
I am intending to use jsp as a report engine. The 'templates' should be jsp-code stored in the db, loaded and executed as if they where inside a plain jsp-file in the application. I cannot write new files on the file system since this is prohibited on the production env - so I would like to compile and execute the jsp-code directly in memory. Was hoping this could be done with the jee standard stack. -
Re: Text outside of jsp-file treated (executed) as jsp[ Go to top ]
- Posted by: Marina Prikaschikova
- Posted on: January 30 2008 08:46 EST
- in response to Claes L
See for example Eval taglib: http://www.servletsuite.com/servlets/evaltag.htm in Coldtags suite