The problem is I'm trying to integrate Struts2 into an application which has a different servlet container already embedded in it.
This servlet container, when it receives the forward() from the ServletDispatcherResult, looks for a servlet to handle the new request. I now see this new servlet should be a JspServlet (or equivalent). I just need to figure out how to properly instantiate a JspServlet so it will happily process the new request. Wes Wannemacher wrote: > > On 10/26/07, jamestastic <[EMAIL PROTECTED]> wrote: >> >> But Tomcat doesn't directly know about ValueStacks. It seems there must >> be >> some Struts2 component which handles this part. Not to mention all the >> Struts2 helper classes for processing Struts2 markup in JSP files. > > You're right, tomcat doesn't know about the ValueStack, but the > Struts2 tags do. > >> >> After my Action has completed, I've traced the ServletDispatcherResult to >> call dispatcher.forward(request, response), but I can't figure out what >> happens next. >> >> It's almost like there's another servlet which takes the result, opens & >> processes the JSP, and writes it to the servletResponse output stream. >> >> I'm really stuck here. >> > > I think you're overthinking things. There is definitely magic that > happens, but struts2 doesn't do anything to the JSP files (AFAIK). A > good place to start if you are really curious is - > > http://struts.apache.org/2.0.9/docs/big-picture.html > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/What-actually-processes-a-JSP-file--tf4698875.html#a13434593 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]