ok.... the jsp is failing due to a class not found error... "org.apache.jsp.MessageInfo not found."
i've scanned through the ListMessagesTag, which creates an instance of MessageInfo, but i've moved both classes to the package "javamail.tags." the generated JSP [nor the taglib class] does not import "javamail.tags.*" if i add an import of "javamail.tags.*" to the JSP it works, but that really breaks encapsulation. shouldn't the fact that both classes [ListMessageTag and MessageInfo] are in the same package prevent the taglib class' need to import it's helper class? i'm confused :) ~scott Scott Ahten wrote: > for some reason, it's trying to find the classes in the jsp namespace, > which is 'org.apache.jsp.' > > i'm having the same problems with the tag libs that come with the > javamail webapp from sun's site. i've tried changing the location of > the jar file from the webaps' libs folder to the common lib folder, > and even unzped the jar file, put the the tag lib classes and their > helper classes in a package, recompiled them, copied them to the > webapp's classes folder and updated the tld file, but this doesn't > seem to help either. > > does anyone have any sugestions? > > thanks in advance, > > ~scott > > Sivaji Adurthy wrote: > >> Hi All >> >> I had recently installed tomcat 4.0 trying to run taglibs , >> >> I downloaded the sample application in sun's site iteration >> >> in d:\apcache tomact 4.0\webapps\iteration directory >> >> extracated in using jar xvf iteration.war >> >> I see the directory and file on d:\apcache tomact 4.0\webapps\iteration >> >> directories : meta-inf, web-inf >> files : index.jsp and list.jsp >> >> I add this line to d:\tomcat4.0\conf\server.xml >> >> <Context path="/iteration" docBase="/iteration" debug="0" >> reloadable="true" >> /> >> >> and restart the server >> I get following error I dont understand why it points to >> org.apache.jsp.organisation >> >> type Exception report >> >> message Internal Server Error >> >> description The server encountered an internal error (Internal Server >> Error) >> that prevented it from fulfilling this request. >> >> exception >> >> org.apache.jasper.JasperException: Unable to compile class for JSP >> >> An error occurred at line: 11 in the jsp file: /index.jsp >> >> Generated servlet error: >> D:\Apache Tomcat 4.0\work\localhost\iteration\index$jsp.java:64: Class >> org.apache.jsp.Organization not found. >> Organization org = null; >> ^ >> >> >> An error occurred at line: 11 in the jsp file: /index.jsp >> >> Generated servlet error: >> D:\Apache Tomcat 4.0\work\localhost\iteration\index$jsp.java:67: Class >> org.apache.jsp.Organization not found. >> org= (Organization) >> ^ >> >> >> An error occurred at line: 11 in the jsp file: /index.jsp >> >> Generated servlet error: >> D:\Apache Tomcat 4.0\work\localhost\iteration\index$jsp.java:72: Class >> org.apache.jsp.Organization not found. >> org = (Organization) >> java.beans.Beans.instantiate(this.getClass().getClassLoader(), >> "Organization"); >> ^ >> >> >> An error occurred at line: 16 in the jsp file: /index.jsp >> >> Generated servlet error: >> D:\Apache Tomcat 4.0\work\localhost\iteration\index$jsp.java:92: Class >> org.apache.jsp.IterationTag not found. >> IterationTag _jspx_th_tlt_iteration_0 = new >> IterationTag(); >> ^ >> >> >> An error occurred at line: 16 in the jsp file: /index.jsp >> >> Generated servlet error: >> D:\Apache Tomcat 4.0\work\localhost\iteration\index$jsp.java:92: Class >> org.apache.jsp.IterationTag not found. >> IterationTag _jspx_th_tlt_iteration_0 = new >> IterationTag(); >> ^ >> 5 errors >> >> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:284) >> at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:546) >> at >> org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe >> >> rvlet.java:177) >> at >> org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja >> >> va:189) >> at >> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382) >> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) >> at >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application >> >> FilterChain.java:247) >> at >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh >> >> ain.java:193) >> at >> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja >> >> va:243) >> at >> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 >> >> 66) >> at >> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) >> >> at >> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) >> at >> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja >> >> va:201) >> at >> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 >> >> 66) >> at >> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) >> >> at >> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) >> at >> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344) >> >> at >> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164 >> >> ) >> at >> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 >> >> 66) >> at >> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. >> >> java:170) >> at >> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 >> >> 64) >> at >> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170 >> >> ) >> at >> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 >> >> 64) >> at >> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462) >> >> at >> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 >> >> 64) >> at >> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) >> >> at >> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) >> at >> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java >> >> :163) >> at >> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 >> >> 66) >> at >> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) >> >> at >> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) >> at >> org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java: >> >> 1011) >> at >> org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106 >> >> ) >> at java.lang.Thread.run(Unknown Source) >> >> >> >> -- >> To unsubscribe: <mailto:[EMAIL PROTECTED]> >> For additional commands: <mailto:[EMAIL PROTECTED]> >> Troubles with the list: <mailto:[EMAIL PROTECTED]> >> >> >> >> > > > > > > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > For additional commands: <mailto:[EMAIL PROTECTED]> > Troubles with the list: <mailto:[EMAIL PROTECTED]> > > > > -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>