Hi,
I'm trying to run a forward example that will forward from jsp to servlet
and servlet jsp file. When run it, it give me a blank page. I think my
forward path in servlet is given wrongly. But, I try to change to different
path, it still give me blank page.
Here is my directory structure:
/jsptoserv
|
--/WEB-INF
| |
| --/classes
| |
| -- servletToJsp.class
|
|
--/jsp
|
--jsptoservlet.jsp
|
--hello.jsp
<jsptoserv> directory is in the /JRun/servers/default/ directory.
In the servlet, I give the forward path is "/jsptoserv/jsp/hello.jsp".
The jsptoservlet.jsp can forward to the servletToJsp, but the servletToJsp
cannot forward back to the hello.jsp.
Anyone can tell me what path I need to give in the servlet?
or who can give an forward example run in Jrun3? I think I
need to do some mapping configuration in my Jrun, but please
tell me how to do it.
My environmet:
Platform : Suse Linux 6.4
Web Server : Apache 1.3.9
Application Server : JRun 3.0 (Jrun default web server is turn off)
I run this URL in my client browser.
http://192.168.1.2/jsptoserv/jsp/jsptoservlet.jsp
Thanks in advance
Louis
===========================================================================
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