This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Servlets and the fly likes jsp file redirect in Jrun server Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "jsp file redirect in Jrun server" Watch "jsp file redirect in Jrun server" New topic
Author

jsp file redirect in Jrun server

jenny wang
Greenhorn

Joined: Feb 23, 2001
Posts: 27
I am using Jrun server3.0 which is connected with Iplanet server.
I want to put all the .jsp files in Iplanet docs directory and rest of .java files in the Jrun default server directory.
Does anybody know how to redirect jsp files inside the servlet?
As far as I know, RequestDispatcher is used only under the servlet relative path and not for absolute path. I tried sendRedirect() and it seems it doesn't work either.
It will be great if somebody could give some hints on this.

Jenny
Peter Guillebaud
Ranch Hand

Joined: Jul 11, 2001
Posts: 57
I'm not sure if this is what you are after but if you use
response.setHeader ( "Refresh", "1;URL=" + myURL );
in the servlet it will forward the user to "myURL"...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jsp file redirect in Jrun server
 
Similar Threads
question about servlet in tomcat
JRun
question about servlet in tomcat
Jrun configuration For JSP
how to import class into jsp file