You cannot next tags as you are trying to do.

My advice would be to make a forward in your struts-config.xml file that is:

<forward name="editServiceReport" path="/ServiceReport.do?operation=delete" />

Then in your jsp page, you can code your link using a regular <a href> tag:

<a href="<html:rewrite forward="editServiceReport"
/>&operationActivityId=<bean:write name="activity" property="id"/>">link
text</a>

This has worked for me.

Matt
--- Antonio Lourinho <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> i'm new to Struts and i'm already working on a project that takes advantage
> of it.
> 
> The problem is: i'm trying to put a link, and the page attribute depends
> upon the value of a bean defined by an iterate tag.
> 
> something like:
> 
> <html:link
> page="/ServiceReport.do?operation=delete&operationActivityId=<bean:getProper
> ty name="activity" property="id"/>"/>
> 
> the error is:
> 
> org.apache.jasper.compiler.ParseException:
> C:\Dev\Projectos\ControloHoras\web_app\ServiceReport.jsp(171,115) Attribute
> activity has no value
> 
> Does anybody have a clue?
> 
> Antonio - Portugal
> 
> 
> _____________________________________________________________________
>                       INTERNET MAIL FOOTER 
> A presente mensagem pode conter informação considerada confidencial.
> Se o receptor desta mensagem não for o destinatário indicado, fica
> expressamente proibido de copiar ou endereçar a mensagem a terceiros.
> Em tal situação, o receptor deverá destruir a presente mensagem e por
> gentileza informar o emissor de tal facto.
> ---------------------------------------------------------------------
> Privileged or confidential information may be contained in this
> message. If you are not the addressee indicated in this message, you
> may not copy or deliver this message to anyone. In such case, you
> should destroy this message and kindly notify the sender by reply
> email.
> ---------------------------------------------------------------------
> 


__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger. 
http://im.yahoo.com

Reply via email to