David,
It took me a while to get it to work. It seems to work fine. What servlet
container are you using?
Try changing your string from:
>"/servlets/GraphServlet?cmd=GtMapStatePayouts&nMonths=200007:200012"
to "/servlet/GraphServlet?cmd=GtMapStatePayouts&nMonths=200007:200012"
Note the lack of the 's' on servlet.
By the way, you can forward to a servlet, JSP, static HTML, or any other
web application.
-Richard
At 06:04 PM 8/29/01 -0400, you wrote:
>Is there any way that anyone knows of to do the following from a JSP page:
>
> String graphletURL =
> "/servlets/GraphServlet?cmd=GtMapStatePayouts&nMonths=200007:200012";
>
> RequestDispatcher dispatcher =
> getServletContext().getRequestDispatcher(graphletURL);
> dispatcher.forward(request, response);
>
>In other words, is it possible to FORWARD to a servlet and pass query
>string information? I have tried many permutations of this approach and am
>out of options... ;)
>
>Thanks in advance for any help or advice,
>--
>David L. Rice
>Web Applications Developer
>BellSouth/AL
>Direct: 205.977.0092
>24/7 Cell: 205.903.9467
>Wk: [EMAIL PROTECTED]
>Hm: [EMAIL PROTECTED]
>
>"Your friend is the man who knows all about you, and still likes you." --
>Elbert Hubbard (1859-1915)
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>JSP-INTEREST".
>For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
>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".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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