Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Communication from two different web apps

 
Massimo Giusti
Greenhorn
Posts: 9
  • 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
 
Roger Graff
Ranch Hand
Posts: 112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Massimo Giusti:
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

If I understand you correctly, you do not want to put seperate copies of the job.authentication classes under each application context.
Perhaps you could jar your class files and place them under the /tomcat/common/lib directory. You may have to play around with your environment variables (classpath or other) to make this work.
[ March 13, 2003: Message edited by: Roger Graff ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic