Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

complete newbie can't set up jsp environment.

 
Chris Browne
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone.
I am pretty new to Java and programming in general. I have managed to set up the sdk and can compile and run standard java programs from the command line using the javac command.
My problem concerns setting up my jsp environment. I have all the required software downloaded, and can access the admin and manager using the localhost 8080 ports. What I need to know is how do I run my own jsp code ?
I have created a basic "helloworld" jsp file but cannot test it, as I have no idea where to save it or how it works with regards to the path variables.
Sorry for such a dumb question, but if someone can help me out I would be very grateful.
Thanks
(((az)))
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65226
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Chris, welcome to the Ranch.
I'm going to take a leap and assume that you are using Tomcat. If so, have you checked out the Tomcat forum?
I know that this is the type of question that gets asked there a lot.
bear
 
Chris Browne
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Bear,
yes I am running on Tomcat, windows xp pro. I have looked in the Tomcat forum but still can't seem to figure it all out. I will keep trying though !
Chris
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you just want to test something real quick, put your hello.jsp file in the TOMCAT\webapps\ROOT\ folder, then access it like http://localhost:8080/hello.jsp.
 
Chris Browne
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yippee !
Thanks you Gregg, your a star, all i needed to do was save my jsp files to the webapps folder, sometimes I tend to make things harder than they actually are ! Thanks a million. I can now destroy my brain actually learning jsp !
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic