• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Send data between two app in the same Tomcat

 
Isaac DurĂ¡
Ranch Hand
Posts: 859
2
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 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,
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic