Compare yours index.jsp with struts-example's index.jsp. Can you run struts-example.war ? If you do, try find out differences.
 

Jesse Vitrone wrote:

 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 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

Reply via email to