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 appBase=webapps/mysite
unpackWARs=false autoDeploy=true
Context path= docBase=./
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
...
Try that and see if your classpath issues disappear.
And for troubleshooting at least, it may help to use absolute paths in
your configs to avoid confusion...
HTH,
--
Hassan Schroeder [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]