how can you give alias to servlets?
Answer / vikas
go to web.xml
in side sevlet-mapping tag define the url-pattern
| Is This Answer Correct ? | 2 Yes | 0 No |
What is servlet and its life cycle?
What are the phases of a servlet life cycle?
What is the protocol used by Server & Client?
Hello, My project requirement is like I need to create a web page using MVC pattern. I hava a bean class, jsp page, servlet, service and dao. My jsp has two fields. One is dropdown list. The option values has to get populated from the database table. The other one is a text box and its value has to come from database table. As of now I have defined the fields in bean class, got the values from database using arraylists in dao class and I called this from service class. Can anyone please tell me the workflow of how the servlet will get this arraylist and populate the arraylist values as dropdown options in jsp page? Also I would like to know the role of bean class in MVC pattern? Thanks in advance!
Difference between web container & web server........... Difference between web server & application server?????????
what is the difference b/w DispatchAction and LookUpDispatchAction?
1 Answers Deloitte, iGate, Tech Mahindra,
Which httpsession object is used to view and manipulate information about a session?
What is a servlet engine?
How threads are implemented in servlets?
When the methods init() and Distroy() will be called?
hi.... i have problem in running of servlet. i am using Tomcat server in my pc.. The problem is when i am click on strat it will display like below FAIL - Application at context path /first could not be started.. How i can slove the problem.. help plz
Write a command to get actual path of a servlet to the server?