struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Struts Newsgroup ( <>
Subject Struts ActionForm InstantiationException...?
Date Mon, 01 Jul 2002 11:55:01 GMT
Subject: Struts ActionForm InstantiationException...?
From: "Scott Curtis" <>

I have written a Form class that extends ActionForm, called
I have also written an Action class called
I have written an ActionMapping as follows:

<action path="/login"
    <forward name="success" path="/feedback.jsp" />

<form-beans type="org.apache.struts.action.ActionFormBean">
    <form-bean name="loginForm"
    type="com.scurtis.web.forms.LoginForm" />

In my jsp I am have the following:

<html:form action="">
    <html:text property="loginName" maxlength="60" size="40" />
    <html:text property="password" maxlength="60" size="40" />

For some reason when I try to load the jsp I get the following error:

javax.servlet.jsp.JspException: Exception creating bean of class
com.scurtis.web.forms.LoginForm: java.lang.InstantiationException:

I would really appreciate if someone could shed some light onto why this
might be happening and how to fix it. I have written a lot of forms (all in
the same project) and they all work.

Many thanks in advance.

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message