• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

execution of jsp prog step by step

 
shanti surap
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13061
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanx bill n sheldon
that was a great help:-)
rgds
Shanti
 
P SOLAIAPPAN
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
You need not use javaweb server for "testing" your servlets/jsp programs. jakarta-tomcat is more than sufficient.
solaiappan
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic