Re: Label problem in struts2

2010-11-16 Thread stanlick
Can we see the rest of your JSP?  My hunch is, you are also using a
textfield that is bringing the label in as well.


On Tue, Nov 16, 2010 at 6:32 AM, Prabhubalaji Ragavan <
prabhubalaji.raga...@gmail.com> wrote:

> Hi
> I am using the below code to label, which is using a resource bundle. When
> the application starts up, the label appears twice.
>
> JSP code
> ---
> 
>
>
> Resource bundle
> -
> Label.Name = Legal Name
>
> Output
> ---
>
> Legal Name Legal Name
>
>
> Please help
>
> Thanks
> Prabhu Ragavan
>


Re: Label problem in struts2

2010-11-17 Thread Emil Dombagolla
Try with,

$getText('Label.Name')

Emil

On Tue, Nov 16, 2010 at 8:45 PM,  wrote:

> Can we see the rest of your JSP?  My hunch is, you are also using a
> textfield that is bringing the label in as well.
>
>
> On Tue, Nov 16, 2010 at 6:32 AM, Prabhubalaji Ragavan <
> prabhubalaji.raga...@gmail.com> wrote:
>
> > Hi
> > I am using the below code to label, which is using a resource bundle.
> When
> > the application starts up, the label appears twice.
> >
> > JSP code
> > ---
> > 
> >
> >
> > Resource bundle
> > -
> > Label.Name = Legal Name
> >
> > Output
> > ---
> >
> > Legal Name Legal Name
> >
> >
> > Please help
> >
> > Thanks
> > Prabhu Ragavan
> >
>