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)
chanoch wiggers
Author
Ranch Hand
Joined: May 24, 2001
Posts: 245
posted
0
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.
chanoch<p><a href="http://www.amazon.com/exec/obidos/ASIN/1861007736/" target="_blank" rel="nofollow">Author of Professional Apache Tomcat</a>
subject: Problem with JSP tags on OC4J Version 903......