> One parameter with which I would like to initialize a servlet could consist
> of one or more URLs.  So, I need to pass this list of URLs as one parameter
> and need some sort of delimiter to parse them up.  Is there a standard
> choice of delimiters in such a list?  Obviously I can't use a comma, as that
> would indicate that I was specifying a new parameter.  Is there some way to
> find out what other characters are similarly reserved in this case?  Would a
> space work?  how about a 'pipe' symbol - '|' ?

why not use a urlencoded string? that way, it is simple to urldecode it with
the methods provided. (See: java.util.URLEncoder and
org.apache.jserv.JServUtils.URLDecode)

-jon



-- --------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
READ THE FAQ!!!!     <http://java.apache.org/faq/>
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to