Gidday Carlos,

A JSP file needs to be compiled by the Web Server if you output directly
to the browser" out.print(myJspStuff); "  it will just show the source
of the JSP.

One way might be to save the JSP page to a file on the server and then
redirect to the JSP page, this should work although I have not tried it
myself, and there would be a delay compiling the page.

cheers pb..


"Carlos J. Herrera" wrote:
>
> I have heard of a servlet outputting HTML that calls
> another servlet = Servlet Chaining.
>
> Has anyone ever heard of a Servlet that outputs
> appropriate JSP code?  Does the Apache web server even
> bother parsing the HTML-like output to notice the JSP
> scriplet tags = <HTML> ...<% jsp code here %>...</HTML> ?
>
> I am about to try this during the weekend... I haven't
> read this technique in any book... so I'll let you know
> if I am at all successful.
>
> By the way, I am doing this just for kicks. But please
> comment on any issues I may be missing.
>
> __Carlos__
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

--
Peter Blakeley
Head of Software Development Coolcat Software Pty. Ltd.
http://www.coolcat.com.au/
Director Bug Audit Services
http://www.coolcat.com.au/bug_audit


A financial instrument is a device used by a Banker to pick your pocket.
It is said an art degree is a licence to know it all, I am lucky I need
no art degree.
;-})

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to