So looking at the differences between the Jakarta JSDK 2.2 source and
JSDK 2.0, makes it a hard decision the impl of WebMacro, Cocoon, JSP
(general Servlet Embeding).

The problem is that with JSDK 2.2 you can call:

RequestDispatcher.include() 

and you will get a requested servlet's output in your own servlet.  

This would technically work but Screen.build() has to return a
ConcreteElement.  Which basically means I need to actually get the
output of this servlet.

So the way I am thinking of doing it is through emulating the servlet
engine.

Creating my own servlet context from the current servlet context,
calling init() assuming it hasn't been inited (but there might not be an
easy way to figure this out).

Then I would have to provide my own HttpServletRequest that provide a
different getServletPath() and a different ServletOutputStream that I
can get as a String so I can return it as a ConcreteElement for return
in build().

Thoughts?

It is slightly a hack but would work well across JSDK 2.2 and JSDK 2.0

-- 
Kevin A Burton
Senior Software Engineer
Kendara Inc
http://www.kendara.com
Mobile:  408-910-6145
Linux - You *will* be assimilated


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to