-----Original Message-----
From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Charles Williams
Sent: Thursday, December 13, 2001 2:44 PM
To: [EMAIL PROTECTED]
Subject: Oracle's jDeveloperFor anyone doing Java, jdbc and jsp work in this environment:
I'm trying to avoid all the fancy menu choices in jDeveloper and simply write a DBConn.java file and untitled.jsp file.
My jsp file says
<% DBConn dbcon = new DBConn();
out.println(dbcon.egStatement());%>And my DBConn.java file says:
DriverManager.registerDriver (new oracle.jdbc.driver.OracleDriver() );
con = DriverManager.getConnection("xxx:1521:zzz", "id", "pw");(among other things)
But then I compile and run (using jDeveloper), it errors:
"JSP Files must reside in the HTML root directory"I know the error message is pretty straight forward.
What I don't know is why JSP files "MUST" reside there and if that setting can be changed somewhere.
tia
[EMAIL PROTECTED]
Title: Oracle's jDeveloper
It's
not just Oracle
Any
modern tool would give you simmilar error. It all comes down to dirrectory
structure that basicaly looks at two things: 1. Document root (html, jsp, etc..)
and classpath (java classes, java beans, jar files etc...)
I
would say it would be very difficult for us, the developers if that structure
wouldn't be in place
Alex
- Oracle's jDeveloper Charles Williams
- Oleg Zhurakouksy
