cancel
Showing results for 
Search instead for 
Did you mean: 

HttpServlet on SAP J2EE Engine

Former Member
0 Kudos

Hi @ All,

If I've implmented a java http servlet, what should I do to make it running on SAP J2EE Engine 6.40? Do I have to create a web project in NWDS and then a EAR project first? And deploy it onto J2EE Engine?

Thanks and B'Rgds,

YiNing

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Never mind, I've found the answer, hehe.

<a href="http://help.sap.com/saphelp_nw04/helpdata/en/d7/24503e0fbfc04ae10000000a114084/frameset.htm">Web Application Develop</a>

Former Member
0 Kudos

Hi,

I have same issue. I have developed one servlet and deployed it on WAS.

Now I want to access servlet on Browser but I don;t know how to access like..what would be URL to access custom servlet.

Can you suggest me how to access it in browser?

Thanks

Lshriva

Former Member
0 Kudos

Hi.....all the deployed servlets or JSP's can be accessed directly using URL

Ex: http://servername:portnumber/deployed_app_name/servletname or JSP name

http://sdn.sap.com:59000/Test_Application/test.jsp

Through portal you can create URL iView's to access these deployed Java/J2EE modules or applications.

Former Member
0 Kudos

To determine the URL of your web app, you need three things: the server address, the context root of the application, and the servlet alias. Go the application.xml file in your ear and click on the 'Modules' tab. Select the applicable web module, and down at the bottom you'll find the 'Context Root'. This is the root of this web module. Make sure you've also specified an alias for your servlet, which is done in the web.xml file on the Mapping tab.

The URL would then be:

http://server:port/context-root/servlet-alias