After going through all the documentation, I have
gotten mod_jk2 to forward jsp requests to Tomcat. 
However, I have a question about the layout...

Essentially, my site will be .html pages with some
occasional .jsp pages (it will likely change in the
future to all .jsp/servlets, but for now that's the
way it is).  Right now, I have the Apache DocumentRoot
pointing to the directory containing the site and also
I have a Tomcat Context with a blank path property and
docBase property pointing to the same site directory. 


So, basically, I can browse the site by going to
http://localhost:8080 using Tomcat in addition to the
standard http://localhost address (through Apache). 
And, with mod_jk2 working, I can also hit
http://localhost/xyz.jsp and have a .jsp page execute
correctly.

So, my question is, is this the correct way to
configure this kind of web site?  When .jsp pages are
hit, are the images actually being loaded by Apache or
by Tomcat?

A problem I've discovered is that if I need to use a
web.xml file in the WEB-INF directory, I can actually
browse to the WEB-INF directory when hitting the site
through port 80 (Apache).  Obviously, this is not a
good idea so I am thinking there is probably a better
way to set this site up.  Any ideas?

Thanks,

JF




                
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to