I guess I should clarify.

I want Java code to do in-process requests to JSPs (etc) for HTML.

This shouldn't involve sockets or JNI -- just a plain simple mechanism to take ServletRequest/HttpServletRequest and ServletResponse/HttpServletResponse objects and toss these (in process) at Tomcat and let it pass these to the normal FilterChain, etc, with the output written to the response stream/writer. Nothing terribly fancy, but this would allow in-process use of JSPs to generate HTML for various non-browser purposes. Otherwise one is stuck with the unnecessary dichotomy of generating browser HTML one way and all other HTML some other way -- unless one forgoes any technology, like JSP, that relies on the servlet API.

Henri Gomez wrote:
There was a JNI connector sometimes ago.

I'm unsure if it's still maintened

2008/9/17 Jess Holle <[EMAIL PROTECTED]>:
Is there an in-process connector for Tomcat somewhere out there?

Specifically I want to be able to embed Tomcat and use JSPs, etc, to
generate HTML but without requiring loopback HTTP(S) requests.

Does such a thing exist?  If not, would this be hard to add?

Pointers and suggestions would be much appreciated.

--
Jess Holle


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to