- Why do I get an error "The page cannot be found"
in IE and "404 Not Found" in Netscape when I try to access a servlet
using HTTP protocol?
- Why do I sometimes get an error "The page cannot
be displayed when I try to access a Servlet using HTTP protocol.
Which Servlet Engine is Net4India using?
ServletRunner utility
Can I use JSP or EJB component in my application?
Not Currently
Which Server supports Servlet at Net4India?
Currently, Servlet support is available on Windows NT 4.0 that's
running IIS 4.0.
Can I use servlet in conjunction with other
scripting languages like ASP/Cold Fusion?
Yes, you can actually build applications in a combination of these
languages and upload them to your site, they will function properly.
Which are the files that I need to upload for
Servlet support?
You have to upload all ".class" files along with a "Servlet.txt"
file which should specify the alias name for each class file in
the following manner:
Abc.class
- Abc
Testme.class
- test (or any other name)
After uploading the Servlet.txt file, send an email to [email protected]
regarding the upload.The property file will be updated by the NT
Server Admin.
What is an alias?
When you are calling a Servlet through an HTML Form/Query String
etc., you refer to it using its alias name, instead of the Class
file name. A property file is maintained at the server which actually
resolves the .class-alias name pairs.
In which directory do I upload the ".Class"
and "Servlet.txt" and how do I refer to them in HTML Forms/Query
Strings etc.?
Upload these files on the root directory of your site along with
other HTML files (i.e., www.yourdomain.com/). When you want to refer
to them in HTML use the following path:
http://www.yourdomain.com:8889/servlet/Abc
Ensure that you use the port number 8889 and the "/servlet". 8889
is the port where the Servlet Engine is listening for request and
"/servlet" virtually refers to the property file name which stores
the .class-alias name pairs. (this file will be updated by Net4India
based on the Servlet.txt submitted by you)
Why do I get an error "The page cannot be found"
in IE and "404 Not Found" in Netscape when I try to access a servlet
using HTTP protocol?
Either You have not uploaded the ".class" file pertaining to the
alias or no entry (or a wrong entry) has been made in the property
file corresponding to the ".class" file. Contact Net4India to fix
the problem.
Why do I sometimes get an error "The page cannot
be displayed when I try to access a Servlet using HTTP protocol?
There are a number of reasons, but the reason pertaining to Servlet
is usually that you have not given the port number 8889 in the URL
while calling the Servlet. Also see the errors
section for more details on errors.
|