I did what you suggested. However, I got the following exception:

javax.servlet.ServletException: Cannot retrieve definition for form bean
null

Any ideas?

Zhiyong Li
iBiomatics R & D
SAS Institute
(919) 653-2746
[EMAIL PROTECTED]




-----Original Message-----
From: Matt Raible [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 14, 2002 4:12 PM
To: Struts Users Mailing List
Subject: Re: Can I use a jsp as the action value in: html:form


The easiest way is to put an action mapping in your struts-config file:

    <action 
        path="/jspMapping"
        forward="/p21/security/businesslogin.jsp">
    </action>


--- Zhiyong Li <[EMAIL PROTECTED]> wrote:
> I tried to use a jsp as the action target, for example,
> 
> <html:form action="/p21/security/businesslogin.jsp"
focus="j_username">
> 
> However, I got the exception: 
> javax.servlet.ServletException: Cannot retrieve mapping for action
> /p21/security/businesslogin 
> 
> Can I use a jsp as the action target with the html:form tag?
> 
> Thanks,
> 
> Zhiyong Li
> iBiomatics R & D
> SAS Institute
> (919) 653-2746
> [EMAIL PROTECTED]
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
> 


__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

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


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

Reply via email to