• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Web applications with references to another web application

 
Alex Florentino
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I have a web application(www.myapp.com) and now I need implement an checkout system(with ssl) and it will work at secure.myapp.com, but I would like use the same "WEB-INF" folder... if not I will need duplicate the code and it is not good.

there any way that I can set www.myapp.com WEB-INF folder as classpath entry for another web-application ?

it make sense ?

thanks
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35279
384
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Alex Florentino:
if not I will need duplicate the code and it is not good.

Why do you need to duplicate the code? You could have one copy of the common code in a separate Java project. That way you could jar it up and have both web apps refer to the jar.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic