Hi all,
Sorry folks... A correction to my previous mail...
I do not get this exception message when i stop and start the webapp. Only
when a action is invoked this exception occurs!!
Both the times( stop-start and action.do ) it is trying to get the
Hi
While running my first struts application i am getting a class cast exception. I am
not able to find where i am doing wrong. Any one please tell me where i am go wrong in
configuration files.
thanks
regards
baiju
please include the full stacktrace
-Message d'origine-
De : Baiju [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 13 février 2004 11:08
À : Struts-User (E-mail)
Objet : [SPAM] - class cast exception - Bayesian Filter detected spam
Hi
While running my first struts application i am
: [SPAM] - class cast exception - Bayesian Filter detected spam
please include the full stacktrace
-Message d'origine-
De : Baiju [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 13 février 2004 11:08
À : Struts-User (E-mail)
Objet : [SPAM] - class cast exception - Bayesian Filter
Make sure your actions extends org.apache.struts.action.Action, and your
forms extends org.apache.struts.action.ActionForm
For example, given the following struts-config snippet :
struts-config
form-beans
form-bean name=MyForm type=mypackage.MyForm
/form-bean
/form-beans
Hi there...
I posted a question on a class cast exception yesterdayand Im not
getting any further..
I give you the important code on the next lines...and hopefully your
able to help me
entry in struts-config
===
form-bean name=SimpleForm
type
On Thu, May 16, 2002 at 11:13:17AM +0200, Thorsten Maus wrote:
Hi there...
I posted a question on a class cast exception yesterdayand Im not
getting any further..
I give you the important code on the next lines...and hopefully your
able to help me
[...]
form - bean
,
HttpServletResponse response)
throws IOException, ServletException
{
MyActionForm myActionForm = (MyActionForm) form;
myActionForm.setParam1(_new value);
return mapping.findForward(forward);
}
}
When connecting to the action (action.do) I get a class cast
exception..
and I
response)
throws IOException, ServletException
{
MyActionForm myActionForm = (MyActionForm) form;
myActionForm.setParam1(_new value);
return mapping.findForward(forward);
}
}
When connecting to the action (action.do) I get a class cast
exception..
and I
= (MyActionForm) form;
myActionForm.setParam1(_new value);
return mapping.findForward(forward);
}
}
When connecting to the action (action.do) I get a class cast
exception..
and I dont know why..
any help would be appreciated...
Erich Meier wrote:
On Thu, May 16, 2002 at 11
exception..
and I dont know why..
any help would be appreciated...
Erich Meier wrote:
On Thu, May 16, 2002 at 11:13:17AM +0200, Thorsten Maus wrote:
Hi there...
I posted a question on a class cast exception yesterdayand Im not
getting any further..
I give you
soi rebuilt the application on a standalone tomcat server and it worked.
the errors occur on a weblogic 5.1 sp8 but just in this specific
application.
I hopefully get rid of this soon
:o)
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
could u give info on sturts-config file
siraj
- Original Message -
From: Thorsten Maus [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, May 16, 2002 2:43 PM
Subject: Re: class cast exception
Hi there...
I posted a question on a class cast exception
: Thorsten Maus [SMTP:[EMAIL PROTECTED]]
Gesendet am: Donnerstag, 16. Mai 2002 12:52
An: Struts Users Mailing List
Betreff: Re: class cast exception
hi ...
please find attached the form-bean.
and find below the log-dump
the line starting with _form: should display
hi there ...
i always get a class cast excpetion when trying to cast the form-class
is there anybody who is able to tell me what is wrong in my form-class
public class StrutsAction extends Action{
public StrutsAction() {
}
public ActionForward perform(ActionMapping mapping,
Please give us your mapping (struts-config) for this StrutsAction.
hi there ...
i always get a class cast excpetion when trying to cast the form-class
is there anybody who is able to tell me what is wrong in my form-class
public class StrutsAction extends Action{
public
AM
To: struts-user
Subject: class cast exception
hi there ...
i always get a class cast excpetion when trying to cast the form-class
is there anybody who is able to tell me what is wrong in my form-class
public class StrutsAction extends Action{
public StrutsAction
action-mappings
actionpath=/action
type=StrutsAction
name=form
scope=request
validate=false
forward name=forwardpath=/test.jsp /
/action
/action-mappings
form-beans
form-bean name=form
PROTECTED]]
Sent: Wednesday, 15 May 2002 6:40 PM
To: struts-user
Subject: class cast exception
hi there ...
i always get a class cast excpetion when trying to cast the form-class
is there anybody who is able to tell me what is wrong in my form-class
public class StrutsAction extends
I keep getting a ClassCastException during runtime in one of my Action
classes. This is a runtime error, but it compiles cleanly. In my
application framework, I have defined a class named ListActionForm
that extends the ActionForm. I extend the ListActionForm with a
class named
, September 14, 2001 8:37 AM
Subject: logic:iterator Class cast exception
Hi all,
I'm trying to iterate a Vector into a JSP page and I have an Class cast
exception. My vector contains an Hashtable that contains String object.
Here my ActionBean code for the iteration:
while(rs.next
Hi all,
I'm trying to iterate a Vector into a JSP page and I have an Class cast
exception. My vector contains an Hashtable that contains String object.
Here my ActionBean code for the iteration:
while(rs.next()) {
Hashtable table = new Hashtable();
table.put
22 matches
Mail list logo