struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kiuma <ki...@usa.net>
Subject please help with bean tags!
Date Thu, 12 Sep 2002 13:23:30 GMT
I'm using struts v 1.1b2
and my web.xml contains:

 <servlet>
    <servlet-name>struts</servlet-name>
    <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
    <init-param>
        <param-name>config</param-name>
        <param-value>/WEB-INF/struts-config.xml</param-value>
    </init-param>
    <init-param>
        <param-name>debug</param-name>
        <param-value>3</param-value>
    </init-param>
    <init-param>
        <param-name>detail</param-name>
        <param-value>3</param-value>
    </init-param>
    <init-param>
        <param-name>validating</param-name>
        <param-value>true</param-value>
    </init-param>
   
    <load-on-startup>1</load-on-startup>
</servlet>



struts-config.xml is:

<?xml version="1.0" encoding="ISO-8859-1" ?>

<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD 
Struts Configuration 1.0//EN" 
"http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd">

<struts-config>
  <form-beans>
    <form-bean
      name="listedUser"
      type="com.wingstech.webappointments.ListedUserForm"
    />
  </form-beans>

   <action-mappings>
  </action-mappings>

    <message-resources
    parameter="com.wingstech.webappointments.WebAppResources"
    null="false" />
</struts-config>





Then I have the following jsp page:

<%@page language="java"
    contentType="text/html:charset=UTF-8"
    session="false"
    isThreadSafe="true"
    isErrorPage="false"
    import="javax.naming.*,
           com.wingstech.webappointments.interfaces.*,
       java.util.*"
%> 

<%@ taglib uri="/WEB-INF/struts-html.tld"
        prefix="html" %>

<%@ taglib uri="/WEB-INF/struts-bean.tld"
        prefix="bean" %>

<html:html>
<head>
    <!--<html:base/>-->
    <!--<title><bean:message key="title.userfinder"/></title>--> 
 
</head>
<body>
ciao<br>
</BODY>
</html:html>


but when i try to access this page I got this error back:

15:09:34,222 ERROR [Engine] StandardWrapperValve[jsp]: Servlet.service() 
for servlet jsp threw exception
org.apache.jasper.JasperException: No such tag bundle in the tag library 
imported with prefix bean
    at 
org.apache.jasper.compiler.TagLibraries.isUserDefinedTag(TagLibraries.java:97)
    at org.apache.jasper.compiler.Parser$Tag.accept(Parser.java:821)
    at org.apache.jasper.compiler.Parser.parse(Parser.java:1145)
    at org.apache.jasper.compiler.Parser.parse(Parser.java:1103)
    at org.apache.jasper.compiler.Parser.parse(Parser.java:1099)
    at 
org.apache.jasper.compiler.ParserController.parse(ParserController.java:214)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:210)
    at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548)
    at 
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:176)
    at 
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:188)
    at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
    at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)


What can I do??

Thanks in advance,
kiuma



--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message