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
Write a servlet to upload file on server.
Is servlet a controller?
Explain servlet life cycle?
What is the use of attribute in servlets?
What is Request Dispatcher?
Which is better jsp or servlet?
What is session tracking?
How to generate the server side programming and the advantages of it over the other languages?
How the typical servlet code look like ?
What do you mean by httpservlet?
If servlet receives multiple requests, how many objects will it create?
Explain how to improve Servlet Performance?
Explain jsessionid?
What is the difference between the servlets and cgi programs?
Explain the difference between jsp and servlet?