The address in bar will be of the Servlet only as you are dispathcing the request to
another JSP and not redirecting the URL. If you will redirect using
Response,sendRedirect("") then the URL will get changed.
What error you are getting for CSS? I thinking the URL for CSS in your JSP may be
wrong. You must ahve defined it relative, define it virtual and it will work for you.
-----Original Message-----
From: Biji Harees [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 22, 2002 3:16 PM
To: [EMAIL PROTECTED]
Subject: Redirection from Servlet to JSP
Hi All,
I am facing problem while redirecting from servlet to JSP. Although JSP
page is displaying properly, the CSS used in it is not working properly.
Also the address showed in the address bar of the browser is of servlet.
I am using following command for redirection from servlet....
getServletConfig().getServletContext().getRequestDispatcher("StoreOpen.j
sp")
If any one could kindly explain me what more to do to make JSP address
visible in the bar rather than servlet address, it would be of great help
for me.
Thanking you all
Biji Harees
Amsoft India Ltd
Bangalore
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com
==========================================================================To
unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com