struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Graham" <dgraham1...@hotmail.com>
Subject Re: regarding Struts-html.tld's text tag
Date Tue, 24 Dec 2002 01:48:52 GMT
The text tag must be used within an <html:form> tag.  Look at the user's 
guide for more details:
http://jakarta.apache.org/struts/userGuide/struts-html.html#text

David






>From: usha <usha@justcommodity.com>
>Reply-To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
>To: Struts Users Mailing List <struts-user@jakarta.apache.org>
>Subject: Re: regarding Struts-html.tld's text tag
>Date: Tue, 24 Dec 2002 09:32:36 +0800
>
>Hi Karr
>
>you mean to say that struts-html form element then no. i have this inside a 
>html form tag <form>.
>yes i have the load-on-startup element in the actionservlet set
>
>Thanks
>usha
>
>Karr, David wrote:
>
>>Let's see.  Is this inside a valid "form" element?  Do you have the
>>ActionServlet set with a "load-on-startup" element?
>>
>>
>>
>>>-----Original Message-----
>>>From: usha [mailto:usha@justcommodity.com]
>>>
>>>Hi
>>>
>>>can anybody know why i am getting the following error
>>>
>>>i am using struts-html tag like this
>>>
>>><html:text size="22" property="shortname"/>
>>>if i add the value attribute to the above tag its working fine otherwise 
>>>its giving the following error
>>>
>>>
>>>javax.servlet.ServletException: Cannot find bean 
>>>org.apache.struts.taglib.html.BEAN in sc
>>>ope null
>>>        at org.apache.jasper.runtime.PageContextImpl.handlePageException(
>>>PageContextImpl.
>>>java:463)
>>>        at org.apache.jsp.admin_0005fivlocdet$jsp._jspService(admin_0005f
>>>ivlocdet$jsp.jav
>>>a:253)
>>>        at 
>>>org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
>>>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>>>        at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service
>>>(JspServlet.java
>>>:202)
>>>        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.ApplicationDispatcher.invoke(Applicat
>>>ionDispatcher.ja
>>>va:683)
>>>        at org.apache.catalina.core.ApplicationDispatcher.doForward(Appli
>>>cationDispatcher
>>>.java:431)
>>>        at org.apache.catalina.core.ApplicationDispatcher.forward(Applica
>>>tionDispatcher.j
>>>ava:355)
>>>        at org.apache.struts.actions.ForwardAction.perform(ForwardAction.
>>>java:161)
>>>        at org.apache.struts.action.ActionServlet.processActionPerform(Ac
>>>tionServlet.java
>>>:1787)
>>>        at org.apache.struts.action.ActionServlet.process(ActionServlet.j
>>>ava:1586)
>>>        at 
>>>org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492)
>>>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
>>>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>>>        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
>>>er(ApplicationFi
>>>lterChain.java:247)
>>>        at org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
>>>cationFilterChai
>>>n.java:193)
>>>        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
>>>rapperValve.java
>>>:243)
>>>        at org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
>>>ipeline.java:566
>>>)
>>>        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
>>>ine.java:472)
>>>        at 
>>>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>>>        at org.apache.catalina.core.StandardContextValve.invoke(StandardC
>>>ontextValve.java
>>>:190)
>>>        at org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
>>>ipeline.java:566
>>>)
>>>        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Aut
>>>henticatorBase.j
>>>ava:475)
>>>        at org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
>>>ipeline.java:564
>>>)
>>>        at org.apache.catalina.valves.CertificatesValve.invoke(Certificat
>>>esValve.java:246
>>>)
>>>        at org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
>>>ipeline.java:564
>>>)
>>>        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
>>>ine.java:472)
>>>        at 
>>>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>>>        at org.apache.catalina.core.StandardContext.invoke(StandardContex
>>>t.java:2343)
>>>        at org.apache.catalina.core.StandardHostValve.invoke(StandardHost
>>>Valve.java:180)
>>>        at org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
>>>ipeline.java:566
>>>)
>>>        at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDi
>>>spatcherValve.ja
>>>va:170)
>>>        at org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
>>>ipeline.java:564
>>>)
>>>        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport
>>>Valve.java:170)
>>>        at org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
>>>ipeline.java:564
>>>)
>>>        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValv
>>>e.java:468)
>>>        at org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
>>>ipeline.java:564
>>>)
>>>        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
>>>ine.java:472)
>>>        at 
>>>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>>>        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
>>>gineValve.java:1
>>>74)
>>>        at org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
>>>ipeline.java:566
>>>)
>>>        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
>>>ine.java:472)
>>>        at 
>>>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>>>        at org.apache.catalina.connector.http.HttpProcessor.process(HttpP
>>>rocessor.java:10
>>>12)
>>>        at org.apache.catalina.connector.http.HttpProcessor.run(HttpProce
>>>ssor.java:1107)
>>>        at java.lang.Thread.run(Thread.java:536)
>>>
>>>Thanks
>>>usha
>>>
>>>
>>>--
>>>To unsubscribe, e-mail:
>>>
>><mailto:struts-user-unsubscribe@jakarta.apache.org>
>>For additional commands, e-mail:
>><mailto:struts-user-help@jakarta.apache.org>
>>
>>--
>>To unsubscribe, e-mail:   
>><mailto:struts-user-unsubscribe@jakarta.apache.org>
>>For additional commands, e-mail: 
>><mailto:struts-user-help@jakarta.apache.org>
>>
>>
>
>
>
>
>--
>To unsubscribe, e-mail:   
><mailto:struts-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: 
><mailto:struts-user-help@jakarta.apache.org>


_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 3 months FREE*. 
http://join.msn.com/?page=features/virus&xAPID=42&PS=47575&PI=7324&DI=7474&SU=

http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_virusprotection_3mf


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