Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!
  • 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Problem with JSP tags on OC4J Version 903......

 
Ranch Hand
Posts: 170
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello guys, i have deployed and run a chart rendering java web application successfully in Tomcat 4.0 ,
but after deploying on OC4J , i was able to get the first screen. But, on clicking on a link which forwards to a JSP(which renders a bar chart ,using custom tags ),i got the following error . Is this familiar ? Does it have anything to do with these jar files in ../j2ee/home/lib :
1.ojsp.jar
2.ojsputil.jar
OR
Was OC4J trying to use it's own tags if any.
NB: the tag usage in the JSP conforms to the tld.
2/20/03 6:42 PM cewolf: JspServlet: unable to dispatch to requested page:
oracle.jsp.parse.JspParseException: Line # 39, <cewolf:map
id="pageViews" />
Error: Attribute: id is not a valid attribute name
at
oracle.jsp.parse.OpenJspTagHandler.processAttributeValue(OpenJspTagHandler.j
ava:273)
at oracle.jsp.parse.JspParseTag.parse(JspParseTag.java:854)
at
oracle.jsp.parse.OpenJspTagHandler.parse(OpenJspTagHandler.java:592)
at oracle.jsp.parse.JspParseTag.parseNextTag(JspParseTag.java:661)
at oracle.jsp.parse.JspParseTag.parseBody(JspParseTag.java:768)
at
oracle.jsp.parse.OpenJspTagHandler.parseBody(OpenJspTagHandler.java:469)
at oracle.jsp.parse.JspParseTag.parse(JspParseTag.java:873)
at
oracle.jsp.parse.OpenJspTagHandler.parse(OpenJspTagHandler.java:592)
at oracle.jsp.parse.JspParseTag.parseNextTag(JspParseTag.java:661)
at oracle.jsp.parse.JspParseTagFile.parse(JspParseTagFile.java:172)
at
oracle.jsp.parse.JspParseTagDirective.parse(JspParseTagDirective.java:330)
at oracle.jsp.parse.JspParseTag.parseNextTag(JspParseTag.java:661)
at oracle.jsp.parse.JspParseTagFile.parse(JspParseTagFile.java:172)
at
oracle.jsp.parse.OracleJsp2Java.transform(OracleJsp2Java.java:118)
at
oracle.jsp.runtimev2.JspPageCompiler.attemptCompilePage(JspPageCompiler.java
:331)
at
oracle.jsp.runtimev2.JspPageCompiler.compilePage(JspPageCompiler.java:189)
at
oracle.jsp.runtimev2.JspPageInfo.compileAndLoad(JspPageInfo.java:361)
at
oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:483)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:257)
at
oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:423)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:346)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
at
com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispa
tcher.java:674)
at
com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletReq
uestDispatcher.java:276)
at
com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandle
r.java:736)
at
com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:244)
at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)
 
Author
Posts: 245
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i think this might have to do with spec compliance. I am pretty sure that you are not supposed to use id as an attribute because of something in the HTML spec that reserves the id attribute for another use. The struts list is always having discussions on why they dont use "id" on tags. It may even have to do with the jsp spec itself which reserves id as an attribute name. It may be that in this regard one or the other (tomcat or OC4J) is not meeting spec and the other is thus causing yuor problem.
 
I am going to test your electrical conductivity with this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic