File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Communication from two different web apps

 
Massimo Giusti
Greenhorn
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I'm working with Tomcat 4.0 and I build two web applications: back-app and front-app!
I have created a package "job.authentication" in the back-app and I want use this package in a jsp in the front-app.
But when I try to import this package I receveid the error:
Package job.authentication not found in import
I shouldn't create a library .jar for classes in back-app (then refer this in the classpath), because I'm deployng both application and there are continuos changes.
Have you an idea for resolve my problem?
Thanks in advance,
MaX :roll:
 
Ryan Bailey
Ranch Hand
Posts: 134
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Massimo,
If you need to use the same package in multiple webapps all you have to do is jar up the files to be used and place them in your TOMCAT_HOME/common/lib directory.
This directory is shared between all Webaps.
Hope this helps,
Ryan
 
Massimo Giusti
Greenhorn
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very much
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic