Hey all. I'm trying to setup my web app so that I can store some design elements, like the headers and footers, in seperate files that I can change without needing to recompile my sevlets. The way I have it setup right now is I'm running tomcat through apache so is you went to for example http://localhost/ it would be handled by apache but http://localhost/forum/ is handled by tomcat. What I want to do is include a file from the servlet (in /forum/) that is located in the root apache directory. If thats not possible, is there another way of doing it or will I have to manually open the files and print them out inside the servlet?
Alright. After looking at jsp forwarding for a bit it does seem like its what I should do. But I can't get it to work. Here is what I have now:
All it does is display the code that comes from the servlet (which is what I would expect it to do since its forwarding). How do I print stuff in the jsp and then include the servlet output? Whoops. Sorry about the name thing. [ April 06, 2004: Message edited by: Carlin Jones ]
Joined: Apr 06, 2004
Nevermind I think I figured it out.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com