Re: using static helper classes within servlets

2009-06-15 Thread Sid Sidney
I appreciate all of the great input. Thanks!!! --- On Mon, 6/15/09, Jonathan Mast wrote: From: Jonathan Mast Subject: Re: using static helper classes within servlets To: "Tomcat Users List" Date: Monday, June 15, 2009, 2:32 PM Sid, what everyone is saying about my first reply to your post is

Re: using static helper classes within servlets

2009-06-15 Thread Sid Sidney
14, 2009, 9:12 PM That's too bad.  A workable solution in EJB 2.1 would be to use a stateless bean and set the pool size to 1.  That will effectively give you a singleton, though keep in mind it won't be multithreaded so code appropriately. -David On Jun 14, 2009, at 5:17 PM, Sid S

Re: using static helper classes within servlets

2009-06-14 Thread Sid Sidney
    public static synchronized getSomeBean() { >>             if (someBean == null) someBean = new SomeBean(); >>             return someBean; >>     } >> } >> >> I have now numerous Servlets, JSPs and POJOs that use BeanBag to obtain >> singleton instances

Re: using static helper classes within servlets

2009-06-14 Thread Sid Sidney
BeanBag to obtain singleton instances of my beans.  Its worked great for me. On Sun, Jun 14, 2009 at 8:28 AM, Sid Sidney wrote: > > > >            HI, > > > > In my web app, my servlets user several delegate classes that connect > to ejbs (session beans.)  I was thinkin

using static helper classes within servlets

2009-06-14 Thread Sid Sidney
  HI,   In my web app, my servlets user several delegate classes that connect to ejbs (session beans.)  I was thinking about putting these delegates into a helper class as static properties. That way my servlets can just reference the same delegates. I don't want to

Re: j_security_check/j_username/j_password issue in Tomcat Version 6.0.18

2009-05-15 Thread Sid Sidney
You should check to see if you are able to get the parameters when the request(s) is send via a "get" vs. a "post".    --- On Wed, 5/6/09, Sanjay Manchiganti wrote: From: Sanjay Manchiganti Subject: Re: j_security_check/j_username/j_password issue in Tomcat Version 6.0.18 To: "Tomcat Users L

Re: How to make request parameters available to a login.jsp?

2009-05-14 Thread Sid Sidney
The more I think about it, this is definitely a bug. The reason I think that is because when the request is via a "get" the request parameters are available. However, if the request is via a "post" the request parameters are not available.   I'm going to submit this a a bug. --- On Wed, 5/6/09,

Re: j_security_check/j_username/j_password issue in Tomcat Version 6.0.18

2009-05-05 Thread Sid Sidney
I looks like it has changed. I have the same problem getting parameters from this page that have been submitted via a post. However, I think that maybe the answer lies in the valve "org.apache.catalina.authenticator.FormAuthenticator"  I'm sure that if you add the you will get to the value

Re: How to make request parameters available to a login.jsp?

2009-05-04 Thread Sid Sidney
One thing I've just found out is that if I enable the  RequestDumperValue The post data becomes available to the login.jsp.   I'm going to have to look more at this. --- On Mon, 5/4/09, Sid Sidney wrote: From: Sid Sidney Subject: Re: How to make request parameters available to a

Re: How to make request parameters available to a login.jsp?

2009-05-04 Thread Sid Sidney
mcat Users List" Date: Monday, May 4, 2009, 2:45 PM Sid Sidney wrote: > Tomcat does remembers the original "POST data". I know because once a user successfuly sings in, the original "POST data" is available either from a jsp or servlet. The problem is that it is not avai

Re: How to make request parameters available to a login.jsp?

2009-05-04 Thread Sid Sidney
Schultz wrote: From: Christopher Schultz Subject: Re: How to make request parameters available to a login.jsp? To: "Tomcat Users List" Date: Monday, May 4, 2009, 5:04 PM -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sid, On 5/4/2009 9:26 AM, Sid Sidney wrote: > The secured

Re: Tomcat Configuration in Eclipse

2009-05-04 Thread Sid Sidney
I would check and make sure that Tomcat is not being started as a service in your machine. --- On Mon, 5/4/09, ados1...@gmail.com wrote: From: ados1...@gmail.com Subject: Re: Tomcat Configuration in Eclipse To: "Tomcat Users List" Date: Monday, May 4, 2009, 1:54 PM Hello, With the help of Plu

RE: How to make request parameters available to a login.jsp?

2009-05-04 Thread Sid Sidney
Tomcat does remembers the original "POST data". I know because once a user successfuly sings in, the original "POST data" is available  either from a jsp or servlet. The problem is that it is not available within the login.jsp page.  --- On Mon, 5/4/09, Caldarale, Charles R wrote: From: Caldara

RE: How to make request parameters available to a login.jsp?

2009-05-04 Thread Sid Sidney
What should I be looking in the ActionServlet.java??? Since control is not here yet?  I'm not trying to be rude, but not sure how that would help.  The same problem happens when I request a jsp file.  --- On Mon, 5/4/09, Martin Gainty wrote: From: Martin Gainty Subject: RE: How to make request

Re: bizarre return messages

2009-05-04 Thread Sid Sidney
Yup, I got this today. --- On Mon, 5/4/09, André Warnier wrote: From: André Warnier Subject: bizarre return messages To: "Tomcat Users List" Date: Monday, May 4, 2009, 10:04 AM Hi. Is anyone experiencing the same phenomenon ? Since a couple of days, each message I send to the list triggers an

How to make request parameters available to a login.jsp?

2009-05-04 Thread Sid Sidney
Hi, I have posted this question in many different forum, but I still have not found an answer. Perhaps, I will in this list.  I have a secured resource in Tomcat. My resources are secured via FORM authentication (j_security_check). The secured resources are requested from an external page like t