try
 
<bean:define id="processName" name="filesForm" property="processName" type="fully-qualified-class-type-name"/>
 
-- nagi

-------Original Message-------
 
Date: Wednesday, August 06, 2003 12:18:43 PM
Subject: Bean tag lib help
 
Hello,

I got a question. My struts-bean tag doesnot seem to work correctly.

Everytime I use the Bean tag

Eg <bean:define id="processName" name="filesForm" property="processName"/>

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);


Doea anyone have any ideas how to fix it ????


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.

____________________________________________________
  IncrediMail - Email has finally evolved - Click Here

Reply via email to