redirecting from one application to another

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.......

[593 byte] By [harishpathaka] at [2007-10-3 1:57:48]
# 1

1) Pls use forward slash "/"

2) ("\a2\a2index.jsp")This will work fine while forwarding requests using Request dispatcher, but not with redirects since the context changes. So provide the complete URL like ...

response.sendRedirect("http://rohit.javasoft.com/a2/a2index.jsp")

Regards

Rohit

RohitKumara at 2007-7-14 18:56:23 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...