RE: new problem - fixed one, now I've got another
Is struts.jar in in WEB-INF\lib? (you answered all of Maya's questions except that one) Wayne [EMAIL PROTECTED] -Original Message- From: Jesse Vitrone [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 15, 2001 7:11 AM To: '[EMAIL PROTECTED]' Subject: RE: new problem - fixed one, now I've got another Ana - here's the soruce of the jsp that's getting the errors. Anything look wrong? %@ page language="java" % %@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" % %@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" % %@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" % html:html locale="true" head title bean:message key="generic.title"/ /title html:base/ /head logic:notPresent name="org.apache.struts.action.MESSAGE" scope="application" font color="red" ERROR: Application resources not loaded -- check servlet container logs for error messages. /font /logic:notPresent body bgcolor="white" h2centerbean:message key="index.welcome"//center/h2 blockquote html:form action="/checkPrice" focus="isbn"/ bean:message key="index.prompt"/ html:text property="isbn" size="10" maxlength="10"/ html:submit property="submit" value="Get Price"/ /html:form /blockquote /html:html Thanks in advance, Jesse -Original Message- From: Jesse Vitrone [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 14, 2001 5:25 PM To: '[EMAIL PROTECTED]' Subject: RE: new problem - fixed one, now I've got another OK, those are the 2 that I renamed, so I guess that's not my problem. Thanks for you help, I'll keep pluggin' away. Jesse -Original Message- From: Maya Muchnik [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 14, 2001 5:25 PM To: [EMAIL PROTECTED] Subject: Re: new problem - fixed one, now I've got another Yes, you can replace the 2 names (in red color): !-- Action Servlet Configuration -- servlet servlet-nameaction/servlet-name servlet-classorg.apache.struts.action.ActionServlet/servlet-class init-param param-nameapplication/param-name param-valueorg.apache.struts.example.ApplicationResources/param-value /init-param init-param param-nameconfig/param-name param-value/WEB-INF/struts-config.xml/param-value Jesse Vitrone wrote: That's exacly the setup that I have :)*.tld and my web and config xml files are in my_app/WEB-INFand my 2 jsp's are under my_app/http://localhost/my_app/index.jsp is what's giving me that error.I have Apache with Tomcat, so the :8080 isn't needed.Any other ideas? The config xml and resource properties file can be named what ever I want, right? As long as I refer to them with the right name in my web.xml?Thanks again,Jesse -Original Message- From: Maya Muchnik [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 14, 2001 5:00 PM To: [EMAIL PROTECTED] Subject: Re: new problem - fixed one, now I've got another Check a location of all struts-*tld files. They have to be under your_app/WEB-INF (check with your web.xml). struts.jar file has to be under your_app/WEB-INF/lib. Put your first.jsp file under your_app directory and try http://localhost:8080/your_app/first.jsp Jesse Vitrone wrote: Good idea, but it didn't help, I still got the same directory.Thanks anyway, Jesse -Original Message- From: Maya Muchnik [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 14, 2001 3:43 PM To: [EMAIL PROTECTED] Subject: Re: new problem - fixed one, now I've got another Try to stop Tomcat. Remove everything under tomcat/work directory and startup Tomcat again. Jesse Vitrone wrote: OK, I fixed the other properties file problem, it turned out that I had a syntax error in my web.xml and I didn't see Tomcat barf when it loaded. Now that I've fixed that, and Tomcat doesn't give any error when it starts, I get this error when I try to load my first page. javax.servlet.ServletException: Cannot find bean org.apache.struts.taglib.html.BEAN in scope null at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp l.java:459) at _0002findex_0002ejspindex_jsp_1._jspService(_0002findex_0002ejspindex_jsp_1. java:315) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja va:177) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404) at org.apache.tomcat.core.Handler.service(Handler.java:286) at org.apac
RE: new problem - fixed one, now I've got another
Title: RE: new problem - fixed one, now I've got another Yes, my struts.jar is in my WEB-INF\lib dir. Thanks though, Jesse -Original Message- From: Young, Wayne [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 15, 2001 8:26 AM To: '[EMAIL PROTECTED]' Subject: RE: new problem - fixed one, now I've got another Is struts.jar in in WEB-INF\lib? (you answered all of Maya's questions except that one) Wayne [EMAIL PROTECTED] -Original Message- From: Jesse Vitrone [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 15, 2001 7:11 AM To: '[EMAIL PROTECTED]' Subject: RE: new problem - fixed one, now I've got another Ana - here's the soruce of the jsp that's getting the errors. Anything look wrong? %@ page language=java % %@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean % %@ taglib uri=/WEB-INF/struts-html.tld prefix=html % %@ taglib uri=/WEB-INF/struts-logic.tld prefix=logic % html:html locale=true head title bean:message key=generic.title/ /title html:base/ /head logic:notPresent name=org.apache.struts.action.MESSAGE scope=application font color=red ERROR: Application resources not loaded -- check servlet container logs for error messages. /font /logic:notPresent body bgcolor=white h2centerbean:message key=index.welcome//center/h2 blockquote html:form action=/checkPrice focus=isbn/ bean:message key=index.prompt/ html:text property=isbn size=10 maxlength=10/ html:submit property=submit value=Get Price/ /html:form /blockquote /html:html Thanks in advance, Jesse -Original Message- From: Jesse Vitrone [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 14, 2001 5:25 PM To: '[EMAIL PROTECTED]' Subject: RE: new problem - fixed one, now I've got another OK, those are the 2 that I renamed, so I guess that's not my problem. Thanks for you help, I'll keep pluggin' away. Jesse -Original Message- From: Maya Muchnik [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 14, 2001 5:25 PM To: [EMAIL PROTECTED] Subject: Re: new problem - fixed one, now I've got another Yes, you can replace the 2 names (in red color): !-- Action Servlet Configuration -- servlet servlet-nameaction/servlet-name servlet-classorg.apache.struts.action.ActionServlet/servlet-class init-param param-nameapplication/param-name param-valueorg.apache.struts.example.ApplicationResources/param-value /init-param init-param param-nameconfig/param-name param-value/WEB-INF/struts-config.xml/param-value Jesse Vitrone wrote: That's exacly the setup that I have :)*.tld and my web and config xml files are in my_app/WEB-INFand my 2 jsp's are under my_app/http://localhost/my_app/index.jsp is what's giving me that error.I have Apache with Tomcat, so the :8080 isn't needed.Any other ideas? The config xml and resource properties file can be named what ever I want, right? As long as I refer to them with the right name in my web.xml?Thanks again, Jesse -Original Message- From: Maya Muchnik [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 14, 2001 5:00 PM To: [EMAIL PROTECTED] Subject: Re: new problem - fixed one, now I've got another Check a location of all struts-*tld files. They have to be under your_app/WEB-INF (check with your web.xml). struts.jar file has to be under your_app/WEB-INF/lib. Put your first.jsp file under your_app directory and try http://localhost:8080/your_app/first.jsp Jesse Vitrone wrote: Good idea, but it didn't help, I still got the same directory.Thanks anyway, Jesse -Original Message- From: Maya Muchnik [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 14, 2001 3:43 PM To: [EMAIL PROTECTED] Subject: Re: new problem - fixed one, now I've got another Try to stop Tomcat. Remove everything under tomcat/work directory and startup Tomcat again. Jesse Vitrone wrote: OK, I fixed the other properties file problem, it turned out that I had a syntax error in my web.xml and I didn't see Tomcat barf when it loaded. Now that I've fixed that, and Tomcat doesn't give any error when it starts, I get this error when I try to load my first page. javax.servlet.ServletException: Cannot find bean org.apache.struts.taglib.html.BEAN in scope null at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp l.java:459) at _0002findex_0002ejspindex_jsp_1._jspService(_0002findex_0002ejspindex_jsp_1. java:315) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja va:177) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404) at org.apache.tomcat.core.Handler.service(Handler.java:286
RE: new problem - fixed one, now I've got another
Title: RE: new problem - fixed one, now I've got another The error says this: javax.servlet.ServletException: Cannot find bean org.apache.struts.taglib.html.BEAN in scope null Wouldn't that imply that there should be a BEAN class in my struts.jar? If not, where is it trying to find it? Thanks again, Jesse -Original Message-From: Jesse Vitrone [mailto:[EMAIL PROTECTED]]Sent: Thursday, March 15, 2001 8:30 AMTo: '[EMAIL PROTECTED]'Cc: '[EMAIL PROTECTED]'Subject: RE: new problem - fixed one, now I've got another Yes, my struts.jar is in my WEB-INF\lib dir. Thanks though, Jesse -Original Message- From: Young, Wayne [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 15, 2001 8:26 AM To: '[EMAIL PROTECTED]' Subject: RE: new problem - fixed one, now I've got another Is struts.jar in in WEB-INF\lib? (you answered all of Maya's questions except that one) Wayne [EMAIL PROTECTED] -Original Message- From: Jesse Vitrone [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 15, 2001 7:11 AM To: '[EMAIL PROTECTED]' Subject: RE: new problem - fixed one, now I've got another Ana - here's the soruce of the jsp that's getting the errors. Anything look wrong? %@ page language="java" % %@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" % %@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" % %@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" % html:html locale="true" head title bean:message key="generic.title"/ /title html:base/ /head logic:notPresent name="org.apache.struts.action.MESSAGE" scope="application" font color="red" ERROR: Application resources not loaded -- check servlet container logs for error messages. /font /logic:notPresent body bgcolor="white" h2centerbean:message key="index.welcome"//center/h2 blockquote html:form action="/checkPrice" focus="isbn"/ bean:message key="index.prompt"/ html:text property="isbn" size="10" maxlength="10"/ html:submit property="submit" value="Get Price"/ /html:form /blockquote /html:html Thanks in advance, Jesse -Original Message- From: Jesse Vitrone [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 14, 2001 5:25 PM To: '[EMAIL PROTECTED]' Subject: RE: new problem - fixed one, now I've got another OK, those are the 2 that I renamed, so I guess that's not my problem. Thanks for you help, I'll keep pluggin' away. Jesse -Original Message- From: Maya Muchnik [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 14, 2001 5:25 PM To: [EMAIL PROTECTED] Subject: Re: new problem - fixed one, now I've got another Yes, you can replace the 2 names (in red color): !-- Action Servlet Configuration -- servlet servlet-nameaction/servlet-name servlet-classorg.apache.struts.action.ActionServlet/servlet-class init-param param-nameapplication/param-name param-valueorg.apache.struts.example.ApplicationResources/param-value /init-param init-param param-nameconfig/param-name param-value/WEB-INF/struts-config.xml/param-value Jesse Vitrone wrote: That's exacly the setup that I have :)*.tld and my web and config xml files are in my_app/WEB-INFand my 2 jsp's are under my_app/http://localhost/my_app/index.jsp is what's giving me that error.I have Apache with Tomcat, so the :8080 isn't needed.Any other ideas? The config xml and resource properties file can be named what ever I want, right? As long as I refer to them with the right name in my web.xml?Thanks again, Jesse -Original Message- From: Maya Muchnik [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 14, 2001 5:00 PM To: [EMAIL PROTECTED] Subject: Re: new problem - fixed one, now I've got another Check a location of all struts-*tld files. They have to be under your_app/WEB-INF (check with your web.xml). struts.jar file has to be under your_app/WEB-INF/lib. Put your first.jsp file under your_app directory and try http://localhost:8080/your_app/first.jsp Jesse Vitrone wrote: Good idea, but it didn't help, I still got the same directory.Thanks anyway, Jesse -Original Message- From: Maya Muchnik [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 14, 2001 3:43 PM To: [EMAIL PROTECTED] Subject: Re: new problem - fixed one, now I've got another Try to stop Tomcat. Remove everything under tomcat/work directory and startup Tomcat again. Jesse Vitrone wrote: OK, I fixed the other properties file problem, it turned out that I had a syntax error in my web.xml and I didn't see Tomcat barf when it loaded. Now that I've fixed that, and Tomcat doesn't give any error when it star
RE: new problem - fixed one, now I've got another
Maya, oooh - good eye, but it didn't help :( Thanks again, Jesse -Original Message-From: Maya Muchnik [mailto:[EMAIL PROTECTED]]Sent: Thursday, March 15, 2001 8:41 AMTo: [EMAIL PROTECTED]Subject: Re: new problem - fixed one, now I've got anotherTry insert one line (see below in red). I am not sure that it will help. Jesse Vitrone wrote: Ana - here's the soruce of the jsp that's getting the errors. Anything look wrong?%@ page language="java" % %@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" % %@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" % %@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %html:html locale="true" head title bean:message key="generic.title"/ /title html:base/ /headlogic:notPresent name="org.apache.struts.action.MESSAGE" scope="application" font color="red" ERROR: Application resources not loaded -- check servlet container logs for error messages. /font /logic:notPresentbody bgcolor="white" h2centerbean:message key="index.welcome"//center/h2blockquote html:form action="/checkPrice" focus="isbn"/ bean:message key="index.prompt"/ html:text property="isbn" size="10" maxlength="10"/ html:submit property="submit" value="Get Price"/ /html:form /blockquote/body/html:htmlThanks in advance, Jesse -Original Message- From: Jesse Vitrone [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 14, 2001 5:25 PM To: '[EMAIL PROTECTED]' Subject: RE: new problem - fixed one, now I've got another OK, those are the 2 that I renamed, so I guess that's not my problem.Thanks for you help, I'll keep pluggin' away.Jesse -----Original Message- From: Maya Muchnik [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 14, 2001 5:25 PM To: [EMAIL PROTECTED] Subject: Re: new problem - fixed one, now I've got another Yes, you can replace the 2 names (in red color): !-- Action Servlet Configuration -- servlet servlet-nameaction/servlet-name servlet-classorg.apache.struts.action.ActionServlet/servlet-class init-param param-nameapplication/param-name param-valueorg.apache.struts.example.ApplicationResources/param-value /init-param init-param param-nameconfig/param-name param-value/WEB-INF/struts-config.xml/param-value Jesse Vitrone wrote: That's exacly the setup that I have :)*.tld and my web and config xml files are in my_app/WEB-INFand my 2 jsp's are under my_app/http://localhost/my_app/index.jsp is what's giving me that error.I have Apache with Tomcat, so the :8080 isn't needed.Any other ideas?The config xml and resource properties file can be named what ever I want, right? As long as I refer to them with the right name in my web.xml?Thanks again, Jesse -Original Message- From: Maya Muchnik [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 14, 2001 5:00 PM To: [EMAIL PROTECTED] Subject: Re: new problem - fixed one, now I've got anotherCheck a location of all struts-*tld files. They have to be under your_app/WEB-INF (check with your web.xml). struts.jar file has to be under your_app/WEB-INF/lib. Put your first.jsp file under your_app directory and try http://localhost:8080/your_app/first.jsp Jesse Vitrone wrote: Good idea, but it didn't help, I still got the same directory.Thanks anyway, Jesse -Original Message- From: Maya Muchnik [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 14, 2001 3:43 PM To: [EMAIL PROTECTED] Subject: Re: new problem - fixed one, now I've got anotherTry to stop Tomcat. Remove everything under tomcat/work directory and startup Tomcat again. Jesse Vitrone wrote: OK, I fixed the other properties file problem, it turned out that I had a syntax error in my web.xml and I didn't see Tomcat barf when it loaded. Now that I've fixed that, and Tomcat doesn't give any error when it starts, I get this error when I try to load my first page. javax.servlet.ServletExc
RE: new problem - fixed one, now I've got another
Maya, Here's my classpath. CLASSPATH=C:\IBMDebug\lib\dertrjrt.jar;C:\IBMVJava\eab\runtime30;C:\IBMVJava\eab\runtime20;.;C:\SQLLIB\java\db2java.zip;C:\SQLLIB\java\runtime.zip;C:\SQLLIB\java\sqlj.zip;.;.;C:\Xerces\xerces.jar;C:\Xalan\xalan.jar;C:\Xerces\xercesSamples.jar;C:\ApacheGroup\ApacheSOAP\lib\soap.jar;C:\ApacheGroup\ApacheSOAP\samples.jar;z:\unix_dobson\3rdparty\lib;z:\unix_dobson\gbapps;z:\unix_dobson\gbservlets;C:\Jars\servlet.jar;Z:\unix_dobson\gbapps\com\giantbear\soap;Z:\unix_dobson\gbapps\com\giantbear\soap\samples;Z:\unix_dobson\gbapps\com\giantbear\soap\test;c:\JavaMail\mail.jar;c:\JAF\activation.jar;C:\JDBC\jdbc2_0-stdext.jar;C:\ApacheGroup\Ant\lib\ant.jar;C:\ApacheGroup\Ant\lib\jaxp.jar;C:\ApacheGroup\Ant\lib\parser.jar CP is used along with CLASSPATH when I compile. CP=C:\ApacheGroup\Tomcat\lib\jaxp.jar;C:\ApacheGroup\Tomcat\lib\parser.jar;C:\jdk\lib\tools.jar;C:\ApacheGroup\Struts\\lib\struts.jar Yes, I can get the struts-example to run without a problem. I have a bunch of struts.jar's, but they're all the same, and there's only one under my 'my-example' directory. Thanks again for your time and ideas, Jesse -Original Message-From: Maya Muchnik [mailto:[EMAIL PROTECTED]]Sent: Thursday, March 15, 2001 8:43 AMTo: [EMAIL PROTECTED]Subject: Re: new problem - fixed one, now I've got anotherCheck how many struts.jar files you have. Did you try EXAMPLE? What is your CLASSPATH? Jesse Vitrone wrote: The error says this:javax.servlet.ServletException: Cannot find bean org.apache.struts.taglib.html.BEAN in scope null Wouldn't that imply that there should be a BEAN class in my struts.jar?If not, where is it trying to find it?Thanks again, Jesse -Original Message- From: Jesse Vitrone [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 15, 2001 8:30 AM To: '[EMAIL PROTECTED]' Cc: '[EMAIL PROTECTED]' Subject: RE: new problem - fixed one, now I've got another Yes, my struts.jar is in my WEB-INF\lib dir. Thanks though, Jesse -Original Message- From: Young, Wayne [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 15, 2001 8:26 AM To: '[EMAIL PROTECTED]' Subject: RE: new problem - fixed one, now I've got another Is struts.jar in in WEB-INF\lib? (you answered all of Maya's questions except that one) Wayne [EMAIL PROTECTED] -Original Message- From: Jesse Vitrone [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 15, 2001 7:11 AM To: '[EMAIL PROTECTED]' Subject: RE: new problem - fixed one, now I've got another Ana - here's the soruce of the jsp that's getting the errors. Anything look wrong? %@ page language="java" % %@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" % %@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" % %@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" % html:html locale="true" head title bean:message key="generic.title"/ /title html:base/ /head logic:notPresent name="org.apache.struts.action.MESSAGE" scope="application" font color="red" ERROR: Application resources not loaded -- check servlet container logs for error messages. /font /logic:notPresent body bgcolor="white" h2centerbean:message key="index.welcome"//center/h2 blockquote html:form action="/checkPrice" focus="isbn"/ bean:message key="index.prompt"/ html:text property="isbn" size="10" maxlength="10"/ html:submit property="submit" value="Get Price"/ /html:form /blockquote /html:html Thanks in advance, Jesse -Original Message- From: Jesse Vitrone [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 14, 2001 5:25 PM To: '[EMAIL PROTECTED]' Subject: RE: new problem - fixed one, now I've got another OK, those are the 2 that I renamed, so I guess that's not my problem. Thanks for you help, I'll keep pluggin' away. Jesse -Original Message- From: Maya Muchnik [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 14, 2001 5:25 PM To: [EMAIL PROTECTED] Subject: Re: new problem - fixed one, now I've got another Yes, you can replace the 2 names (in red color): !-- Action Servlet Configuration -- servlet servlet-nameaction/servlet-name servlet-classorg.apache.struts.action.ActionServlet/servlet-class init-param param-nameapplication/param-name param-valueorg.apache.struts.example.ApplicationResources/param-value /init-param init-param p
RE: new problem - fixed one, now I've got another
David, It's furthur down in this message already, but here it is again, now with the /body added. %@ page language="java" %%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" % html:html locale="true"headtitlebean:message key="generic.title"//titlehtml:base//head logic:notPresent name="org.apache.struts.action.MESSAGE" scope="application"font color="red"ERROR: Application resources not loaded -- check servlet containerlogs for error messages./font/logic:notPresent body bgcolor="white"!--html:errors/ --h2centerbean:message key="index.welcome"//center/h2 blockquotehtml:form action="/checkPrice" focus="isbn"/bean:message key="index.prompt"/html:text property="isbn" size="10" maxlength="10"/html:submit property="submit" value="Get Price"//html:form/blockquote /body/html:html Thanks for your help, Jesse -Original Message-From: David Waddell [mailto:[EMAIL PROTECTED]]Sent: Thursday, March 15, 2001 8:51 AMTo: '[EMAIL PROTECTED]'Subject: RE: new problem - fixed one, now I've got another think this is to do with the attributes you have set in some of the struts tags in you jsp code can you send the jsp code for the file that is causing this error ? -Original Message-From: Jesse Vitrone [mailto:[EMAIL PROTECTED]]Sent: 15 March 2001 13:48To: '[EMAIL PROTECTED]'Subject: RE: new problem - fixed one, now I've got another Maya, Here's my classpath. CLASSPATH=C:\IBMDebug\lib\dertrjrt.jar;C:\IBMVJava\eab\runtime30;C:\IBMVJava\eab\runtime20;.;C:\SQLLIB\java\db2java.zip;C:\SQLLIB\java\runtime.zip;C:\SQLLIB\java\sqlj.zip;.;.;C:\Xerces\xerces.jar;C:\Xalan\xalan.jar;C:\Xerces\xercesSamples.jar;C:\ApacheGroup\ApacheSOAP\lib\soap.jar;C:\ApacheGroup\ApacheSOAP\samples.jar;z:\unix_dobson\3rdparty\lib;z:\unix_dobson\gbapps;z:\unix_dobson\gbservlets;C:\Jars\servlet.jar;Z:\unix_dobson\gbapps\com\giantbear\soap;Z:\unix_dobson\gbapps\com\giantbear\soap\samples;Z:\unix_dobson\gbapps\com\giantbear\soap\test;c:\JavaMail\mail.jar;c:\JAF\activation.jar;C:\JDBC\jdbc2_0-stdext.jar;C:\ApacheGroup\Ant\lib\ant.jar;C:\ApacheGroup\Ant\lib\jaxp.jar;C:\ApacheGroup\Ant\lib\parser.jar CP is used along with CLASSPATH when I compile. CP=C:\ApacheGroup\Tomcat\lib\jaxp.jar;C:\ApacheGroup\Tomcat\lib\parser.jar;C:\jdk\lib\tools.jar;C:\ApacheGroup\Struts\\lib\struts.jar Yes, I can get the struts-example to run without a problem. I have a bunch of struts.jar's, but they're all the same, and there's only one under my 'my-example' directory. Thanks again for your time and ideas, Jesse -Original Message-From: Maya Muchnik [mailto:[EMAIL PROTECTED]]Sent: Thursday, March 15, 2001 8:43 AMTo: [EMAIL PROTECTED]Subject: Re: new problem - fixed one, now I've got anotherCheck how many struts.jar files you have. Did you try EXAMPLE? What is your CLASSPATH? Jesse Vitrone wrote: The error says this:javax.servlet.ServletException: Cannot find bean org.apache.struts.taglib.html.BEAN in scope null Wouldn't that imply that there should be a BEAN class in my struts.jar?If not, where is it trying to find it?Thanks again, Jesse -----Original Message----- From: Jesse Vitrone [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 15, 2001 8:30 AM To: '[EMAIL PROTECTED]' Cc: '[EMAIL PROTECTED]' Subject: RE: new problem - fixed one, now I've got another Yes, my struts.jar is in my WEB-INF\lib dir. Thanks though, Jesse -Original Message- From: Young, Wayne [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 15, 2001 8:26 AM To: '[EMAIL PROTECTED]' Subject: RE: new problem - fixed one, now I've got another Is struts.jar in in WEB-INF\lib? (you answered all of Maya's questions except that one) Wayne [EMAIL PROTECTED] -Original Message- From: Jesse Vitrone [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 15, 2001 7:11 AM To: '[EMAIL PROTECTED]' Subject: RE: new problem - fixed one, now I've got another Ana - here's the soruce of the jsp that's getting the errors. Anything look wrong? %@ page language="java" % %@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" % %@ taglib uri="/WEB-INF
Re: new problem - fixed one, now I've got another
Take out from CP and CLASSPATH marked with red!!! And remove C:\ApacheGroup\Struts\\lib\struts.jar file. struts.jar file must be ONLY under webapps/WEB-INF/lib for each yours application !!! Jesse Vitrone wrote: Maya, Here's my classpath.CLASSPATH=C:\IBMDebug\lib\dertrjrt.jar;C:\IBMVJava\eab\runtime30;C:\IBMVJava\eab\runtime20;.;C:\SQLLIB\java\db2java.zip; C:\SQLLIB\java\runtime.zip;C:\SQLLIB\java\sqlj.zip;.;.;C:\Xerces\xerces.jar;C:\Xalan\xalan.jar;C:\Xerces\xercesSamples.j ar;C:\ApacheGroup\ApacheSOAP\lib\soap.jar;C:\ApacheGroup\ApacheSOAP\samples.jar;z:\unix_dobson\3rdparty\lib;z:\unix_dobs on\gbapps;z:\unix_dobson\gbservlets;C:\Jars\servlet.jar;Z:\unix_dobson\gbapps\com\giantbear\soap;Z:\unix_dobson\gbapps\c om\giantbear\soap\samples;Z:\unix_dobson\gbapps\com\giantbear\soap\test;c:\JavaMail\mail.jar;c:\JAF\activation.jar;C:\JD BC\jdbc2_0-stdext.jar;C:\ApacheGroup\Ant\lib\ant.jar;C:\ApacheGroup\Ant\lib\jaxp.jar;C:\ApacheGroup\Ant\lib\parser.jar CP is used along with CLASSPATH when I compile.CP=C:\ApacheGroup\Tomcat\lib\jaxp.jar;C:\ApacheGroup\Tomcat\lib\parser.jar;C:\jdk\lib\tools.jar;C:\ApacheGroup\Struts\\lib\struts.jarYes, I can get the struts-example to run without a problem.I have a bunch of struts.jar's, but they're all the same, and there's only one under my 'my-example' directory.Thanks again for your time and ideas, Jesse -Original Message- From: Maya Muchnik [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 15, 2001 8:43 AM To: [EMAIL PROTECTED] Subject: Re: new problem - fixed one, now I've got another Check how many struts.jar files you have. Did you try EXAMPLE? What is your CLASSPATH? Jesse Vitrone wrote: The error says this:javax.servlet.ServletException: Cannot find bean org.apache.struts.taglib.html.BEAN in scope null Wouldn't that imply that there should be a BEAN class in my struts.jar?If not, where is it trying to find it?Thanks again, Jesse -Original Message- From: Jesse Vitrone [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 15, 2001 8:30 AM To: '[EMAIL PROTECTED]' Cc: '[EMAIL PROTECTED]' Subject: RE: new problem - fixed one, now I've got another Yes, my struts.jar is in my WEB-INF\lib dir. Thanks though, Jesse -Original Message- From: Young, Wayne [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 15, 2001 8:26 AM To: '[EMAIL PROTECTED]' Subject: RE: new problem - fixed one, now I've got another Is struts.jar in in WEB-INF\lib? (you answered all of Maya's questions except that one) Wayne [EMAIL PROTECTED] -Original Message- From: Jesse Vitrone [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 15, 2001 7:11 AM To: '[EMAIL PROTECTED]' Subject: RE: new problem - fixed one, now I've got another Ana - here's the soruce of the jsp that's getting the errors. Anything look wrong? %@ page language="java" %> %@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> %@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> %@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> html:html locale="true"> head> title> bean:message key="generic.title"/> /title> html:base/> /head> logic:notPresent name="org.apache.struts.action.MESSAGE" scope="application"> font color="red"> ERROR: Application resources not loaded -- check servlet container logs for error messages. /font> /logic:notPresent> body bgcolor="white"> h2>center>bean:message key="index.welcome"/>/center>/h2> blockquote> html:form action="/checkPrice" focus="isbn"/> bean:message key="index.prompt"/> html:text property="isbn" size="10" maxlength="10"/> html:submit property="submit" value="Get Price"/> /html:form> /blockquote> /html:html> Thanks in advance, Jesse -Original Message- From: Jesse Vitrone [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 14, 2001 5:25 PM To: '[EMAIL PROTECTED]' Subject: RE: new problem - fixed one, now I've got another OK, those are the 2 that I renamed, so I guess that's not my problem. Thanks for you help, I'll keep pluggin' away. Jesse -Original Message- From: Maya Muchnik [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 14, 2001 5:25 PM To: [EMAIL PROTECTED] Subject: Re: new problem - fixed one, now I've got another Yes, you can replace the 2 names (in red color): !-- Action Servlet Configuration --> servlet> servlet-name>action/servlet-name> servlet-class>org.apache.struts.action.ActionServlet/servlet-class> init-param> param-name>application/param-name> param-value>org.apache.struts.example.ApplicationResources/param-value> /init-param> init-param> param-name>config/param-name> param-value>/WEB-INF/struts-config.xml/param-value> Jesse Vitrone wrote: That's exacly
Re: new problem - fixed one, now I've got another
Hum... I think you shoud have html:form action="..." focus="..." and not html:form action="..." focus="..."/. (no / at the end) - Original Message - From: Jesse Vitrone [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 15, 2001 1:52 PM Subject: RE: new problem - fixed one, now I've got another David, It's furthur down in this message already, but here it is again, now with the /body added. %@ page language="java" % %@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" % %@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" % %@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" % html:html locale="true" head title bean:message key="generic.title"/ /title html:base/ /head logic:notPresent name="org.apache.struts.action.MESSAGE" scope="application" font color="red" ERROR: Application resources not loaded -- check servlet container logs for error messages. /font /logic:notPresent body bgcolor="white" !-- html:errors/ -- h2centerbean:message key="index.welcome"//center/h2 blockquote html:form action="/checkPrice" focus="isbn"/ bean:message key="index.prompt"/ html:text property="isbn" size="10" maxlength="10"/ html:submit property="submit" value="Get Price"/ /html:form /blockquote /body /html:html Thanks for your help, Jesse -Original Message- From: David Waddell [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 15, 2001 8:51 AM To: '[EMAIL PROTECTED]' Subject: RE: new problem - fixed one, now I've got another think this is to do with the attributes you have set in some of the struts tags in you jsp code can you send the jsp code for the file that is causing this error ? -Original Message- From: Jesse Vitrone [mailto:[EMAIL PROTECTED]] Sent: 15 March 2001 13:48 To: '[EMAIL PROTECTED]' Subject: RE: new problem - fixed one, now I've got another Maya, Here's my classpath. CLASSPATH=C:\IBMDebug\lib\dertrjrt.jar;C:\IBMVJava\eab\runtime30;C:\IBMVJava \eab\runtime20;.;C:\SQLLIB\java\db2java.zip; C:\SQLLIB\java\runtime.zip;C:\SQLLIB\java\sqlj.zip;.;.;C:\Xerces\xerces.jar; C:\Xalan\xalan.jar;C:\Xerces\xercesSamples.j ar;C:\ApacheGroup\ApacheSOAP\lib\soap.jar;C:\ApacheGroup\ApacheSOAP\samples. jar;z:\unix_dobson\3rdparty\lib;z:\unix_dobs on\gbapps;z:\unix_dobson\gbservlets;C:\Jars\servlet.jar;Z:\unix_dobson\gbapp s\com\giantbear\soap;Z:\unix_dobson\gbapps\c om\giantbear\soap\samples;Z:\unix_dobson\gbapps\com\giantbear\soap\test;c:\J avaMail\mail.jar;c:\JAF\activation.jar;C:\JD BC\jdbc2_0-stdext.jar;C:\ApacheGroup\Ant\lib\ant.jar;C:\ApacheGroup\Ant\lib\ jaxp.jar;C:\ApacheGroup\Ant\lib\parser.jar CP is used along with CLASSPATH when I compile. CP=C:\ApacheGroup\Tomcat\lib\jaxp.jar;C:\ApacheGroup\Tomcat\lib\parser.jar;C :\jdk\lib\tools.jar;C:\ApacheGroup\Struts\\lib\struts.jar Yes, I can get the struts-example to run without a problem. I have a bunch of struts.jar's, but they're all the same, and there's only one under my 'my-example' directory. Thanks again for your time and ideas, Jesse -Original Message- From: Maya Muchnik [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 15, 2001 8:43 AM To: [EMAIL PROTECTED] Subject: Re: new problem - fixed one, now I've got another Check how many struts.jar files you have. Did you try EXAMPLE? What is your CLASSPATH? Jesse Vitrone wrote: The error says this:javax.servlet.ServletException: Cannot find bean org.apache.struts.taglib.html.BEAN in scope null Wouldn't that imply that there should be a BEAN class in my struts.jar?If not, where is it trying to find it?Thanks again, Jesse -Original Message- From: Jesse Vitrone [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: Thursday, March 15, 2001 8:30 AM To: '[EMAIL PROTECTED]' Cc: '[EMAIL PROTECTED]' Subject: RE: new problem - fixed one, now I've got another Yes, my struts.jar is in my WEB-INF\lib dir. Thanks though, Jesse -Original Message- From: Young, Wayne [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: Thursday, March 15, 2001 8:26 AM To: '[EMAIL PROTECTED]' Subject: RE: new problem - fixed one, now I've got another Is struts.jar in in WEB-INF\lib? (you answered all of Maya's questions except that one) Wayne [EMAIL PROTECTED] -Original Message- From: Jesse Vitrone [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: Thursday, March 15, 2001 7:11 AM To: '[EMAIL PROTECTED]' Subject: RE: new problem - fixed one, now I've got another Ana - her
RE: new problem - fixed one, now I've got another
Good eye Jean-Nol!!! Wayne [EMAIL PROTECTED] -Original Message- From: Jean-Nol Ribette [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 15, 2001 9:04 AM To: [EMAIL PROTECTED] Subject: Re: new problem - fixed one, now I've got another Hum... I think you shoud have html:form action="..." focus="..." and not html:form action="..." focus="..."/. (no / at the end) - Original Message - From: Jesse Vitrone [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 15, 2001 1:52 PM Subject: RE: new problem - fixed one, now I've got another David, It's furthur down in this message already, but here it is again, now with the /body added. %@ page language="java" % %@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" % %@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" % %@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" % html:html locale="true" head title bean:message key="generic.title"/ /title html:base/ /head logic:notPresent name="org.apache.struts.action.MESSAGE" scope="application" font color="red" ERROR: Application resources not loaded -- check servlet container logs for error messages. /font /logic:notPresent body bgcolor="white" !-- html:errors/ -- h2centerbean:message key="index.welcome"//center/h2 blockquote html:form action="/checkPrice" focus="isbn"/ bean:message key="index.prompt"/ html:text property="isbn" size="10" maxlength="10"/ html:submit property="submit" value="Get Price"/ /html:form /blockquote /body /html:html Thanks for your help, Jesse -Original Message- From: David Waddell [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 15, 2001 8:51 AM To: '[EMAIL PROTECTED]' Subject: RE: new problem - fixed one, now I've got another think this is to do with the attributes you have set in some of the struts tags in you jsp code can you send the jsp code for the file that is causing this error ? -Original Message- From: Jesse Vitrone [mailto:[EMAIL PROTECTED]] Sent: 15 March 2001 13:48 To: '[EMAIL PROTECTED]' Subject: RE: new problem - fixed one, now I've got another Maya, Here's my classpath. CLASSPATH=C:\IBMDebug\lib\dertrjrt.jar;C:\IBMVJava\eab\runtime30;C:\IBMVJava \eab\runtime20;.;C:\SQLLIB\java\db2java.zip; C:\SQLLIB\java\runtime.zip;C:\SQLLIB\java\sqlj.zip;.;.;C:\Xerces\xerces.jar; C:\Xalan\xalan.jar;C:\Xerces\xercesSamples.j ar;C:\ApacheGroup\ApacheSOAP\lib\soap.jar;C:\ApacheGroup\ApacheSOAP\samples. jar;z:\unix_dobson\3rdparty\lib;z:\unix_dobs on\gbapps;z:\unix_dobson\gbservlets;C:\Jars\servlet.jar;Z:\unix_dobson\gbapp s\com\giantbear\soap;Z:\unix_dobson\gbapps\c om\giantbear\soap\samples;Z:\unix_dobson\gbapps\com\giantbear\soap\test;c:\J avaMail\mail.jar;c:\JAF\activation.jar;C:\JD BC\jdbc2_0-stdext.jar;C:\ApacheGroup\Ant\lib\ant.jar;C:\ApacheGroup\Ant\lib\ jaxp.jar;C:\ApacheGroup\Ant\lib\parser.jar CP is used along with CLASSPATH when I compile. CP=C:\ApacheGroup\Tomcat\lib\jaxp.jar;C:\ApacheGroup\Tomcat\lib\parser.jar;C :\jdk\lib\tools.jar;C:\ApacheGroup\Struts\\lib\struts.jar Yes, I can get the struts-example to run without a problem. I have a bunch of struts.jar's, but they're all the same, and there's only one under my 'my-example' directory. Thanks again for your time and ideas, Jesse -Original Message- From: Maya Muchnik [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 15, 2001 8:43 AM To: [EMAIL PROTECTED] Subject: Re: new problem - fixed one, now I've got another Check how many struts.jar files you have. Did you try EXAMPLE? What is your CLASSPATH? Jesse Vitrone wrote: The error says this:javax.servlet.ServletException: Cannot find bean org.apache.struts.taglib.html.BEAN in scope null Wouldn't that imply that there should be a BEAN class in my struts.jar?If not, where is it trying to find it?Thanks again, Jesse -Original Message- From: Jesse Vitrone [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: Thursday, March 15, 2001 8:30 AM To: '[EMAIL PROTECTED]' Cc: '[EMAIL PROTECTED]' Subject: RE: new problem - fixed one, now I've got another Yes, my struts.jar is in my WEB-INF\lib dir. Thanks though, Jesse -Original Message- From: Young, Wayne [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] Sent: Thursday, March 15, 2001 8:26 AM To: '[EMAIL PROTECTED]' Subject: RE: new problem - fixed one, now I've got another Is struts.jar in in WEB-INF\lib? (you answered all of Maya's questions except that one) Wayne [EMAIL PROTECTED] -
RE: new problem - fixed one, now I've got another
Title: RE: new problem - fixed one, now I've got another Bingo! I don't think I would've ever seen that! But the errors keep on coming ;) javax.servlet.ServletException: org.apache.struts.util.PropertyMessageResources at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:459) at _0002findex_0002ejspindex_jsp_8._jspService(_0002findex_0002ejspindex_jsp_8.java:350) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:177) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404) at org.apache.tomcat.core.Handler.service(Handler.java:286) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743) at org.apache.tomcat.service.connector.Ajp13ConnectionHandler.processConnection(Ajp13ConnectionHandler.java:160) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498) at java.lang.Thread.run(Thread.java:484) Once again, I would like to thank everyone for helping me out with this stuff. Thanks, Jesse -Original Message- From: Jean-Noël Ribette [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 15, 2001 10:04 AM To: [EMAIL PROTECTED] Subject: Re: new problem - fixed one, now I've got another Hum... I think you shoud have html:form action=... focus=... and not html:form action=... focus=.../. (no / at the end) - Original Message - From: Jesse Vitrone [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 15, 2001 1:52 PM Subject: RE: new problem - fixed one, now I've got another David, It's furthur down in this message already, but here it is again, now with the /body added. %@ page language=java % %@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean % %@ taglib uri=/WEB-INF/struts-html.tld prefix=html % %@ taglib uri=/WEB-INF/struts-logic.tld prefix=logic % html:html locale=true head title bean:message key=generic.title/ /title html:base/ /head logic:notPresent name=org.apache.struts.action.MESSAGE scope=application font color=red ERROR: Application resources not loaded -- check servlet container logs for error messages. /font /logic:notPresent body bgcolor=white !-- html:errors/ -- h2centerbean:message key=index.welcome//center/h2 blockquote html:form action=/checkPrice focus=isbn/ bean:message key=index.prompt/ html:text property=isbn size=10 maxlength=10/ html:submit property=submit value=Get Price/ /html:form /blockquote /body /html:html Thanks for your help, Jesse -Original Message- From: David Waddell [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 15, 2001 8:51 AM To: '[EMAIL PROTECTED]' Subject: RE: new problem - fixed one, now I've got another think this is to do with the attributes you have set in some of the struts tags in you jsp code can you send the jsp code for the file that is causing this error ? -Original Message- From: Jesse Vitrone [mailto:[EMAIL PROTECTED]] Sent: 15 March 2001 13:48 To: '[EMAIL PROTECTED]' Subject: RE: new problem - fixed one, now I've got another Maya, Here's my classpath. CLASSPATH=C:\IBMDebug\lib\dertrjrt.jar;C:\IBMVJava\eab\runtime30;C:\IBMVJava \eab\runtime20;.;C:\SQLLIB\java\db2java.zip; C:\SQLLIB\java\runtime.zip;C:\SQLLIB\java\sqlj.zip;.;.;C:\Xerces\xerces.jar; C:\Xalan\xalan.jar;C:\Xerces\xercesSamples.j ar;C:\ApacheGroup\ApacheSOAP\lib\soap.jar;C:\ApacheGroup\ApacheSOAP\samples. jar;z:\unix_dobson\3rdparty\lib;z:\unix_dobs on\gbapps;z:\unix_dobson\gbservlets;C:\Jars\servlet.jar;Z:\unix_dobson\gbapp s\com\giantbear\soap;Z:\unix_dobson\gbapps\c om\giantbear\soap\samples;Z:\unix_dobson\gbapps\com\giantbear\soap\test;c:\J avaMail\mail.jar;c:\JAF\activation.jar;C:\JD BC\jdbc2_0-stdext.jar;C:\ApacheGroup\Ant\lib\ant.jar;C:\ApacheGroup\Ant\lib\ jaxp.jar;C:\ApacheGroup\Ant\lib\parser.jar CP is used along with CLASSPATH when I compile. CP=C:\ApacheGroup\Tomcat\lib\jaxp.jar;C:\ApacheGroup\Tomcat\lib\parser.jar;C :\jdk\lib\tools.jar;C:\ApacheGroup\Struts\\lib\struts.jar Yes, I can get the struts-example to run without a problem. I have a bunch of struts.jar's, but they're all the same, and there's only one under my 'my-example' directory. Thanks again for your time and ideas, Jesse -Original Message- From: Maya Muchnik [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 15, 2001 8
RE: new problem - fixed one, now I've got another
Maya et al: Changing the html:form ... tag fixed that other problem. And my next problem, the "javax.servlet.ServletException: org.apache.struts.util.PropertyMessageResources" went away when I got rid of my C:\ApacheGroup\Struts\lib\struts.jar Why aren't I allowed to have the above file?! How am I supposed to compile if I dont' have struts.jar somewhere in my classpath? CP is only there at compile time, it's not there at run-time, so I didn't think it would be an issue. Thanks to all for your help - you guys and gals rule!!! Jesse -Original Message-From: Maya Muchnik [mailto:[EMAIL PROTECTED]]Sent: Thursday, March 15, 2001 8:58 AMTo: [EMAIL PROTECTED]Subject: Re: new problem - fixed one, now I've got anotherTake out from CP and CLASSPATH marked with red!!! And remove C:\ApacheGroup\Struts\\lib\struts.jar file. struts.jar file must be ONLY under webapps/WEB-INF/lib for each yours application !!! Jesse Vitrone wrote: Maya, Here's my classpath.CLASSPATH=C:\IBMDebug\lib\dertrjrt.jar;C:\IBMVJava\eab\runtime30;C:\IBMVJava\eab\runtime20;.;C:\SQLLIB\java\db2java.zip; C:\SQLLIB\java\runtime.zip;C:\SQLLIB\java\sqlj.zip;.;.;C:\Xerces\xerces.jar;C:\Xalan\xalan.jar;C:\Xerces\xercesSamples.j ar;C:\ApacheGroup\ApacheSOAP\lib\soap.jar;C:\ApacheGroup\ApacheSOAP\samples.jar;z:\unix_dobson\3rdparty\lib;z:\unix_dobs on\gbapps;z:\unix_dobson\gbservlets;C:\Jars\servlet.jar;Z:\unix_dobson\gbapps\com\giantbear\soap;Z:\unix_dobson\gbapps\c om\giantbear\soap\samples;Z:\unix_dobson\gbapps\com\giantbear\soap\test;c:\JavaMail\mail.jar;c:\JAF\activation.jar;C:\JD BC\jdbc2_0-stdext.jar;C:\ApacheGroup\Ant\lib\ant.jar;C:\ApacheGroup\Ant\lib\jaxp.jar;C:\ApacheGroup\Ant\lib\parser.jar CP is used along with CLASSPATH when I compile.CP=C:\ApacheGroup\Tomcat\lib\jaxp.jar;C:\ApacheGroup\Tomcat\lib\parser.jar;C:\jdk\lib\tools.jar;C:\ApacheGroup\Struts\\lib\struts.jarYes, I can get the struts-example to run without a problem.I have a bunch of struts.jar's, but they're all the same, and there's only one under my 'my-example' directory.Thanks again for your time and ideas, Jesse -Original Message- From: Maya Muchnik [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 15, 2001 8:43 AM To: [EMAIL PROTECTED] Subject: Re: new problem - fixed one, now I've got another Check how many struts.jar files you have. Did you try EXAMPLE? What is your CLASSPATH? Jesse Vitrone wrote: The error says this:javax.servlet.ServletException: Cannot find bean org.apache.struts.taglib.html.BEAN in scope null Wouldn't that imply that there should be a BEAN class in my struts.jar?If not, where is it trying to find it?Thanks again, Jesse -Original Message- From: Jesse Vitrone [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 15, 2001 8:30 AM To: '[EMAIL PROTECTED]' Cc: '[EMAIL PROTECTED]' Subject: RE: new problem - fixed one, now I've got anotherYes, my struts.jar is in my WEB-INF\lib dir. Thanks though, Jesse -Original Message- From: Young, Wayne [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 15, 2001 8:26 AM To: '[EMAIL PROTECTED]' Subject: RE: new problem - fixed one, now I've got another Is struts.jar in in WEB-INF\lib? (you answered all of Maya's questions except that one) Wayne [EMAIL PROTECTED] -Original Message- From: Jesse Vitrone [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 15, 2001 7:11 AM To: '[EMAIL PROTECTED]' Subject: RE: new problem - fixed one, now I've got another Ana - here's the soruce of the jsp that's getting the errors. Anything look wrong? %@ page language="java" % %@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" % %@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" % %@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" % html:html locale="true" head title bean:message key="generic.title"/ /title html:base/ /head logic:notPresent name="org.apache.struts.action.MESSAGE" scope="application" font color="red" ERROR: Application resources not loaded -- check servlet container logs for error messages. /font /logic:notPresent body bgcolor="white" h2centerbean:message key="index.welcome"//center/h2 blockquote html:for
Re: new problem - fixed one, now I've got another
You can keep struts.jar in CPat compiler time, not run-time. But point to your_app/WEB-INF/lib dir. Jesse Vitrone wrote: Maya et al: Changing the html:form ...> tag fixed that other problem. And my next problem, the "javax.servlet.ServletException: org.apache.struts.util.PropertyMessageResources" went away when I got rid of my C:\ApacheGroup\Struts\lib\struts.jar Why aren't I allowed to have the above file?! How am I supposed to compile if I dont' have struts.jar somewhere in my classpath? CP is only there at compile time, it's not there at run-time, so I didn't think it would be an issue.Thanks to all for your help - you guys and gals rule!!!Jesse -Original Message- From: Maya Muchnik [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 15, 2001 8:58 AM To: [EMAIL PROTECTED] Subject: Re: new problem - fixed one, now I've got another Take out from CP and CLASSPATH marked with red!!! And remove C:\ApacheGroup\Struts\\lib\struts.jar file. struts.jar file must be ONLY under webapps/WEB-INF/lib for each yours application !!! Jesse Vitrone wrote: Maya, Here's my classpath. CLASSPATH=C:\IBMDebug\lib\dertrjrt.jar;C:\IBMVJava\eab\runtime30;C:\IBMVJava\eab\runtime20;.;C:\SQLLIB\java\db2java.zip; C:\SQLLIB\java\runtime.zip;C:\SQLLIB\java\sqlj.zip;.;.;C:\Xerces\xerces.jar;C:\Xalan\xalan.jar;C:\Xerces\xercesSamples.j ar;C:\ApacheGroup\ApacheSOAP\lib\soap.jar;C:\ApacheGroup\ApacheSOAP\samples.jar;z:\unix_dobson\3rdparty\lib;z:\unix_dobs on\gbapps;z:\unix_dobson\gbservlets;C:\Jars\servlet.jar;Z:\unix_dobson\gbapps\com\giantbear\soap;Z:\unix_dobson\gbapps\c om\giantbear\soap\samples;Z:\unix_dobson\gbapps\com\giantbear\soap\test;c:\JavaMail\mail.jar;c:\JAF\activation.jar;C:\JD BC\jdbc2_0-stdext.jar;C:\ApacheGroup\Ant\lib\ant.jar;C:\ApacheGroup\Ant\lib\jaxp.jar;C:\ApacheGroup\Ant\lib\parser.jar CP is used along with CLASSPATH when I compile. CP=C:\ApacheGroup\Tomcat\lib\jaxp.jar;C:\ApacheGroup\Tomcat\lib\parser.jar;C:\jdk\lib\tools.jar;C:\ApacheGroup\Struts\\lib\struts.jarYes, I can get the struts-example to run without a problem.I have a bunch of struts.jar's, but they're all the same, and there's only one under my 'my-example' directory.Thanks again for your time and ideas, Jesse -Original Message- From: Maya Muchnik [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 15, 2001 8:43 AM To: [EMAIL PROTECTED] Subject: Re: new problem - fixed one, now I've got another Check how many struts.jar files you have. Did you try EXAMPLE? What is your CLASSPATH? Jesse Vitrone wrote: The error says this:javax.servlet.ServletException: Cannot find bean org.apache.struts.taglib.html.BEAN in scope null Wouldn't that imply that there should be a BEAN class in my struts.jar?If not, where is it trying to find it?Thanks again, Jesse -Original Message- From: Jesse Vitrone [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 15, 2001 8:30 AM To: '[EMAIL PROTECTED]' Cc: '[EMAIL PROTECTED]' Subject: RE: new problem - fixed one, now I've got another Yes, my struts.jar is in my WEB-INF\lib dir. Thanks though, Jesse -Original Message- From: Young, Wayne [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 15, 2001 8:26 AM To: '[EMAIL PROTECTED]' Subject: RE: new problem - fixed one, now I've got another Is struts.jar in in WEB-INF\lib? (you answered all of Maya's questions except that one) Wayne [EMAIL PROTECTED] -Original Message- From: Jesse Vitrone [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 15, 2001 7:11 AM To: '[EMAIL PROTECTED]' Subject: RE: new problem - fixed one, now I've got another Ana - here's the soruce of the jsp that's getting the errors. Anything look wrong? %@ page language="java" %> %@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> %@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> %@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> html:html locale="true"> head> title> bean:message key="generic.title"/> /title> html:base/> /head> logic:notPresent name="org.apache.struts.action.MESSAGE" scope="application"> font color="red"> ERROR: Application resources not loaded -- check servlet container logs for error messages. /font> /logic:notPresent> body bgcolor="white"> h2>center>bean:message key="index.welcome"/>/center>/h2> blockquote> html:form action="/checkPrice" focus="isbn"/> bean:message key="index.prompt"/> html:text property="isbn" size="10" maxlength="10"/> html:submit property="submit" value="Get Price"/> /html:form> /blockquote> /html:html> Thanks in advance, Jesse -Original Message- From: Jesse Vitrone [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 14, 2001 5:25 PM To: '[EMAIL PROTECTED]' Subject: RE: new problem - fixed
RE: new problem - fixed one, now I've got another
html:form action="/checkPrice" focus="isbn"/bean:message key="index.prompt"/html:text property="isbn" size="10" maxlength="10"/html:submit property="submit" value="Get Price"//html:form [David Waddell] shouldn't you specify a bean in the form tag ? the html:text tag is trying to read a property called isbn from a bean, but you haven't supplied one for example html:form action="/checkPrice" name="myItem" class="com.myco.catalogue.Item" where the class would be one you have created ( and is the class of the form bean associated with the action you're submitting to) -Original Message-From: David Waddell [mailto:[EMAIL PROTECTED]]Sent: Thursday, March 15, 2001 8:51 AMTo: '[EMAIL PROTECTED]'Subject: RE: new problem - fixed one, now I've got another think this is to do with the attributes you have set in some of the struts tags in you jsp code can you send the jsp code for the file that is causing this error ? -Original Message-From: Jesse Vitrone [mailto:[EMAIL PROTECTED]]Sent: 15 March 2001 13:48To: '[EMAIL PROTECTED]'Subject: RE: new problem - fixed one, now I've got another Maya, Here's my classpath. CLASSPATH=C:\IBMDebug\lib\dertrjrt.jar;C:\IBMVJava\eab\runtime30;C:\IBMVJava\eab\runtime20;.;C:\SQLLIB\java\db2java.zip;C:\SQLLIB\java\runtime.zip;C:\SQLLIB\java\sqlj.zip;.;.;C:\Xerces\xerces.jar;C:\Xalan\xalan.jar;C:\Xerces\xercesSamples.jar;C:\ApacheGroup\ApacheSOAP\lib\soap.jar;C:\ApacheGroup\ApacheSOAP\samples.jar;z:\unix_dobson\3rdparty\lib;z:\unix_dobson\gbapps;z:\unix_dobson\gbservlets;C:\Jars\servlet.jar;Z:\unix_dobson\gbapps\com\giantbear\soap;Z:\unix_dobson\gbapps\com\giantbear\soap\samples;Z:\unix_dobson\gbapps\com\giantbear\soap\test;c:\JavaMail\mail.jar;c:\JAF\activation.jar;C:\JDBC\jdbc2_0-stdext.jar;C:\ApacheGroup\Ant\lib\ant.jar;C:\ApacheGroup\Ant\lib\jaxp.jar;C:\ApacheGroup\Ant\lib\parser.jar CP is used along with CLASSPATH when I compile. CP=C:\ApacheGroup\Tomcat\lib\jaxp.jar;C:\ApacheGroup\Tomcat\lib\parser.jar;C:\jdk\lib\tools.jar;C:\ApacheGroup\Struts\\lib\struts.jar Yes, I can get the struts-example to run without a problem. I have a bunch of struts.jar's, but they're all the same, and there's only one under my 'my-example' directory. Thanks again for your time and ideas, Jesse -Original Message-From: Maya Muchnik [mailto:[EMAIL PROTECTED]]Sent: Thursday, March 15, 2001 8:43 AMTo: [EMAIL PROTECTED]Subject: Re: new problem - fixed one, now I've got anotherCheck how many struts.jar files you have. Did you try EXAMPLE? What is your CLASSPATH? Jesse Vitrone wrote: The error says this:javax.servlet.ServletException: Cannot find bean org.apache.struts.taglib.html.BEAN in scope null Wouldn't that imply that there should be a BEAN class in my struts.jar?If not, where is it trying to find it?Thanks again, Jesse -Original Message- From: Jesse Vitrone [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 15, 2001 8:30 AM To: '[EMAIL PROTECTED]' Cc: '[EMAIL PROTECTED]' Subject: RE: new problem - fixed one, now I've got another Yes, my struts.jar is in my WEB-INF\lib dir. Thanks though, Jesse -Original Message- From: Young, Wayne [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 15, 2001 8:26 AM To: '[EMAIL PROTECTED]' Subject: RE: new problem - fixed one, now I've got another Is struts.jar in in WEB-INF\lib? (you answered all of Maya's questions except that one) Wayne [EMAIL PROTECTED] -Original Message- From: Jesse Vitrone [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 15, 2001 7:11 AM To: '[EMAIL PROTECTED]' Subject: RE: new problem - fixed one, now I've got another Ana - here's the soruce of the jsp that's getting the errors. Anything look wrong? %@ page language="java" % %@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" % %@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" % %@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" % html:html locale="true" head title bean:message key="generic.title"/ /title html
RE: new problem - fixed one, now I've got another
I thought it worked like this: struts-configform-beansform-bean name="priceForm"type="com.giantbear.struts.BNPriceForm"//form-beans action-mappingsaction path="/checkPrice"type="com.giantbear.struts.BNPriceAction"name="priceForm"scope="request"validate="false"forward name="results" path="/results.jsp"//action/action-mappings /struts-config My index.jsp has this: html:form action="/checkPrice" focus="isbn"/bean:message key="index.prompt"/html:text property="isbn" size="10" maxlength="10"/html:submit property="submit" value="Get Price"//html:form Because of the config, doesn't it call BNPriceForm, then BNPriceAction? BNPriceForm does the validation, and BNPriceAction gets the value, creates / sets / adds to the session my BNBook bean, and then moves on to the next page. The next page, then uses that bean to display the info. Am I thinking of that wrong? If I add class="com.giantbear.struts.BNBook" to my html:form, what does that get me? I think I'm a little confused on how things work. Any help clearing things up is greatly appriciated. Thanks, Jesse -----Original Message-From: David Waddell [mailto:[EMAIL PROTECTED]]Sent: Thursday, March 15, 2001 9:12 AMTo: '[EMAIL PROTECTED]'Subject: RE: new problem - fixed one, now I've got another html:form action="/checkPrice" focus="isbn"/bean:message key="index.prompt"/html:text property="isbn" size="10" maxlength="10"/html:submit property="submit" value="Get Price"//html:form [David Waddell] shouldn't you specify a bean in the form tag ? the html:text tag is trying to read a property called isbn from a bean, but you haven't supplied one for example html:form action="/checkPrice" name="myItem" class="com.myco.catalogue.Item" where the class would be one you have created ( and is the class of the form bean associated with the action you're submitting to) -Original Message-From: David Waddell [mailto:[EMAIL PROTECTED]]Sent: Thursday, March 15, 2001 8:51 AMTo: '[EMAIL PROTECTED]'Subject: RE: new problem - fixed one, now I've got another think this is to do with the attributes you have set in some of the struts tags in you jsp code can you send the jsp code for the file that is causing this error ? -Original Message-From: Jesse Vitrone [mailto:[EMAIL PROTECTED]]Sent: 15 March 2001 13:48To: '[EMAIL PROTECTED]'Subject: RE: new problem - fixed one, now I've got another Maya, Here's my classpath. CLASSPATH=C:\IBMDebug\lib\dertrjrt.jar;C:\IBMVJava\eab\runtime30;C:\IBMVJava\eab\runtime20;.;C:\SQLLIB\java\db2java.zip;C:\SQLLIB\java\runtime.zip;C:\SQLLIB\java\sqlj.zip;.;.;C:\Xerces\xerces.jar;C:\Xalan\xalan.jar;C:\Xerces\xercesSamples.jar;C:\ApacheGroup\ApacheSOAP\lib\soap.jar;C:\ApacheGroup\ApacheSOAP\samples.jar;z:\unix_dobson\3rdparty\lib;z:\unix_dobson\gbapps;z:\unix_dobson\gbservlets;C:\Jars\servlet.jar;Z:\unix_dobson\gbapps\com\giantbear\soap;Z:\unix_dobson\gbapps\com\giantbear\soap\samples;Z:\unix_dobson\gbapps\com\giantbear\soap\test;c:\JavaMail\mail.jar;c:\JAF\activation.jar;C:\JDBC\jdbc2_0-stdext.jar;C:\ApacheGroup\Ant\lib\ant.jar;C:\ApacheGroup\Ant\lib\jaxp.jar;C:\ApacheGroup\Ant\lib\parser.jar CP is used along with CLASSPATH when I compile. CP=C:\ApacheGroup\Tomcat\lib\jaxp.jar;C:\ApacheGroup\Tomcat\lib\parser.jar;C:\jdk\lib\tools.jar;C:\ApacheGroup\Struts\\lib\struts.jar Yes, I can get the struts-example to run without a problem. I have a bunch of struts.jar's, but they're all the same, and there's only one under my 'my-example' directory. Thanks again for your time and ideas, Jesse -Original Message-From: Maya Muchnik [mailto:[EMAIL PROTECTED]]Sent: Thursday, March 15, 2001 8:43 AMTo: [EMAIL PROTECTED]Subject: Re: new problem - fixed one, now I've got anotherCheck how many struts.jar files you have. Did you try EXAMPLE? What is your CLASSPATH? Jesse Vitrone wrote: The error says this:javax.servlet.ServletException: Cannot find bean org.apache.struts.taglib.html.BEAN in scope null Wouldn't that imply that there should be a BEAN class in my struts.jar?If not, where is it trying to find it?Thanks again, Jesse -Origina
Re: new problem - fixed one, now I've got another
- Original Message - From: Jesse Vitrone [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 15, 2001 4:15 PM Subject: RE: new problem - fixed one, now I've got another I thought it worked like this: struts-config form-beans form-bean name="priceForm" type="com.giantbear.struts.BNPriceForm"/ /form-beans action-mappings action path="/checkPrice" type="com.giantbear.struts.BNPriceAction" name="priceForm" scope="request" validate="false" forward name="results" path="/results.jsp"/ /action /action-mappings /struts-config My index.jsp has this: html:form action="/checkPrice" focus="isbn"/ bean:message key="index.prompt"/ html:text property="isbn" size="10" maxlength="10"/ html:submit property="submit" value="Get Price"/ /html:form Because of the config, doesn't it call BNPriceForm, then BNPriceAction? BNPriceForm does the validation, and BNPriceAction gets the value, creates / sets / adds to the session my BNBook bean, and then moves on to the next page. The next page, then uses that bean to display the info. Am I thinking of that wrong? No, you're right. One more thing you need to know is that if you forward to your jsp and there is already a BNPriceForm in the context, it will be used to set the initial values of the form. If there isn't, a new one will be created for you by Struts. This is why the html:text, checkbox etc. need to be in the form field, to have access to this bean. That is why you got the error closing the tag (html:form .../ html:text .../...). The text tags didn't find the Form bean. If I add class="com.giantbear.struts.BNBook" to my html:form, what does that get me? There are no class attribute for the form tag. However there is a type attribute that I think can be used if there are no config parameters in struts-config. I think I'm a little confused on how things work. Any help clearing things up is greatly appriciated. Thanks, Jesse Jean-Noel
RE: new problem - fixed one, now I've got another
On Thu, 15 Mar 2001, David Waddell wrote: html:form action="/checkPrice" focus="isbn"/ bean:message key="index.prompt"/ html:text property="isbn" size="10" maxlength="10"/ html:submit property="submit" value="Get Price"/ /html:form [David Waddell] shouldn't you specify a bean in the form tag ? the html:text tag is trying to read a property called isbn from a bean, but you haven't supplied one for example html:form action="/checkPrice" name="myItem" class="com.myco.catalogue.Item" Recent nightly builds can deduce the bean name (and class) by using the value you specify for action ("/checkPrice") and looking it up. Have you got a form bean identified for this action in "struts-config.xml"? By the way, the bean name "org.apache.struts.taglib.html.BEAN" is where the html:form tag stores the current form bean (in page scope) so that the inner tags can find it. Craig
Re: new problem - fixed one, now I've got another
Try to stop Tomcat. Remove everything under tomcat/work directory and startup Tomcat again. Jesse Vitrone wrote: OK, I fixed the other properties file problem, it turned out that I had a syntax error in my web.xml and I didn't see Tomcat barf when it loaded. Now that I've fixed that, and Tomcat doesn't give any error when it starts, I get this error when I try to load my first page. javax.servlet.ServletException: Cannot find bean org.apache.struts.taglib.html.BEAN in scope null at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:459) at _0002findex_0002ejspindex_jsp_1._jspService(_0002findex_0002ejspindex_jsp_1.java:315) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:177) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404) at org.apache.tomcat.core.Handler.service(Handler.java:286) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743) at org.apache.tomcat.service.connector.Ajp13ConnectionHandler.processConnection(Ajp13ConnectionHandler.java:160) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498) at java.lang.Thread.run(Thread.java:484) Does this look familiar to anyone? Thanks in advance, Jesse
RE: new problem - fixed one, now I've got another
Good idea, but it didn't help, I still got the same directory. Thanks anyway, Jesse -Original Message-From: Maya Muchnik [mailto:[EMAIL PROTECTED]]Sent: Wednesday, March 14, 2001 3:43 PMTo: [EMAIL PROTECTED]Subject: Re: new problem - fixed one, now I've got anotherTry to stop Tomcat. Remove everything under tomcat/work directory and startup Tomcat again. Jesse Vitrone wrote: OK, I fixed the other properties file problem, it turned out that I had a syntax error in my web.xml and I didn't see Tomcat barf when it loaded. Now that I've fixed that, and Tomcat doesn't give any error when it starts, I get this error when I try to load my first page. javax.servlet.ServletException: Cannot find bean org.apache.struts.taglib.html.BEAN in scope null at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:459) at _0002findex_0002ejspindex_jsp_1._jspService(_0002findex_0002ejspindex_jsp_1.java:315) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:177) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404) at org.apache.tomcat.core.Handler.service(Handler.java:286) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743) at org.apache.tomcat.service.connector.Ajp13ConnectionHandler.processConnection(Ajp13ConnectionHandler.java:160) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498) at java.lang.Thread.run(Thread.java:484) Does this look familiar to anyone? Thanks in advance, Jesse
Re: new problem - fixed one, now I've got another
Check a location of all struts-*tld files. They have to be under your_app/WEB-INF (check with your web.xml). struts.jar file has to be under your_app/WEB-INF/lib. Put your first.jsp file under your_app directory and try http://localhost:8080/your_app/first.jsp Jesse Vitrone wrote: Good idea, but it didn't help, I still got the same directory.Thanks anyway, Jesse -Original Message- From: Maya Muchnik [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 14, 2001 3:43 PM To: [EMAIL PROTECTED] Subject: Re: new problem - fixed one, now I've got another Try to stop Tomcat. Remove everything under tomcat/work directory and startup Tomcat again. Jesse Vitrone wrote: OK, I fixed the other properties file problem, it turned out that I had a syntax error in my web.xml and I didn't see Tomcat barf when it loaded. Now that I've fixed that, and Tomcat doesn't give any error when it starts, I get this error when I try to load my first page. javax.servlet.ServletException: Cannot find bean org.apache.struts.taglib.html.BEAN in scope null at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:459) at _0002findex_0002ejspindex_jsp_1._jspService(_0002findex_0002ejspindex_jsp_1.java:315) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:177) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404) at org.apache.tomcat.core.Handler.service(Handler.java:286) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743) at org.apache.tomcat.service.connector.Ajp13ConnectionHandler.processConnection(Ajp13ConnectionHandler.java:160) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498) at java.lang.Thread.run(Thread.java:484) Does this look familiar to anyone? Thanks in advance, Jesse
Re: new problem - fixed one, now I've got another
Yes, you can replace the 2 names (in red color): !-- Action Servlet Configuration --> servlet> servlet-name>action/servlet-name> servlet-class>org.apache.struts.action.ActionServlet/servlet-class> init-param> param-name>application/param-name> param-value>org.apache.struts.example.ApplicationResources/param-value> /init-param> init-param> param-name>config/param-name> param-value>/WEB-INF/struts-config.xml/param-value> Jesse Vitrone wrote: That's exacly the setup that I have :)*.tld and my web and config xml files are in my_app/WEB-INFand my 2 jsp's are under my_app/http://localhost/my_app/index.jsp is what's giving me that error.I have Apache with Tomcat, so the :8080 isn't needed.Any other ideas?The config xml and resource properties file can be named what ever I want, right? As long as I refer to them with the right name in my web.xml?Thanks again, Jesse -Original Message- From: Maya Muchnik [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 14, 2001 5:00 PM To: [EMAIL PROTECTED] Subject: Re: new problem - fixed one, now I've got another Check a location of all struts-*tld files. They have to be under your_app/WEB-INF (check with your web.xml). struts.jar file has to be under your_app/WEB-INF/lib. Put your first.jsp file under your_app directory and try http://localhost:8080/your_app/first.jsp Jesse Vitrone wrote: Good idea, but it didn't help, I still got the same directory.Thanks anyway, Jesse -Original Message- From: Maya Muchnik [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 14, 2001 3:43 PM To: [EMAIL PROTECTED] Subject: Re: new problem - fixed one, now I've got another Try to stop Tomcat. Remove everything under tomcat/work directory and startup Tomcat again. Jesse Vitrone wrote: OK, I fixed the other properties file problem, it turned out that I had a syntax error in my web.xml and I didn't see Tomcat barf when it loaded. Now that I've fixed that, and Tomcat doesn't give any error when it starts, I get this error when I try to load my first page. javax.servlet.ServletException: Cannot find bean org.apache.struts.taglib.html.BEAN in scope null at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:459) at _0002findex_0002ejspindex_jsp_1._jspService(_0002findex_0002ejspindex_jsp_1.java:315) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:177) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404) at org.apache.tomcat.core.Handler.service(Handler.java:286) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743) at org.apache.tomcat.service.connector.Ajp13ConnectionHandler.processConnection(Ajp13ConnectionHandler.java:160) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498) at java.lang.Thread.run(Thread.java:484) Does this look familiar to anyone? Thanks in advance, Jesse
RE: new problem - fixed one, now I've got another
OK, those are the 2 that I renamed, so I guess that's not my problem. Thanks for you help, I'll keep pluggin' away. Jesse -Original Message-From: Maya Muchnik [mailto:[EMAIL PROTECTED]]Sent: Wednesday, March 14, 2001 5:25 PMTo: [EMAIL PROTECTED]Subject: Re: new problem - fixed one, now I've got anotherYes, you can replace the 2 names (in red color): !-- Action Servlet Configuration -- servlet servlet-nameaction/servlet-name servlet-classorg.apache.struts.action.ActionServlet/servlet-class init-param param-nameapplication/param-name param-valueorg.apache.struts.example.ApplicationResources/param-value /init-param init-param param-nameconfig/param-name param-value/WEB-INF/struts-config.xml/param-value Jesse Vitrone wrote: That's exacly the setup that I have :)*.tld and my web and config xml files are in my_app/WEB-INFand my 2 jsp's are under my_app/http://localhost/my_app/index.jsp is what's giving me that error.I have Apache with Tomcat, so the :8080 isn't needed.Any other ideas?The config xml and resource properties file can be named what ever I want, right? As long as I refer to them with the right name in my web.xml?Thanks again, Jesse -Original Message- From: Maya Muchnik [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 14, 2001 5:00 PM To: [EMAIL PROTECTED] Subject: Re: new problem - fixed one, now I've got another Check a location of all struts-*tld files. They have to be under your_app/WEB-INF (check with your web.xml). struts.jar file has to be under your_app/WEB-INF/lib. Put your first.jsp file under your_app directory and try http://localhost:8080/your_app/first.jsp Jesse Vitrone wrote: Good idea, but it didn't help, I still got the same directory.Thanks anyway, Jesse -Original Message- From: Maya Muchnik [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 14, 2001 3:43 PM To: [EMAIL PROTECTED] Subject: Re: new problem - fixed one, now I've got anotherTry to stop Tomcat. Remove everything under tomcat/work directory and startup Tomcat again. Jesse Vitrone wrote: OK, I fixed the other properties file problem, it turned out that I had a syntax error in my web.xml and I didn't see Tomcat barf when it loaded. Now that I've fixed that, and Tomcat doesn't give any error when it starts, I get this error when I try to load my first page. javax.servlet.ServletException: Cannot find bean org.apache.struts.taglib.html.BEAN in scope null at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:459) at _0002findex_0002ejspindex_jsp_1._jspService(_0002findex_0002ejspindex_jsp_1.java:315) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:177) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404) at org.apache.tomcat.core.Handler.service(Handler.java:286) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743) at org.apache.tomcat.service.connector.Ajp13ConnectionHandler.processConnection(Ajp13ConnectionHandler.java:160) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498) at java.lang.Thread.run(Thread.java:484) Does this look familiar to anyone? Thanks in advance, Jesse