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
Answer Posted / aashish r. wadhokar
it can happen when your project is build with errors and
.war file of ur project is not loaded to webapps folder of
tomcat server.
check properly.
when resource not found (error 404)found it means ur web.xml
is not configured properly.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the difference between servlet and filter?
What does the term localization refer to?
What is getservletcontext?
Is it good idea to create servlet constructor?
Explains the differences between context.getrequestdispatcher() and request.getrequestdispatcher()?
What is servlet in tomcat?
What is the difference between using getSession(true) and getSession(false) methods?
Why is it that we can't give relative URL's when using ServletContext.getRequestDispatcher() when we can use the same while calling ServletRequest.getRequestDispatcher()?
Can we use threads in Servlets?
Explain in brief the directory structure of a web application?
Explain the role of dispatcherservlet and contextloaderlistener.
What are the phases of servlet life cycle?
How is a servlet implemented in code?
What is the difference between get and post methods?
How can the session in servlet can be destroyed?