cancel
Showing results for 
Search instead for 
Did you mean: 

404 Not Found

Former Member
0 Kudos

Hi all,

I'm executing my J2ee application using the follow address:

http://lipots01:50000/databasetabaccai/view

where <i>databasetabaccai</i> is written in the EAR project: application.xml->Modules->project.war->Context Root

and <i>/view</i> is in the war project: web.xml-> Mapping-> Servlet Mapping-> name.jsp

I deployed correctly the EAR, but I have the follow error when I try to call the application using http://lipots01:50000/databasetabaccai/view :

404 Not Found

SAP J2EE Engine/6.40

The request cannot be processed.

Details: com.sap.engine.services.servlets_jsp.server.exceptions.ServletNotFoundException: Requested resource [databasetabaccai/servlet/DatabaseTabaccai.jsp] not found.

Exception id: [000F202B550F00660000000300005C9E00041488D79D338C]

Could you, pls, help me?

Thanks,

Vito

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Add the following in the web.xml file.

<servlet>

<servlet-name>name.jsp</servlet-name>

<jsp-file>/view</jsp-file>

</servlet>

Regards,

uma

Former Member
0 Kudos

I deleted the /view and put a "/" before databasetabaccai.

Now it is working!!

Thanks to all.

Former Member
0 Kudos

I'm having a similar problem.

My app writes .PDF files to a reports folder deep in the project directory tree.

From another PC, a client tries to access the PDF via the following url...

http://192.168.0.90:50100/reports/Delta_PL_Summary_Report1176935140590.pdf

And i get..

404 Not Found

SAP J2EE Engine/7.00

The requested resource does not exist.

Details: Go to main page of this application!

What entry would i add to web.xml?

Thanks in advance.

prashil
Advisor
Advisor
0 Kudos

Hi Neha,

Where ur PDF exactly resides??

You can either map the web.xml to that particular location or directly give the location of the PDF relative to your web container.

Let me know your folder structure.

Regards,

Prashil

Former Member
0 Kudos

Your error log states that

<b>DatabaseTabaccai.jsp</b>

not found in path

<b>databasetabaccai/servlet/</b>

Have you specified any mapping for this JSP anywhere in any configuration files or may be your index page configured for /view has this JSP as an include?