File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes Problem with JSP tags on OC4J Version 903...... Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "Problem with JSP tags on OC4J Version 903......" Watch "Problem with JSP tags on OC4J Version 903......" New topic
Author

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

Gabriel Fox
Ranch Hand

Joined: Oct 17, 2001
Posts: 170
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
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>
 
IntelliJ Java IDE
 
subject: Problem with JSP tags on OC4J Version 903......
 
Threads others viewed
JSP Compile error
Redirect issue
Navigation not working
Problem with JSP tags on OC4J 903......
java.lang.NoClassDefFoundError: oracle/ide/util/ArrayResourceBundle
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com