what does the html source look like?

The bit after &Value1 looks like it needs <%= %> tags and tidying up of "s

> -----Original Message-----
> From: subramanian Athimoolam [mailto:[EMAIL PROTECTED]]
> Sent: 19 July 2000 07:42
> To: [EMAIL PROTECTED]
> Subject: jsp urlencode
>
>
> hi
>
> i am passing variable from one jap page to another i am using
> the following
> code:(on click event)
> location.href="pre.jsp?value=<%=java.net.URLEncoder.encode(req
> uest.getParameter("value"))%>&catid=<%=request.getParameter("c
> atid")%>&parid=<%=request.getParameter("parid")%>&Value1="+jav
> a.net.URLEncoder.encode(ch)+"&value1="+java.net.URLEncoder.encode(ca)
>   ;
>
>
> it will be working fine in
> netscape. but it won't works in Internet explore.
>
> Error:" java" is undefined.
>
>
> give me a solution.
>
>

===========================================================================
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