cancel
Showing results for 
Search instead for 
Did you mean: 

The requested resource /Calculator/Calculator.jsp is not available

Former Member
0 Kudos

Hello,

I deployed CalculatorEar.ear after creating it as "Getting started" of Netweaver Developer Studio 2.0.9.

When i entered "http://localhost:50000/Calculator/Calculator.jsp", the following error is occurred.

404 Not Found

The requested resource /Calculator/Calculator.jsp is not available.

Details:File /usr/sap/JDV/DVEBMGS00/j2ee/cluster/server0/apps/sap.com/com.sap.engine.docs.examples/servlet_jsp/_default/root/Calculator/Calculator.jsp

Deployed Calculator.jsp path is /usr/sap/JDV/DVEBMGS00/j2ee/cluster/server0/apps/sap.com/CalculatorEar/servlet_jsp/Calculator/root.

I can't understand why it find incorrect path.

How could i correct the path..?

Please help...

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello,

in your Enterprise Application Project you had to assign the ContextRoot - have you done this?

(Doubleclick on application.xml, switch to tab Modules, choose your web archive and check the element context root).

It can also be an error in the coding of the jsp.

Regards

Andre

Former Member
0 Kudos

Hello Andre,

I confirmed the file as you said.

The context-root is already set as Calculator.

I also made and tested other Enterprise Application, logonbest.ear, in other method not by Netweaver Developer Studio. That operate well and find correct path i want to.

Maybe, as you said, an error in the coding of the jsp.

Anyway, thanks for your help. ^^

have a nice day~.

Former Member
0 Kudos

Maybe you can post the source code here?

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

From the path I can make out that the context root is set properly as "Calculator".

The only possibility I can think of is that there is some error in the JSP coding because of which the JSP is not getting compiled.

Regards,

Manish