I am trying to insert a struts value into a parameter in a URL. However I
need to URL encode the value because else characters like will confuse
Netscape.
Is there a proper way of doing this in Struts?
I am currently doing something like this
%@ page import=java.net.URLEncoder %
Your prblem intered me too, especially because java code inside the page
makes the code and indentation messy:
So I've found this link
http://www.basebeans.com/standard-examples/import/index.html
There is the solution you are looking for, and other funny tricks.
regards,
kiuma
P.S. :
Alex == Alex McLintock [EMAIL PROTECTED] writes:
Alex I am trying to insert a struts value into a parameter in a URL. However I
need
Alex to URL encode the value because else characters like will confuse
Netscape.
Alex Is there a proper way of doing this in Struts?
Alex I
The html:link tags provide automatic encoding, and other useful features
;-)
-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom Software ~ Technical Services.
-- Tel +1 716 737-3463
-- http://www.husted.com/about/struts/
Clay Graham wrote:
ok,
so it WAS the encodeURL issue...the
: Ted Husted [SMTP:[EMAIL PROTECTED]]
Sent: Wednesday, September 05, 2001 11:29 AM
To: [EMAIL PROTECTED]
Subject:Re: Automatic forward URL encoding WAS: Session STOMP
The html:link tags provide automatic encoding, and other useful features
;-)
-- Ted Husted, Husted dot Com, Fairport NY
Title: URL encoding in html:image and html:img tags
Hi all,
First of all, I'm French so sorry for my English
I don't understand why Struts's html:image and html:img tags encodes GIF's names with session's ID ?
I am using :
html:image tag with html:form
html:img tag with html:link
);
new
}
}
I hope that helps
regards
Mike
Whitney Hunter [EMAIL PROTECTED] on 21.05.2001 17:22:53
Please respond to [EMAIL PROTECTED]
To: 'Struts User List' [EMAIL PROTECTED]
cc:
Subject: Odd URL encoding behavior
Hi all,
I am experiencing strange behavior
7 matches
Mail list logo