Home » Developer & Programmer » JDeveloper, Java & XML » new to JDev and Struts - OracleJSP:java.io.FileNotFoundException
new to JDev and Struts - OracleJSP:java.io.FileNotFoundException [message #205154] Thu, 23 November 2006 09:26
martag
Messages: 1
Registered: November 2006
Junior Member
This must be a basic thing...
I'm new to JDeveloper and Struts. I've just started working on a project whose development is almost complete. I get this error when running the project through Debug:
-----------------------
404 Not Found

JSP Error:

Request URI:/ExtranetFrontOffice/ext_homepage_admin.jsp

Exception:
OracleJSP:java.io.FileNotFoundException: C:\Projects\CTT\Extranet_Downgrade\FrontOffice\public_html\ext_homepage_admin.jsp (The system cannot find the file specified.
)
-----------------------

This error didn't happen before; it started showing after a Rebuild I've done. I'm not sure if I've changed something inadvertedly.

I don't have the file mentioned in the error message:
"C:\Projects\CTT\Extranet_Downgrade\FrontOffice\public_html\ext_homepage_admin.jsp"
but I have the following:
"C:\Projects\CTT\Extranet_Downgrade\FrontOffice\public_html\WEB-INF\tiles\homepage\bodyHomepageAdmin.jsp"

This matches the configuration in the struts-config.xml:

  <action path="/ext_homepage" type="....">
      <forward name="success" path="/ext_homepage.jsp"/>
      <forward name="successComercial" path="/ext_homepage_comercial.jsp"/>
      <forward name="successAdmin" path="/ext_homepage_admin.jsp"/>
  </action>

and in the tiles-config.xml:

  <definition name="ext_homepage_admin" extends="TemplateBase">
    <put name="body" value="/WEB-INF/tiles/homepage/bodyHomepageAdmin.jsp"/>    
  </definition>

What could be wrong?

Previous Topic: Error in connection
Next Topic: Web Service /XML / JDeveloper Question
Goto Forum:
  


Current Time: Fri Nov 22 04:47:25 CST 2024