Hi Rickard !

I guess this is about your work on EBS, isn't it ? ;-)

Unless you find a way to dynamically unjar and compile the JSP page, and
use the servlet container's class loader to load the resulting servlet,
your best shot is to unpackage it the ususal way...

If you manage to do it dynamically, I'd be interested to know how.
Can you let me know anyway ?

Cheers

Franck

--- Rickard �berg <[EMAIL PROTECTED]> wrote:
> I have a servlet that wants to output the result of a JSP page, but the
> JSP is not available as a regular page but as a resource in the JAR of
> the servlet (which resides in /WEB-INF/lib).
>
> Is it possible for the servlet to retrieve the contents of the packaged
> JSP page, and somehow send it to JSP for compilation and output the
> result. Or do I have to unpackage the page so that it is available the
> usual way?
>
> /Rickard
>
> --
> Rickard �berg
>
> Email: [EMAIL PROTECTED]
> http://www.telkel.com
> http://www.jboss.org
> http://www.dreambean.com
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets


__________________________________________________
Do You Yahoo!?
Yahoo! Calendar - Get organized for the holidays!
http://calendar.yahoo.com/

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to