Do you only have one form tag on the page?

Have you walked through the ELFormTag execution in your debugger?

-----Original Message-----
From: Barry Volpe [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 23, 2003 12:48 PM
To: Struts Users Mailing List
Subject: Re: <html-el:form action="${param.type}">


The error I get is

cannot retrieve mapping for action /Results
so  <html-el:form action="/View${param.type}">
translates to /Results  (when type=Results)

but when type=ViewResults and I use

<html-el:form action="/${param.type}">

translates to /ViewResults

/View is disregarded in the first example??

Barry





----- Original Message ----- 
From: "Chen, Gin" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Thursday, October 23, 2003 11:47 AM
Subject: RE: <html-el:form action="${param.type}">


> What's the exact error that it gives you?
> -Tim
> 
> -----Original Message-----
> From: Barry Volpe [mailto:[EMAIL PROTECTED]
> Sent: Thursday, October 23, 2003 2:45 PM
> To: Struts Users Mailing List
> Subject: <html-el:form action="${param.type}">
> 
> 
> Hi,
> 
> 
> In my example
>  
> type=ViewResults
> 
>  and the following line will work
> (I could not get it to work with a c:out or a bean:write):
> 
> <html-el:form action="/${param.type}">
> 
> ${param.type} is translated into /ViewResults and that's okay.
> 
> Not complaining since I can directly put the JSTL in the action.
> 
> My question is how can I have type=Results and embed
> the word "View" in the action I tried the following but get an error.
> 
> <html-el:form action="/View${param.type}">
> 
> would expect this to be evaluated to /ViewResults but again get an 
> error?
> 
> Any suggestions?
> 
> Barry
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 


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


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

Reply via email to