I'll have to clear this up, as both your examples still have problems.
To pass parameters in a GET request, put the parameters as name=value pairs after a '?', with each pair of parameters separated by '&'. There are some characters which must not appear in a URL (quotes, spaces, '>' etc.) so all non alphanumeric characters should really be 'URLescaped' as follows:
replace each space with '+' replace all other non-alphanumeric character with a '%' followed by the ASCII character code for the character as two hex digits.
For an example; to pass the follwoing parameters:
name = Peninsula and Orient
abbrev = P&O
to the script, servlet,
JSP etc. at
http://somwehere.com/show we would build a URL like:
<a href='http://somwehere.com/show?name=Peninsula+and+Orient&abbrev=P%26O'>P&O</a>
Has this cleared things up?
[This message has been edited by Frank Carver (edited March 08, 2001).]