Yes that code runs correctly! Try to build the url link with a struts URL tag and use the struts param tag to set the "a" parameter .
<s:url id="url" value="www.something.com"> <s:param name="a">b</s:param> </s:url> if you use the struts anchor tag it works: <s:a href="%{url}>Test link</s:a> if you use the html anchor it doesn't: <.a href="%{url}>Test link</.a> and if you print the url value yuo have a double amp: "www.something.com&amp;amp;a=b" Slattery, Tim - BLS wrote: > > >> I have Microsoft Internet Explorer 6.0.2 on my computer. >> >> If I use the struts anchor the URL parameters are separated >> by the & character and the link works. >> If I use the html anchor with a struts property the URL >> parameters are separated by the amp; characters and the link >> doesn't work. > > I don't know what to tell you. I've run the following HTML: > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" > "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> > <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> > <head> > <title>Test Form submission</title> > </head> > <body> > <h1>Test links</h1> > <div> > www.something.com&a=b Test link > </div> > </body> > </html> > > In IE 6.0.2900, Netscape 6 and Netscape 7. All handle it correctly. When > the mourse cursor hovers over the link, the correct text shows in the > status bar (www.something.com&a=b). > > -- > Tim Slattery > [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Struts-anchor-question-tf4428839.html#a12669994 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]