Answer Posted / kunal sagar
first we con compile the java code throught javac compiler.
then,its .class file will be created that .class file copy
and paste the in the directory
c:/program files/apache/tomcat/webapps/servlet/web-inf
/classes.
then back one step backward
change the servlet code with ur file name
and also sevlet mapping code with ur file name
save that file
then open explorar
and type the local host address
| Is This Answer Correct ? | 18 Yes | 6 No |
Post New Answer View All Answers
What is cookie in servlet?
How can you use a servlet to generate a plain text instead of html?
What do you mean by the servlet chaining?
What is servlet in web technology?
What is the type of method for sending request from http server?
How can we upload the file to the server using servlet?
What are the different methods involved in generic servlet?
What is setattribute in servlet?
How can an existing session be invalidated?
Explain url encoding in servlet?
How do cookies work in servlets?
What are the uses of servlet and what is servlet chaining?
Explain servlet.
How do you deal property files in servlet?
Define the servlet mapping.