cancel
Showing results for 
Search instead for 
Did you mean: 

URL to Enterprise Application

Former Member
0 Kudos

HI,

I deployed Enterprise Application (.EAR file) into AS JAVA, How can i get the URL of my Enterprise Application.

Because i want to call (send request to a jsp page/html page) jsp page from the browser.

I tried the following format

http://<Host name>:<port >/<webmoduleName>/<jsp page name/html page name>

But i could not reach, it showing following Message

The requested resource /MyWebModule/Welcome.jsp is not available

But my application contain the Welcome.jsp file, i think i might have given wrong url.

Any Suggestion please

Regards

samba

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

thank you all to respong.

former_member185706
Participant
0 Kudos

Hi Samba,

you can find the right context in application.xml file in your ear i.e.the value of web moudle tag named <context-root>

For example if your application.xml look like this :

<application>

<display-name>my app</display-name>

<description>My Examples</description>

<module>

<web>

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

<context-root>test</context-root>

</web>

</module>

</application>

the URL to the Welcome.jsp in your application should be :

http://host:port/test/Welcome.jsp

Best Regards

Bojidar

Former Member
0 Kudos

Hello,

I posted a similar question [here|;. Maybe you can construct your URL by looking at my "working url" there. If not, you can login at the NetWeaver Administration under

http://yourserver/nwa

and look there under

Configuration Management > Infrastructure > Application Modules

and then search there for a term that is contained in your projects name. Then you find the name of the module, which is part of the URL (like in my example).