On Thu, Aug 18, 2011 at 4:08 AM, chughgaurav <[email protected]> wrote:

> I want to run my servlets from usb drive , so I followed this guide to
> install java in my usb
> http://www.dreamincode.net/forums/topic/42544-putting-java-on-your-flash-drive
>  .
> After this , I copied the tomcat directory (from C:\) to the usb  .But ,
> when I try to run the servlets , tomcat picks files from the C:\webapp
> directory , instead of the webapps directory in the usb .
> Can anyone provide the solution ?
>

Please do not ask "Windows" related question !!

This should work -

Just change the appBase attribute of the <Host/> tag
-- http://www.jguru.com/faq/view.jsp?EID=1097532
Or search - "how to change webapp directory for tomcat"

-- 
Mailing list guidelines and other related articles: http://lug-iitd.org/Footer

Reply via email to