This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Send data between two app in the same Tomcat  RSS feed

Isaac Ferguson
Ranch Hand
Posts: 1063
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
Boost this thread!