File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient 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: 435
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