on 10-06-2006 4:48 AM
Hi,
I am new to J2EE Web Application. I have created a Web Module project and in that I have created a servlet. I did a build for WAR file. I have created an Enterprise Application Project and included this WAR file. I built the EAP and deployed it to J2EE engine. I am successful till here.
I am not sure how to access this deployed application and thus this servlet.
I tried to access the following way :
http://<hostname>:<portnumber>/<EAPName>/<ServletName>;
However, I receive the error no such location.
In the web.xml file, in the servlet-mapping section, I have mentioned the servletname and urlpattern.
I have mentioned the urlpattern as MyServlet and not /MyServlet. Notice the 'backslash'.
Could this be an issue ?
Regards,
Subramanian V.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.