aspose file tools*
The moose likes Tomcat and the fly likes Send data between two app in the same Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Send data between two app in the same Tomcat " Watch "Send data between two app in the same Tomcat " New topic
Author

Send data between two app in the same Tomcat

Isaac Ferguson
Ranch Hand

Joined: Jun 22, 2012
Posts: 321
In my Tomcat I have the next situation:

when I type www.mysite.com I go to the Tomcat welcome file like index.jsp. Then I need from that *.jsp send his URL for example "www.mysite.com?code=343" to my own app which
is located in the same Tomcat6.

Also in my index.jsp I want to include classes from the other WAR like this



Now obviously it launches the error:



What way could I work with two wars like if they would be one?


I have an app which depends from other. The main one is located in C:\home\tomcat\webapps and the dependant one is located in C:\java\eclipse\workspace.

Is posible interconect both?





Many Thanks

Regards,
 
 
subject: Send data between two app in the same Tomcat
 
Similar Threads
Need help in build applications using ant : getting exception
Tomcat 6.0.X (could be 18, 26 or 32 tried all 3)
Tomcat lbfactor weight not working
Session replication with Tomcat 6
Multiple web applications, one virtual host, access logging