aspose file tools*
The moose likes JSP and the fly likes need help  for JasperException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "need help  for JasperException" Watch "need help  for JasperException" New topic
Author

need help for JasperException

Mary Mai
Greenhorn

Joined: Apr 28, 2002
Posts: 6
Hi,
When I try to run the iteration.war examples from sun tag Library tutotial, http://java.sun.com/products/jsp/tutorial/TagLibraries15.html, the following problem occurs. Would some one can explain it?

Error: 500
Location: /iteration/list.jsp
Internal Servlet Error:
org.apache.jasper.JasperException: Unable to compile C:\jakarta-tomcat-3.3.1\work\DEFAULT\iteration\list_1.java:156: No variable apache defined in class Organization.
out.print(org.apache.jasper.runtime.JspRuntimeLibrary.toString(org.apache.jasper.runtime.JspRuntimeLibrary.handleGetProperty(pageContext.findAttribute("member"), "name")));
^
C:\jakarta-tomcat-3.3.1\work\DEFAULT\iteration\list_1.java:163: No variable apache defined in class Organization.
out.print(org.apache.jasper.runtime.JspRuntimeLibrary.toString(org.apache.jasper.runtime.JspRuntimeLibrary.handleGetProperty(pageContext.findAttribute("member"), "phone")));
^
C:\jakarta-tomcat-3.3.1\work\DEFAULT\iteration\list_1.java:170: No variable apache defined in class Organization.
out.print(org.apache.jasper.runtime.JspRuntimeLibrary.toString(org.apache.jasper.runtime.JspRuntimeLibrary.handleGetProperty(pageContext.findAttribute("member"), "email")));
^
3 errors
at org.apache.tomcat.facade.JasperLiaison.javac(JspInterceptor.java:898)
at org.apache.tomcat.facade.JasperLiaison.processJspFile(JspInterceptor.java:733)
at org.apache.tomcat.facade.JspInterceptor.requestMap(JspInterceptor.java:506)
at org.apache.tomcat.core.ContextManager.processRequest(ContextManager.java:968)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:875)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.java:176)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:516)
at java.lang.Thread.run(Thread.java:484)
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040
When I try to run the iteration.war examples from sun tag Library tutotial, http://java.sun.com/products/jsp/tutorial/TagLibraries15.html, the following problem occurs. Would some one can explain it?
The URL you gave here gives a 404, Page Not Found, error.
I would verify which version of Tomcat is needed for this tutorial. Esp. since Tag libs has changed quite a bit.
Secondly, do the JSP examples run corectly on your Tomcat installation?
regds.
- madhav


Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81
Mary Mai
Greenhorn

Joined: Apr 28, 2002
Posts: 6
Hi madhav,
Thank you for your replay. The URL should be
http://java.sun.com/products/jsp/tutorial/TagLibraries15.html
It dosn't say anything about server reqirement in the tutorial. Since there is a mention about Tomcat 3.2, so I guess Tomcat 3.3.1 will be fine. Is that true?
Secondly, I run another example called template.war from same tutorial and it works.Is that you mean "run corectly on your Tomcat installation"? Thanks.
Mary
 
jQuery in Action, 2nd edition
 
subject: need help for JasperException