thanks Nuwan. Finally get it work and next step would
be moved this prototype into latest version 1.3.8 :)
--- Nuwan Chandrasoma <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> Well it is  DEPRECATED in struts 1.2.9
> 
>
http://struts.apache.org/1.2.9/userGuide/struts-html.html#html
> 
> Thanks,
> 
> Nuwan
> 
> 
> ----- Original Message ----- 
> From: "Nuwan Chandrasoma" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List"
> <user@struts.apache.org>
> Sent: Wednesday, May 02, 2007 11:18 AM
> Subject: Re: Invalid for tag html according to TLD
> 
> 
> > Hi,
> >
> > Its something to do with your TLD files., the
> attribute 'locale' is 
> > removed from the TLD file you are using., are you
> using the same struts 
> > version that is sepcified for this tutorial?. this
> may be due to different 
> > TLD files you have in the librareis you are using.
> >
> > Thanks,
> >
> > Nuwan
> >
> > ----- Original Message ----- 
> > From: "wong wayne" <[EMAIL PROTECTED]>
> > To: <user@struts.apache.org>
> > Sent: Wednesday, May 02, 2007 8:04 AM
> > Subject: Invalid for tag html according to TLD
> >
> >
> >> Dear All
> >>
> >> I'm new to Struts and building a prototype with
> >> struts, ,hibernate and spring follow the
> instruction
> >> at
> >>
>
http://www.roseindia.net/struts/hibernate-spring/index.shtml
> >>
> >> When I execute the example, exception generated
> >> (Attribute locale invalid for tag html according
> to
> >> TLD). After I remove the locale tag (html:html
> >> locale="true" -> html:html) at jsp, this example
> works
> >> fine. I have no idea for this error, can somebody
> give
> >> me some hints? Thanks.
> >>
> >> Attached please find jsp and struts configuration
> file
> >> for your reference.
> >>
> >> regards
> >>
> >> wayne
> >>
> >>
> >>
> >>
> __________________________________________________
> >> Do You Yahoo!?
> >> Tired of spam?  Yahoo! Mail has the best spam
> protection around
> >> http://mail.yahoo.com
> >
> >
> >
>
--------------------------------------------------------------------------------
> >
> >
> >> <?xml version="1.0" encoding="ISO-8859-1" ?>
> >>
> >> <!DOCTYPE struts-config PUBLIC
> >>          "-//Apache Software Foundation//DTD
> Struts Configuration 
> >> 1.2//EN"
> >>         
>
"http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd";>
> >>
> >> <!--
> >>     This is a blank Struts configuration file
> with an example
> >>     welcome action/page and other commented
> sample elements.
> >>
> >>     Tiles and the Struts Validator are configured
> using the factory 
> >> defaults
> >>     and are ready-to-use.
> >>
> >>     NOTE: If you have a generator tool to create
> the corresponding Java 
> >> classes
> >>     for you, you could include the details in the
> "form-bean" 
> >> declarations.
> >>     Otherwise, you would only define the
> "form-bean" element itself, with 
> >> the
> >>     corresponding "name" and "type" attributes,
> as shown here.
> >> -->
> >>
> >>
> >> <struts-config>
> >>
> >> <!-- ============================================
> Data Source 
> >> Configuration -->
> >> <!--
> >> <data-sources>
> >> <data-source
> type="org.apache.commons.dbcp.BasicDataSource">
> >>    <set-property
> >>      property="driverClassName"
> >>      value="org.postgresql.Driver" />
> >>    <set-property
> >>      property="url"
> >>     
> value="jdbc:postgresql://localhost/mydatabase" />
> >>    <set-property
> >>      property="username"
> >>      value="me" />
> >>    <set-property
> >>      property="password"
> >>      value="test" />
> >>    <set-property
> >>      property="maxActive"
> >>      value="10" />
> >>    <set-property
> >>      property="maxWait"
> >>      value="5000" />
> >>    <set-property
> >>      property="defaultAutoCommit"
> >>      value="false" />
> >>    <set-property
> >>      property="defaultReadOnly"
> >>      value="false" />
> >>    <set-property
> >>      property="validationQuery"
> >>      value="SELECT COUNT(*) FROM market" />
> >> </data-source>
> >> </data-sources>
> >> -->
> >>
> >> <!--
> ================================================
> Form Bean 
> >> Definitions -->
> >>
> >>    <form-beans>
> >>  <!-- sample form bean descriptor for an
> ActionForm
> >>        <form-bean
> >>            name="inputForm"
> >>            type="app.InputForm"/>
> >>    end sample -->
> >>
> >>    <!-- sample form bean descriptor for a
> DynaActionForm
> >>        <form-bean
> >>            name="logonForm"
> >>           
> type="org.apache.struts.action.DynaActionForm">
> >>            <form-property
> >>                name="username"
> >>                type="java.lang.String"/>
> >>            <form-property
> >>                name="password"
> >>                type="java.lang.String"/>
> >>       </form-bean>
> >>    end sample -->
> >>
> >>
> >>
> >>
> >> <form-bean name="UserLoginForm"
> >>     
> type="roseindia.web.struts.form.UserLoginForm">
> >>    </form-bean>
> >>
> >> <form-bean name="UserRegisterForm"
> >>     
> type="roseindia.web.struts.form.UserRegisterForm">
> >>    </form-bean>
> >>
> >>
> >> <form-bean name="UserForgetPasswordForm"
> >>     
>
type="roseindia.web.struts.form.UserForgetPasswordForm">
> 
=== message truncated ===


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to