cancel
Showing results for 
Search instead for 
Did you mean: 

EJB Application

Former Member
0 Kudos

Hi...

I am working out simple Calculator application (EJB).. i have taken this sample application from SDN.... In this application within the application.xml ...in the module tab...in the ContextRoot: i have specified /Calculator.. as given in the sample apllication... but while deploying the following error occurs..

<b>Incorrect request URL: /Calculator/Calculator.jsp

Details:</b> Use case sensitive URL and do not request a file outside the root directory of the server

can any one tell me.. what is the error...

Regards,

Arun.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

create the jsp file in project-->webcontent -->rightlcik new jsp.

you can access this jsp by using

http://urser:portnumber/Projectname/jspname.jsp

Regards,

Naga

Former Member
0 Kudos

Ya Naga...

i have done this already.. i have created a Calculator.jsp file within the webcontent of the Project ClaculatorWeb .. by giving this url.. http://localhost:50000/CalculatorWeb/Calculator.jsp

the following error occurs..

<b>The requested resource /CalculatorWeb/Calculator.jsp is not available

Details:</b> File [Calculator.jsp] not found in application root of alias [CalculatorWeb] of J2EE application [sap.com/calculatorEar].

can u rectify this....

Former Member
0 Kudos

Hi,

check ur web.xml

<web-app>
    <display-name>WEB APP</display-name>
    <description>WEB APP description</description>
    <servlet>
        <servlet-name>Calculator.jsp</servlet-name>
        <jsp-file>/Calculator.jsp</jsp-file>
    </servlet>
</web-app>

and also check , whether jsp is stored under web context dir in navigator view

Regards,

Naga

Message was edited by:

Naga Raju Meesala

Former Member
0 Kudos

Hi Naga...

i have specified all these correctly and everything is fine...even though the error occurs....

Former Member
0 Kudos

ya i also had d same problem with d URL.....its not there in the navigator.....

may b it has removed 4m there.....try with some other URL

Former Member
0 Kudos

chk out d web service navigator for d url

Former Member
0 Kudos

Hi...

This is the url i have given.... as specified in that sample application..

http://localhost:50000/Calculator/Calculator.jsp

even though the error occurs...