Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Problem running jsp on Oracle

 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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).]
 
reply
    Bookmark Topic Watch Topic
  • New Topic