aspose file tools*
The moose likes JSP and the fly likes redirecting from one application to another Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "redirecting from one application to another" Watch "redirecting from one application to another" New topic
Author

redirecting from one application to another

harish pathak
Ranch Hand

Joined: Dec 17, 2005
Posts: 51
Hi All,

Anybody please tell me how to redirect from one application to another.
I have two application one is a1 and second is a2 inside orion.
a1 has a jsp file named a1index.jsp. and a2 has a jsp file named a2index.jsp.

in a1index.jsp file I am using response.sendRedirect("\a2\a2index.jsp") and redirecting to a2index.jsp. But it doesn't open a2index.jsp file as the syntex is not correct. .

Anybody please tell me what is the correct syntax to redirect from one application jsp to another jsp...

please reply soon..

Thanks in advance.......
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Change the backward slashes to forward slashes.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: redirecting from one application to another