Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

redirecting from one application to another

 
harish pathak
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Change the backward slashes to forward slashes.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic