S
Scott D. Barrish
Fellow Developers,
I have this test page to demonstrate JDBC connectivity with Oracle 9i in a
simple JSP page. When I have the page run in the docROOT of the web
application, it works just fine by producing the correct output. However,
when I place it in one directory in from the docROOT in a folder named JSP
('cause I want to keepall my jsp pages in a single location) the page breaks
giving my a FileNotFoundIO exception by the Jasper compiler. I've tried
changing the URL-Mapping of the servlet in the web.xml file as well as the
URL in the jsp page when I call the servlet with the exact same results. I
may just be typing in the worn URL and have not figured out the correct way.
Directory/File Map is below:
<BLG>
-----<Home>
----------<WEB-INF>
---------------web.xml
---------------<Classes>
--------------------JDBC_Test.class
---------------<Lib>
--------------------ojdbc14.jar
----------<JSP>
---------------JDBC_Test.jsp
----------index.jsp
Any help is much appreciated.
Sincerely,
Scott D. Barrish
I have this test page to demonstrate JDBC connectivity with Oracle 9i in a
simple JSP page. When I have the page run in the docROOT of the web
application, it works just fine by producing the correct output. However,
when I place it in one directory in from the docROOT in a folder named JSP
('cause I want to keepall my jsp pages in a single location) the page breaks
giving my a FileNotFoundIO exception by the Jasper compiler. I've tried
changing the URL-Mapping of the servlet in the web.xml file as well as the
URL in the jsp page when I call the servlet with the exact same results. I
may just be typing in the worn URL and have not figured out the correct way.
Directory/File Map is below:
<BLG>
-----<Home>
----------<WEB-INF>
---------------web.xml
---------------<Classes>
--------------------JDBC_Test.class
---------------<Lib>
--------------------ojdbc14.jar
----------<JSP>
---------------JDBC_Test.jsp
----------index.jsp
Any help is much appreciated.
Sincerely,
Scott D. Barrish