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

accessing from different web apps

 
sammaiah kyatham
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I've two web applications like

Application1:

webapps\app1
app1.jsp

Application2:

webapps\app2
app2.jsp

can I access app1.jsp in app2.jsp?

Thnx,
sam
[ February 14, 2006: Message edited by: sammaiah kyatham ]
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can access it directly, i.e. through a client-side redirect, without problems. To get a RequestDispatcher for a different web app, you need to set the "crossContext" attribute (see the Tomcat documentation)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic