• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Beginner Questions

 
Rob Levo
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Installed jwsdk - no problem
started server - no problem
Now, 1)where do I put my servlets, 2)how do I compile them, and 3)how do I access them
Thanks
 
Roseanne Zhang
Ranch Hand
Posts: 1953
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My suggestion is uninstall your jwsdk, it is out of date.
Install tomcat instead. You can use the step-by-step work sheet here:
http://www.webappcabaret.com/javachina/tomcathowto.htm
Roseanne
 
Rob Levo
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is Tomcat the eaisest way to start or should I begin with another JSP/Servlet engine. I will just be using the server to learn and run my examples. Want to spend the least amount of time setting up, and most of time coding.
Thanks again.
 
Sandeep Jain
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
1)U have to put ur servlets in servlet directory which is under javawebserver.
2)Compilation is the same u can put ur source file there and compile it there itself or u can also compile the file with -d option and by giving the destination name.
3)This server is not that reliable.

------------------
Sandeep Jain
 
Anjali Ajwani
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Rob,
That's right. Uninstall JWSDK - it doesn't support all the features too. Java Web Server can be downloaded from sun's site for a period of 30 days. But this will also be removed from their site by May. For a month JWS is OK. You could try JRun instead. You can download it from www.allaire.com. It is a good engine.
......Anjali....
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why bother with the somewhat nonstandard JavaWebServer, the very obsolete JSWDK, or the expensive JRun when you can download powerful, standard and up-to-date pure Java servers for free, with source from http://jakarta.apache.org/ (Tomcat), http://www.caucho.com/ (Resin) or http://jetty.mortbay.com/ (Jetty) ?
 
Rob Levo
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic