*
The moose likes Servlets and the fly likes william, need your help for VERY basic doubts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "william, need your help for VERY basic doubts" Watch "william, need your help for VERY basic doubts" New topic
Author

william, need your help for VERY basic doubts

chetan nain
Ranch Hand

Joined: Jun 21, 2000
Posts: 159
i have some very,very basic doubts. please spare some of your tim e to clear
these:
1. in order to deploy servelts onto a site, is it necessary that we
should have a java enabled server.?? or can we just link to the
servlet from a webpage, on click of which the servlet will be invoked?
2. on running the startup.bat file. on my tomcat, i get an error message in a dos window such as
nvalid ConectionHandler or something . why is this. ,y server isnt starting
up

please help me
chetan
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12769
    
    5
"1. in order to deploy servelts onto a site, is it necessary that we should have a java enabled server.?"
Since a servlet is a Java program that runs on the server, of course your server has to be Java enabled.
"2. on running the startup.bat file. on my tomcat, i get an error message in a dos window such as nvalid ConectionHandler or something . why is this. "
There are lots of reasons for Tomcat not starting. I spent days tracing one that sounds like this. It turned out to be due to a JAR file left over from an earlier installation of JSDK.
I recommend that you temporarily remove the @echo off from the startup.bat and tomcat.bat files so you can see complete error messages.
As a general rule, when asking for help, specify the operating system and JDK version you are using. It sometimes makes a big difference.
Bill
chetan nain
Ranch Hand

Joined: Jun 21, 2000
Posts: 159
thank you for the help
when you face d the same problem, how did you rectify it?
could you explain step-by -step please
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: william, need your help for VERY basic doubts