aspose file tools*
The moose likes Oracle/OAS and the fly likes Problem running jsp on Oracle Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Oracle/OAS
Bookmark "Problem running jsp on Oracle" Watch "Problem running jsp on Oracle" New topic
Author

Problem running jsp on Oracle

Alex Grig
Ranch Hand

Joined: Oct 19, 2001
Posts: 38
Hi,
Can anyone help me out.
When i run my application on Oracle8i(under Linux) the ERROR message appear for
any jsp files that contain the following lines:
<% String path = "mypath"; %>
<% request.setAttribute("PATH", path); %>

----------------error message-----------------
Request URI:/testproject/www/index.jsp
Exception:
oracle.jsp.provider.JspCompileException:
Errors compiling:c:\oracle\ora81
\apache\apache\htdocs\_pages\_testproject\_www\_index.java
c:\oracle\ora81
\apache\apache\htdocs\_pages\_testproject\_www\_index.java:54:
Method setAttribute(java.lang.String, java.lang.String) not
found in interface javax.servlet.http.HttpServletRequest.
request.setAttribute("PATH", path);
^
1 error
------------------------------------------
All this files run on JRun*.*, JBoss,
Tomcat*.*, ... well.
Thank in advance.
------------------
Alex J.Grig
[This message has been edited by Alex Grig (edited December 16, 2001).]


Alex J.Grig
 
 
subject: Problem running jsp on Oracle