Hi,

I also though about JSPs as response. If you use a Servlet Container as 
server connector (e.g. tomcat), than it should not be so hard: Just 
allow the return of a redirect or whatever it is called to another 
Servlet (here: the JSP). Of course this is a dependency to Servlet 
containers, but for them it is not hard, I think.

best regards
  Stephan

Rob Heittman schrieb:
> This is one of the biggest problems with JSP; it is very hard to use
> it pluggably outside of its intended JEE framework (as opposed to any
> of the things that work nicely with JSR223 scripting:
> https://scripting.dev.java.net/) ... we have run into this in our
> content management framework.  Perversely, it's easier to craft a PHP
> representation than a JSP one!
>
> On a container-specific level, it is possible to instantiate and
> control your own instance of the container's JSP servlet (e.g. Jasper)
> ... but this is a hack in any universe.
>
> On Wed, Feb 25, 2009 at 12:31 PM, Dustin N. Jenkins
> <[email protected]> wrote:
>   
>> I could treat the JSP like a FreeMarker template and just replace
>> mark-ups, but then it's not really a JSP anymore, especially for
>> maintainers of the code after me.

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=1228985

Reply via email to