Just cross check that you are importing 
1. taglib
2. bean
3. correctly specified bean name & type in struts-config.

Regards
Rohit



> Hey People
> 
> Ay ideas on how to fix my bean proble?
> 
> Every time I try to uyse the <bean:* tag in struts I get a 
> 
> java.lang.ClassCastException
>       at org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:766)
>       at
> org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:481)
>       at org.apache.jsp.files_jsp._jspService(files_jsp.java:149)
> 
> 
> The Java code looks like 
> 
>           _jspx_th_html_form_0.setParent(_jspx_th_html_html_0);
>           _jspx_th_html_form_0.setMethod("POST");
>           _jspx_th_html_form_0.setAction("/files");
>   149->  int _jspx_eval_html_form_0 = _jspx_th_html_form_0.doStartTag();
>           if (_jspx_eval_html_form_0 !=
> javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
>             do {
>               out.write("\r\n  ");
>               /* ----  bean:define ---- */
>               java.lang.Object processName = null;
>               org.apache.struts.taglib.bean.DefineTag _jspx_th_bean_define_0
> = (org.apache.struts.taglib.bean.DefineTag)
> _jspx_tagPool_bean_define_property_name_id.get(org.apache.struts.taglib.bean
> .DefineTag.class);
>   
> 
> I havent worked a lot on struts and beans so I'm not too sure how to fix it
> 
> Cheers
> 
> Vance
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Vance Heredia
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> ______________________________________________________________________
> This email, including attachments, is intended only for the addressee
> and may be confidential, privileged and subject to copyright.  If you
> have received this email in error, please advise the sender and delete
> it.  If you are not the intended recipient of this email, you must not
> use, copy or disclose its content to anyone.  You must not copy or 
> communicate to others content that is confidential or subject to 
> copyright, unless you have the consent of the content owner.
> 


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



*----------
This message and any attachment(s) is intended only for the use of the addressee(s) 
and may contain information that is PRIVILEGED and CONFIDENTIAL. If you are not the 
intended addressee(s), you are hereby notified that any use, distribution, disclosure 
or copying of this communication is strictly prohibited. If you have received this 
communication in error, please erase all copies of the message and its attachment(s) 
and notify the sender or Kanbay postmaster immediately.

Any views expressed in this message are those of the individual sender and not of 
Kanbay.

Although we have taken steps to ensure that this e-mail and any attachment(s) are free 
from any virus, we advise that in keeping with good computing practice the recipient 
should ensure they are actually virus free.


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

Reply via email to