Hai Thx for ur answer can u tell me why we have to use old plain html Bye vijay -----Original Message----- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Beal Sent: Thursday, February 17, 2005 8:04 PM To: user@struts.apache.org Subject: Re: You must specify exactly one of "forward", "href", or "page"
Don't use <html:link/> to execute a JavaScript. Just use plain old HTML. -- Jeff Vijay Kumar wrote: > Hai > I am new to struts I am using <html:link> to call a java script and > <html:img src ./>for displaying the images > But it's giving an error javax.servlet.jsp.JspException: Cannot create > rewrite URL: java.net.MalformedURL > Exception: You must specify exactly one of "forward", "href", or "page" > Can any one have the solution for this > Bye > vijay > --------------------------------------------------------------------- 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]