This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Tomcat and the fly likes accessing from different web apps Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Tomcat
Bookmark "accessing from different web apps" Watch "accessing from different web apps" New topic
Author

accessing from different web apps

sammaiah kyatham
Ranch Hand

Joined: Aug 03, 2003
Posts: 104
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

Joined: Mar 22, 2005
Posts: 42958
    
  73
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)
 
Have you checked out Aspose?
 
subject: accessing from different web apps
 
It's not a secret anymore!