actually, URL specs say
& has to be represented by & there are a couple of others, you can look
up in the url specs
ITH
Amit
PS: or you can do what Sergio has replied
> -----Original Message-----
> From: Tom Preston [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, December 21, 1999 9:28 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Substituting the Ampersand-sign in HTML
>
> Ampersand-sign (&) is fine. What is the problem exactly? You should be
> able to
> have a url like www.mysite.com/mydir/mydir2/myjsp.jsp?parm1=123&parm2=567
>
> Now in the page, simply do:
>
> String s_parm1 = request.getParameter("parm1");
> int i_parm1 = Integer.parseInt(s_parm1);
> ...
> do the same thing for parm2.
> ...
> now you have parm1 as String and int.
>
> This should work. You may need to send more info about problem.
>
> "Steingoetter, Jochen" wrote:
>
> > Hello all,
> >
> > we've got some problems when passing on string arguments to a JSP-page
> > (using the get-method) when there is a Ampersand-sign (&) in the passed
> > argument string.
> >
> > Does anyone know what the correct substitution for the sign is ?
> >
> > Thanks,
> >
> > Jochen Steing�tter
> >
> > Dresdner Kleinwort Benson
> > Global Markets IT
> > Application Development
> > > * Email : <mailto: [EMAIL PROTECTED]>
> > >
> >
> >
> ==========================================================================
> =
> > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> > FAQs on JSP can be found at:
> > http://java.sun.com/products/jsp/faq.html
> > http://www.esperanto.org.nz/jsp/jspfaq.html
>
> --
> Tom
>
> Thomas Preston
> Vacation.com, Inc.
> Engineering Department
> 617.210.4855 x 124
>
> ==========================================================================
> =
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> FAQs on JSP can be found at:
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html