<<File: rfc-822.txt>>Idea #1:
Pass the #14 in as an argument, and output some javascript on the fly that
scrolls to the desired location in the onload event of the html body.  I'm
pretty sure that IE supports some "scoll-to" functionality.  I'm not so sure
about Netscape.

Idea #2:
What happens if you put the anchor reference before the query string in the URL,
as follows:
lm_produits.jsp#14?famille=_1__

_________________________________________________________

Thomas Cox
Solution Center of the Americas   Phone:   +1.612.397.4226
400 One Financial Plaza           Fax:     +1.612.692.4226
120 South Sixth Street            Alt Fax: +1.612.397.4370
Minneapolis, MN 55402             e-mail:  [EMAIL PROTECTED]
_________________________________________________________


-----Original Message-----
From: [EMAIL PROTECTED]
Sent: Thursday, October 07, 1999 1:37 PM
To: [EMAIL PROTECTED]
Subject: Re: response.sendRedirect () with parms


This thread seems not to be active anymore. Anyway, the solution Marc
explained works great, except in one case : I want to forward the response
to an jsp page, passing some parameters, but also I want the browser to be
placed at a marked.
I mean that I want to go to

lm_produits.jsp?famille=_1__#14

The problem is that the #14 is interpreted as the end of the _1__ parameter.
Btw, it is not when I directly access the page, writing directly the url in
my browser.
Any idea would be welcomed

Regards
Sylvain
-----Message d'origine-----
De : Marc Hedlund <[EMAIL PROTECTED]>
+ : [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date : mercredi 15 septembre 1999 19:33
Objet : Re: response.sendRedirect () with parms


>At 04:42 PM 9/15/99 +0000, Sandy Tiu wrote:
>>"Account does not exist."
>>
>>I found out that I have to parse the above string and replace all spaces
>>with a "%20" before appending it to the url. It worked after
>>I did this. Is there a better way?
>
><%
>String encodedMsg = java.net.URLEncoder.encode(e.getMessage());
>response.sendRedirect("udpate_error.jsp?msg=" + encodedMsg);
>%>
>
>Although, I think a better way would be to have the databse throw an
>exception, and then set <%@ page errorPage="update_error.jsp" %>, instead
>of trying to pass an exception message in the URL.
>
>Marc Hedlund <[EMAIL PROTECTED]>
>Director of Web Applications
>BEA WebXpress <http://weblogic.beasys.com/>
>
>===========================================================================
>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

RFC-822.TXT

Reply via email to