cancel
Showing results for 
Search instead for 
Did you mean: 

Testing J2EE application with WAS 6.4

Former Member
0 Kudos

Hello!

I'm developing a J2EE application with jsp pages. I created a J2EE web module, added it to an ear project and then deployed the ear to J2EE engine.

How should I access my application and the jsp in it?

I tried http://myserver:50000/Test2/test.jsp but I get this error message:

The requested resource /Test2/test.jsp is not available

Details: File C:\usr\sap\J2E\JC00\j2ee\cluster\server0\apps\sap.com\com.sap.engine.docs.examples\servlet_jsp\_default\root\Test2\test.jsp does not exist.

Is there a specific URL format to use to test my application?

I'm using the Sneak preview with portal I downloaded from the download section.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

In you application archive, double click on the application.xml file. Then change to the source tab.

There is a tag: <context-root>mycontextroot</context-root>

This is the root of the application. If you have not created any subdirectories for the jsp pages then your page should be under

http://myserver:50000/mycontextroot/test.jsp

Former Member
0 Kudos

Thank you Nathan for your usefull answer !

Answers (0)