hi sudha,

Actually URLEncoder is meant to encode all the special charactors
including space and hence the.web server will understand the encoded
url.

FYI,when u submit the form the url is always internally encoded and
sent to the server so encoding should not introduce any problem...

hope this helps,

with regards,
               rathna.

sudha wrote:

> hi rathana
>   but these urlencoder will convert all the character except A-Z,a-z and 0-9
>   into %(some code)...see
>  if the url has the charcter like(url redirecting)
>  mailex1.jsp?imge1="http://aksj/kasj.gif"
>   then what
>  hwo to proceed
>  thanks in advance
> sudha
>
> Rathna wrote:
>
> > try URLEncoder.encode(url) , which encodes spaces ....
> >
> > hope this helps ..
> >
> > regards,
> >         rathna.
> >
> > sudha wrote:
> >
> > > hi all
> > >  is there any function or method in jsp which removes the spaces from
> > > the url
> > >  like the escape method in javascript
> > > if yes how to use it
> > > sudha
> > >
> > > ===========================================================================
> > > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> > > Some relevant FAQs on JSP/Servlets can be found at:
> > >
> > >  http://java.sun.com/products/jsp/faq.html
> > >  http://www.esperanto.org.nz/jsp/jspfaq.html
> > >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> > >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> >
> > ===========================================================================
> > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> > Some relevant FAQs on JSP/Servlets can be found at:
> >
> >  http://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.html
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to