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

virtual hosting multiple sites with one web-inf?

 
daniel schulken
Ranch Hand
Posts: 34
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is it posibable to virtual host multiple sites that point to differnt jsp and other assets but use the same code in one location? Or would the code have to be spread to all the other virtual host to?
 
Tim Baker
Ranch Hand
Posts: 541
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i don't see why you can't deploy a servlet to tomcats lib folder and then setup individual mappings in web.xml in different contexts and make the servlet use getRealPath to get files local to each context.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic