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
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,
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Send data between two app in the same Tomcat
 
Similar Threads
Multiple web applications, one virtual host, access logging
Tomcat 6.0.X (could be 18, 26 or 32 tried all 3)
Need help in build applications using ant : getting exception
Session replication with Tomcat 6
Tomcat lbfactor weight not working