Re: Conditional Branch from Servlet to URL - Continued

2011-08-27 Thread Terence M. Bandoian
On 1:59 PM, Donald Jolley wrote: JSPs should be used for output with all processing (and, hopefully, anything that can fail) having already been completed by the time the JSP runs. That's a REALLY good point. The JSP can be thought of as simply bieing a view with all (or most) of the heavy lif

Re: Conditional Branch from Servlet to URL - Continued

2011-08-26 Thread Donald Jolley
> JSPs should be used for output with all processing (and, hopefully, > anything that can fail) having already been completed by the time the > JSP runs. That's a REALLY good point. The JSP can be thought of as simply bieing a view with all (or most) of the heavy lifting done elsewhere. Within t

Re: Conditional Branch from Servlet to URL - Continued

2011-08-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Donald, Glad you got things working. On 8/25/2011 8:57 PM, Donald Jolley wrote: > Having gotten this far, my next question is this: Is there any way > that I can get this to work within the context of a jsp? Yes, but I would recommend against it.

Re: Conditional Branch from Servlet to URL - Continued

2011-08-25 Thread Donald Jolley
Chris et al, thanks ever so much for all the great help. I finally got things working. This has been quite an educational experience for me. I am appending to this message my complete *WORKING* servlet. Having gotten this far, my next question is this: Is there any way that I can get this to w

Re: Conditional Branch from Servlet to URL - Continued

2011-08-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Donald, On 8/24/2011 2:23 PM, Donald Jolley wrote: >> how can RequestDispatcher perform the forward > > I'm not sure. My objective is to institute a way of conditionally > jumping from a servlet to a specified page. This does work. You have to do s

Conditional Branch from Servlet to URL - Continued

2011-08-24 Thread Donald Jolley
Hi -- I had difficulty replying from my digest subscription. To resolve the difficulty, I have unsubscribed and resubscribed without the digest. Leo has asked the question: > how can RequestDispatcher perform the forward I'm not sure. My objective is to institute a way of conditionally jumpin

Re: Conditional Branch from Servlet to URL

2011-08-24 Thread Pid
On 24/08/2011 03:46, Leo Donahue - PLANDEVX wrote: > > From: Donald Jolley [jolleyt...@gmail.com] > Subject: Conditional Branch from Servlet to URL > > I'm not at all surprised about the "request" and "response" symbol

RE: Conditional Branch from Servlet to URL

2011-08-23 Thread Leo Donahue - PLANDEVX
From: Donald Jolley [jolleyt...@gmail.com] Subject: Conditional Branch from Servlet to URL I'm not at all surprised about the "request" and "response" symbols as they appear to be undefined. I really expected that getRequestDispatcher

Conditional Branch from Servlet to URL

2011-08-23 Thread Donald Jolley
I have a book on Tomcat. In a section entitled, "Forwarding HTTP Requests" reference is made to the fact that sometimes it's desirable to branch form a servlet to an alternative URL upon the occurrence of some condition such as encountering an exception. The book provides the following sample cod