This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv 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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "execution of jsp prog step by step " Watch "execution of jsp prog step by step " New topic

execution of jsp prog step by step

shanti surap

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
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13027
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:
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.
Sheldon Rego

Joined: Nov 03, 2000
Posts: 12
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

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

Joined: Oct 20, 2000
Posts: 68
You need not use javaweb server for "testing" your servlets/jsp programs. jakarta-tomcat is more than sufficient.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: execution of jsp prog step by step
It's not a secret anymore!