• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

new application in tomcat4.0

 
Vedhas Pitkar
Ranch Hand
Posts: 445
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do i create a new application in tomcat so that i can access it using
http://localhost/myapp or
http://myapp
If anyone has the solution plz let me know quickly as i am in dire straits.
 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In conf/server.xml add this
<Context path="/myapps"
docBase="webapps/myapps"
crossContext="false"
debug="0"
reloadable="true" >
</Context>
In tomcat under webapps directory create directorys
1.webapps\myapps\
2. webapps\myapps\web-inf\
3.webapps\myapps\web-inf\classes\
4.webapps\myapps\meta-inf

Check examples folder for better replication.Read docs for more understanding and modification.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic