Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Send data between two app in the same Tomcat

Isaac Ferguson
Ranch Hand
Posts: 963
Java Netbeans IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In my Tomcat I have the next situation:

when I type I go to the Tomcat welcome file like index.jsp. Then I need from that *.jsp send his URL for example "" 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

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic