This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Servlets and the fly likes execution of jsp prog step by step Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "execution of jsp prog step by step " Watch "execution of jsp prog step by step " New topic
Author

execution of jsp prog step by step

shanti surap
Greenhorn

Joined: Oct 24, 2000
Posts: 14
Hi all!
When I open my startserver from jswdk-1.0 why is it opening as Finished-startserver?
what's my next step for executiong a jsp prog?
i.e; before I write the url as http:\\localhost\8080\myprog.jsp
what do I nee to do?
pleeeeeeeees hellllllp
rgds
Shanti
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12809
    
    5
You should probably drop using JSWDK 1.0 and switch to the Tomcat project. Sun gave all the JSWDK code to the Apache organization for future development of the "reference" implementation of servlets and JSP over a year ago. Sun and IBM have engineers assigned to work on Tomcat - I don't think they support JSWDK at all.
The URL is: http://jakarta.apache.org/
Be sure you remove all JAR files that JSWDK installed before trying to run Tomcat - very confusing errors result if you mix them.
After installing Tomcat - make sure you can run the example servlets and JSP before trying to run your own.
Bill
Sheldon Rego
Greenhorn

Joined: Nov 03, 2000
Posts: 12
hey,
before U set the working of the JSP as http://localhost:8080/myjsp.jsp
U need to do first setup the Javawebserver2.0 on your machine the installable is readily available on the sun site.
After installing that U proceed to place your jsp file in the public_html folder provided by the web-server.
Then if required U can set the server to a new port, but the default port happens to be 8080.
To access the admin functions use the URL http://localhost:9090/
U can then access using the login/password: admin/admin
To see your JSP page use http://localhost:8080/myjsp.jsp
and your jsp file will be hosted.
Hope this helps U out....
:-)
shanti surap
Greenhorn

Joined: Oct 24, 2000
Posts: 14
thanx bill n sheldon
that was a great help:-)
rgds
Shanti
P SOLAIAPPAN
Ranch Hand

Joined: Oct 20, 2000
Posts: 68
Hi,
You need not use javaweb server for "testing" your servlets/jsp programs. jakarta-tomcat is more than sufficient.
solaiappan
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: execution of jsp prog step by step