Jay,
In that case, use javascript and use a form to POST the data to you
servlet. Use an onclick event to fire off a javascript function. You can
use parameters to set hidden form variables. Sorry about the misunderstanding.


-Richard
At 01:13 PM 4/8/2002 -0600, you wrote:
>Hi Richard,
>My servlet does just that. The servlet is called from another site, i.e.
>http://server/servlet/getThis?ID=JayID&Phone=123-456-7890
>
>This servlet get the data passed and then calls a JSP to nicely display some
>information.  In the Location bar from the JSP the end result it looks like:
>
>http://server/servlet/getThis?ID=JayID&Phone=123-456-7890
>
>I don't want the URL to show the data sent.  The receiving servlet gets
>the data
>and then puts the data in a bean to be used by the JSP.
>I then use a RequestDispatcher and then I forward this to the JSP.  I want
>the URL
>to show the JSP path, i.e. http://server/Welcome.jsp
>
>Thanks in advance for any help!!
>--
>Jay H. Lang
>Chief Technologist
>Distributed Computing Professionals Inc.
>IBM Certified Specialist - MQSeries
>303 277-1873 - Office
>303 807-9700 - Cell
>
>
>Richard Yee wrote:
>
> > Jay,
> > You should have your controller servlet or JSP just forward to another JSP
> > that serves as the view.
> > Rather than handling handling both the controller and the view, your JSP
> > then is used just as the View component in an MVC architecture
> >
> > -Richard
> >
> > At 02:54 PM 4/3/2002 -0700, you wrote:
> > >Hi List,
> > >Can I set the Location URL (Netscape) or Address URL (I.E.) to a string
> > >that I want instead of showing the user all of the URL encoded data that
> > >was sent to the servlet that calls my JSP?
> > >
> > >Thanks.
> > >--
> > >Jay H. Lang
> > >Chief Technologist
> > >Distributed Computing Professionals Inc.
> > >IBM Certified Specialist - MQSeries
> > >303 277-1873 - Office
> > >303 807-9700 - Cell
> > >
> > >=======================================================================
> ====
> > >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://archives.java.sun.com/jsp-interest.html
> > >  http://java.sun.com/products/jsp/faq.html
> > >  http://www.esperanto.org.nz/jsp/jspfaq.jsp
> > >  http://www.jguru.com/faq/index.jsp
> > >  http://www.jspinsider.com
> >
> > ===========================================================================
> > 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://archives.java.sun.com/jsp-interest.html
> >  http://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.jsp
> >  http://www.jguru.com/faq/index.jsp
> >  http://www.jspinsider.com
>
>===========================================================================
>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://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  http://www.jspinsider.com

===========================================================================
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://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to