You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Mauricio T. Ferraz" <ma...@cilix.com.br> on 2003/11/04 17:04:42 UTC

???

Whats the diference between:

<html:link action="mypage.jsp">My Page</html:link>

and

<html:link page="mypage.jsp">My Page</html:link>

Thanks!!!

Re: ???

Posted by "Mauricio T. Ferraz" <ma...@cilix.com.br>.
Thanks for help, Ruth, Brice

[]´s
Mauricio

----- Original Message -----
From: "Ruth, Brice" <br...@fiskars.com>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Tuesday, November 04, 2003 2:07 PM
Subject: Re: <html:link> ???


> the "action" attribute has to reflect an action-mapping that is defined
> in your struts config file. the "page" attribute should start with a '/'
> and will output in HTML the correct URL to the resource, based on the
> web-app that you're running - its purpose is to allow module-relative
> naming of your resources.
>
> Check out the Struts-HTML taglib reference here:
>
> http://jakarta.apache.org/struts/userGuide/dev_html.html
>
> Mauricio T. Ferraz wrote:
>
> >Whats the diference between:
> >
> ><html:link action="mypage.jsp">My Page</html:link>
> >
> >and
> >
> ><html:link page="mypage.jsp">My Page</html:link>
> >
> >Thanks!!!
> >
> >
>
> --
> Brice D. Ruth
> Sr. IT Analyst
> Fiskars Brands, Inc.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: ???

Posted by "Ruth, Brice" <br...@fiskars.com>.
the "action" attribute has to reflect an action-mapping that is defined 
in your struts config file. the "page" attribute should start with a '/' 
and will output in HTML the correct URL to the resource, based on the 
web-app that you're running - its purpose is to allow module-relative 
naming of your resources.

Check out the Struts-HTML taglib reference here:

http://jakarta.apache.org/struts/userGuide/dev_html.html

Mauricio T. Ferraz wrote:

>Whats the diference between:
>
><html:link action="mypage.jsp">My Page</html:link>
>
>and
>
><html:link page="mypage.jsp">My Page</html:link>
>
>Thanks!!!
>  
>

-- 
Brice D. Ruth
Sr. IT Analyst
Fiskars Brands, Inc.



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org