Vijay K Anand wrote:
> Hi All
> 
> I used the same way  you have said
> 
>                                         <bean:define
> id="create_portfolio">javascript:location.href='<html:rewrite
> page="/portfoliomgmt"/>'</bean:define>
>                                         <html:button
> property="Create" value="Create"  styleClass="NPIButton"
> onclick="<%=create_portfolio %>" />
> 
> html code generated is
> <input type="button" name="Create" value="Create"
> onclick="javascript:location.href='/portfoliomgmt'"
> class="NPIButton"> 
> 
> but the problem is .do missing ...

If you want the .do bit to automatically be appended for you, then use:

<html:rewrite action="/portfoliomgmt" />

http://struts.apache.org/userGuide/struts-html.html#rewrite

-- 
Bob Arnott



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

Reply via email to