• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Error in layout:date pls help

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic