Vincent,

In trying to understand where I need a clue, I cobbled together the attached
sequence diagram.  As I understand it I was working under the assumption that
the setURL in step 2.3 provided the Redirector Servlet with a URI that would be
used to redirect the request on the server side.  

However, it seems that I need to use a servlet that is invoked with the wrapped
WebRequest to handle the redirection on the server side.

Am I getting closer?

Thanks,
Matt

Vincent Massol wrote:
> 
> Matt,
> 
> I'm not sure I understand correctly. Correct me if I'm wrong in my
> understanding of what you're trying to achieve.
> 
> The WebRequest.setURL() is used to simulate a request to the specified
> URL. It does not connect to it. The cactus client side always makes a
> HTTP connection to the Cactus Redirector. However, the servlet implicit
> objects (request, config, context, etc) are wrapped to return the
> simulated URL when asked for it.
> 
> Hope it helps.
> -Vincent
> 
> Note: I've not looked yet in the file you've provided as I wanted to get
> this clear before. I will it you tell me that this was also your
> understanding. Thanks.
> 
> > -----Original Message-----
> > From: Matt Sullivan [mailto:[EMAIL PROTECTED]]
> > Sent: 12 February 2002 20:41
> > To: Cactus Users List
> > Subject: setURL question
> >
> > First, very cool tool!
> >
> > My environment:
> >  WebLogic Server 6.1
> >  WebLogic Commerce Server 3.5
> >  JDK 1.3.1_01
> >  Cactus 1.2 (2.2)
> >
> > My application code currently works.  When my code invokes WebLogic
> > Commerce
> > Server Webflow I encounter no problems.  Typing the URI into a browser
> > directly
> > works.  My attempts to invoke the same URI with setURL() has been
> > unsuccessful.
> >
> > Any guidance is very much appreciated.
> >
> > The attached file contains debugging information.
> >
> > Thanks in advance,
> > Matt
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

GIF image

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

Reply via email to