I wrote some test cases and figured out that you cannot append
parameters, but you can change their properties, so if you do:

/xmlwrapper/newsTest.html?contentType=44&id=59550

I can regexp and forward

/content/news.jsp?contentType=html&id=59550

Jacob Hookom 
Comprehensive Computer Science 
University of Wisconsin, Eau Claire 


-----Original Message-----
From: Mike Jackson [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, August 01, 2002 5:08 PM
To: Tomcat Users List
Subject: RE: Request Dispatcher

I don't think so, at least I've never been able to do it.  What I've
done is
added
attributes to the request (see the javadocs for details).  Attributes
only
work
with objects, but that's both an advantage and a disadvantage.

--mikej
-=-----
mike jackson
[EMAIL PROTECTED]

> -----Original Message-----
> From: Jacob Hookom [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 01, 2002 3:06 PM
> To: Tomcat Users List
> Subject: Request Dispatcher
>
>
> If I grab a request dispatcher, can I append extra parameters to be
used
> at the destination?
>
> Original request: /app/RDServlet?id=3446
>
> RequestDispatcher rd =
> _context.getRequestDispatcher("/jsp/handler.jsp?ar=html");
> rd.forward();
>
> Is this legit to do?
>
> Jacob Hookom
> Comprehensive Computer Science
> University of Wisconsin, Eau Claire
>
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.380 / Virus Database: 213 - Release Date: 7/24/2002
>
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
>



--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.380 / Virus Database: 213 - Release Date: 7/24/2002
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.380 / Virus Database: 213 - Release Date: 7/24/2002
 


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to