• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need Guidance.

 
dinesh Venkatesan
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have been developing small size applications using Servlets and Jsps. I am developing it by putting all these files in the pre-deployed examples folder of Tomcat 6.0.2.

Now, I want to deploy a web application. That is i want to invoke my jsp like "http://localhost:8080/MyApps/login.jsp"

Can anybody give me some guidance in the deployment procedures. I have tried several ad-hoc ways, such as renaming the examples folder to MyApps like that.

Thanks in advance!
dinesh.
 
Rahul Bhattacharjee
Ranch Hand
Posts: 2308
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Make a war (following appropriate directory structure) out of your application and name that as MyApps and use that for deployment.

Put the war in webapps folder of your Tomcat and restart the server.
 
dinesh Venkatesan
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Thanks! Could you please explain about the appropriate directory structure? and also please provide me the details about deployment descriptor authoring.

Thanks in advance!
dinesh.
 
Prabhu Venkatachalam
Ranch Hand
Posts: 502
Java jQuery Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good Article about deploying a sample application in Tomcat and weblogic -- URL
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
dinesh Venkatesan,
Welcome to JavaRanch!

In an effort to help you get the most from our forums, we've compiled a
list of tips for asking questions here. You can find the list in our
FAQ section here.
In particular please see:
UseAMeaningfulSubjectLine


Abbreviations such as "u" or "ur" in
place of "you" and "you are" or "you're" confound language translation software making
it hard for our non-English speaking members to read your posts.
"plz" is not a word in the English language.

Again, welcome to JavaRanch and good luck with your question.
-Ben
 
dinesh Venkatesan
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic