• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Beginner Questions

 
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 1953
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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....
 
Sheriff
Posts: 7001
6
Eclipse IDE Python C++ Debian Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks!
 
reply
    Bookmark Topic Watch Topic
  • New Topic