Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

how to change the context root for tomcat

843842Jun 9 2008 — edited Jun 11 2008
hi friends,

i just want to change the context root for tomcat so that i could deploy jsp's and servlet's without having a need of putting the class file and web pages on default context root frequently.
i have created my own development directory and now intending to create java files and web pages, compile these and then deploy as if these are deployed in the default context root(install_derectory\webapp\ROOT,install_derectory\webapp\classes) where server looks the class files and webpages. someone told me that i have to set the path of web application in the docBase attribute of context tag.
but there is not any context tag in server.xml file of this tomcat version(5.5.17).

actually i have been using the netbeans IDE so far and was unaware of what is going on inside. but now i just want to go through.

regards
san

Comments

400695
have you downloaded java.com java virtual machine...?
152930
Hi Stephen,
Thank you for getting back to me!
As far as I know, I didn’t download this file. It is a new laptop with your typical programs (Office, Explorer, etc.) and Oracle Portal. Having said that, I will need to go home tonight and do a search. I’ll let you know. How does Java fit in the puzzle?

Thanks again!

Adrian
152930
Stephen,

I am just a novice. My installation of the portal and database includes many files called javavm. However, I was able to use the portal with no problems prior to my installation of McAfee.

Adrian
1 - 3
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jul 9 2008
Added on Jun 9 2008
10 comments
770 views