cancel
Showing results for 
Search instead for 
Did you mean: 

How to access deployed J2EE Web application ?

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

See this Thread

/message/610344#610344 [original link is broken]

Kind Regards

Mukesh

Answers (0)