Win a copy of The Java Performance Companion this week in the Performance forum!
    Bookmark Topic Watch Topic
  • New Topic

How to run JSP file in tomcat server

 
Mr.Satheesh Pandian
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi, This is Satheesh.I am new to JSP technology and learning myself.So I need help from you people.I have a simple .jsp file.When I am running this file on tomcat server, where I can place this file?Is there any path setting to run .jsp file?.Please help me to find out the solution.

Thanks .

Regards,

Satheesh Pandian.J
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Report post to moderator
If you want to access it directly, put it under your root.
For example, [TOMCAT]/webapps/myapp/hello.jsp

You can access it via http://localhost:8080/myapp/hello.jsp
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
 
    Bookmark Topic Watch Topic
  • New Topic