Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem for JSP beginner

 
Goldie
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am new to JSp .. i Have tomcat installed on my machine and I am using Linux. My question is where should I place my jsp code and what changes I need to make to the conf files in order to make it running. Detailed description would be more helpful to me.
Thanks in advance
 
Tony Alicea
Desperado
Sheriff
Posts: 3226
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Goldie: Please read the username policy of JavaRanch. In particular single name usernames are not permitted. Thanks.
The policy, which must be adhered to, is at
http://www.javaranch.com/ubb/Forum10/HTML/000180.html
Thanks again.
---
Sheriff Tony
 
vikinsa
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You don't need to make any special changes if you have set the TOMCAT_HOME and JAVA_HOME. Now place all of your JSPs in a folder and in turn place that folder in the webapps directory in Tomcat directory. Restart the Tomcat and it will automatically have the context of the user defined directory. Now you are ready to go.

------------------
Vikas Aggarwal
Technology Associate
http://www.vikinsa.com
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic