cancel
Showing results for 
Search instead for 
Did you mean: 

Created & deployed J2EE application. Now how to access?

Former Member
0 Kudos

I created and deployed application to WAS using netweaver developer studio. do you know how I can access/view the J2EE application through the browser??

Accepted Solutions (1)

Accepted Solutions (1)

Vlado
Advisor
Advisor
0 Kudos

Hi Diwakar,

Just enter the URL in the browser:

http://<host>:<port>/<context-root>;

where

<host> is the name of your host,

<port> is the http port of your server (by default 50000),

<context-root> is the alias you have given to your web application in the application.xml.

You can also have a look <a href="http://help.sap.com/saphelp_nw04/helpdata/en/5c/a3400ed0c6411bbaa5506cce1dbfc9/frameset.htm">here</a> and around.

Hope that helps,

Vladimir

Former Member
0 Kudos

application.xml contains:

<application>

<display-name>SSSSybProjectEnt</display-name>

<description>EAR description</description>

<module>

<web>

<web-uri>SSSSybProject.war</web-uri>

<context-root>SSSSyb</context-root>

</web>

</module>

</application>

And web.xml contains:

<web-app>

<display-name>WEB APP</display-name>

<description>WEB APP description</description>

<servlet>

<servlet-name>GetData</servlet-name>

<servlet-class>com.sss.GetData</servlet-class>

</servlet>

<resource-ref>

<res-ref-name>eis/SDK_J3SD008</res-ref-name>

<res-type>javax.resource.cci.ConnectionFactory</res-type>

<res-auth>Container</res-auth>

</resource-ref>

</web-app>

When I try to access GetData servlet using following URLs it does not work. Any ideas why please????

http://hostname:50900/SSSSyb/com.sss.GetData

http://hostname:50900/SSSSyb/GetData

http://hostname:50900/SSSSyb/com/sss/GetData

Vlado
Advisor
Advisor
0 Kudos

Hi Diwakar,

You should use http://hostname:50900/SSSSyb/servlet/GetData or define servlet mapping in the web.xml and use that in the URL.

Best regards,

Vladimir

PS. Please consider rewarding points for helpful answers.

Answers (0)