Virtual Host problem with classpath

2006-05-19 Thread adamm
Short description : Without virtual host everything works fine. But, when I set my Virtual Host http://www.mysite.com then http://www.mysite.com/widget/index.jsp doesn't find imported classes and can't compile. Longer description : In server.xml I have something like : Host name=www.mysite.com

Re: Virtual Host problem with classpath

2006-05-19 Thread Hassan Schroeder
On 5/19/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: But, when I set my Virtual Host http://www.mysite.com then http://www.mysite.com/widget/index.jsp doesn't find imported classes and can't compile. In server.xml I have something like : Host name=www.mysite.com debug=0

Re: Virtual Host problem with classpath

2006-05-19 Thread Mladen Adamovic
Hassan Schroeder wrote: The appBase is where you place your webapps: ROOT, widgets, etc. So your default app would go in 'webapps/mysite/ROOT', widgets (if it's a separate all) 'webapps/mysite/widgets', and so on. {appBase}/{docBase}/WEB-INF /index.jsp