Answer Posted / vikas
go to web.xml
in side sevlet-mapping tag define the url-pattern
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What are sessions in servlets?
What is servlet? Explain
What are the phases of a servlet life cycle?
Explain mvc pattern.
How to upload a file to the server using servlet?
What's the difference between authentication and authorization?
Name the packages that work with servlet?
Why do we need a constructor in a servlet if we use the init method?
What is difference between jsp and servlet?
What do you mean by httpservlet and how it is different from the genericservlet?
What is a java servlet?
Explains the differences between context.getrequestdispatcher() and request.getrequestdispatcher()?
What is load-on-startup in servlet?
Explain the difference between servlet and cgi?
What is the life cycle of a servlet?