• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Error in layout:date pls help

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I tried to use struts-layout in my jsp. i properly included the taglib.

and inside my jsp i have given, <layout ate property="date.field" mode="E,E,E" />

Once if i try to access this jsp, i got error in console.

the error is as follows,

Cannot find bean under name org.apache.struts.taglib.html.BEAN.

why this error is coming. I have no idea pls help me.

by

Thamizharasu(thamizhinfra@yahoo.com)
 
Ranch Hand
Posts: 948
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am not familiar with the layout tags. Do they work like the html tags where the property attribute maps to properties on your form? If so, does your form have a getDate() method that returns an object with a getField() method?

Like : form.getDate().getField()

- Brent
 
Thamizh Arasu
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Still i have some issues with layout ate tag.

If any one know the steps pls post here.

before that, i am telling my steps here. through this u can easily find out my problem.

1. I pasted the struts-layout.jar file into the WEB-INF/lib
2. copied the config and images folder and paste it into my root dir
3. created a jsp. In that jsp i added only line
3.1 add the taglib definition
3.2 add the line. (<layout ate property="myDate" mode="E,E,E"/>
no other line is added.

where is the problem. pls tell me the solution...
by
thamizh
 
No. No. No. No. Changed my mind. Wanna come down. To see this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic