RE: Tomcat 3.3.1 HttpSessionBindingListener not found

2003-02-04 Thread Carl Trusiak
2.2. > You will find it in Tomcat 3.x's servlet.jar. > > Cheers, > Larry > > > -Original Message- > > From: Carl Trusiak [mailto:[EMAIL PROTECTED]] > > > Sent: Tuesday, February 04, 2003 6:35 PM > > To: Tomcat Users List > > Subject: RE:

RE: Why won't anyone help me out??

2003-02-04 Thread Carl Trusiak
Good, now on to your original question. When you reference the JSP bean, add the fully qualified class name to it(package and class name ex: java.lang.String). Since you didn't specify the package, JSP trys to add the package of your page to the front of the class anme and load it. --- Steve Bu

RE: PageContextImpl.handlePageException

2003-02-04 Thread Carl Trusiak
ch' without 'try' > catch(Throwable t){ > ^ > 1 error > > > hm. The pain > > -Original Message- > From: Carl Trusiak [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 04, 2003 3:23 PM > To: Tomcat Users List > Subject: RE: PageCon

RE: Tomcat 3.3.1 HttpSessionBindingListener not found

2003-02-04 Thread Carl Trusiak
HttpSessionBindingListener was introduced with Servlet 2.3. Tomcat 3.3 is based on Servlet 2.2. The servlet.jar you added into your classpath must be for 2.3. I don't think you can be sure of any behavior with this configuration. If you want to use HttpSessionBindingListener you should upgrade t

RE: PageContextImpl.handlePageException

2003-02-04 Thread Carl Trusiak
Sorry all for the multiple posts, Yahoo kept giving me an erro and I didn't think they sent. --- Carl Trusiak <[EMAIL PROTECTED]> wrote: > A little much for a jsp page, I'd factor this into a > class. However, change this to: > try > { > Cart cart = (Cart) &

RE: PageContextImpl.handlePageException

2003-02-04 Thread Carl Trusiak
A little much for a jsp page, I'd factor this into a class. However, change this to: <%@ page import="com.bfg.customer.Customer" %> <%@ page import="com.bfg.cart.Cart" %> <%@ page import="javax.servlet.http.Cookie" %> <%@ page import="sun.misc.BASE64Decoder" %> <% try { Cart cart = (Cart) pageCo

RE: PageContextImpl.handlePageException

2003-02-04 Thread Carl Trusiak
A little much for a jsp page, I'd factor this into a class. However, change this to: try { Cart cart = (Cart) pageContext.getAttribute("cart", PageContext.SESSION_SCOPE); if (cart == null) { cart = new Cart(); pageContext.setAttribute("cart", cart, PageContext.SESSION_SCOPE);

RE: PageContextImpl.handlePageException

2003-02-04 Thread Carl Trusiak
A little much for a jsp page, I'd factor this into a class. However, change this to: try { Cart cart = (Cart) pageContext.getAttribute("cart", PageContext.SESSION_SCOPE); if (cart == null) { cart = new Cart(); pageContext.setAttribute("cart", cart, PageContext.SESSION_SCOPE);

RE: PageContextImpl.handlePageException

2003-02-04 Thread Carl Trusiak
A little much for a jsp page, I'd factor this into a class. However, change this to: try { Cart cart = (Cart) pageContext.getAttribute("cart", PageContext.SESSION_SCOPE); if (cart == null) { cart = new Cart(); pageContext.setAttribute("cart", cart, PageContext.SESSION_SCOPE);

Re: Simultaneous request from same IP

2002-12-16 Thread Carl Trusiak
I have seen this. The only time was caused by html and javascript. We had Then in the doSomething() method, we did a form.submit(); The click of the submit input caused a submit of the form, followed by a submit by the javascript. We corrected this by changing the input type to button. May n

Re: Precomplie Jsps

2002-12-14 Thread Carl Trusiak
If you are using Ant, there is an Optional task which ships with it. I use it on my project and it works great. I have Tomcat 4.1.12 and Ant 1.5.1 The Relavent portions are:

Re: Where to put JSP files?

2002-12-06 Thread Carl Trusiak
To prevent users from seeing any directory add the entry index.jsp To your web.xml and in every directory, place a copy of index.jsp. It can just be a redirect to your home page. --- Peter Lee <[EMAIL PROTECTED]> wrote: > Where should I put my jsp files? I usuall

Re: Hi all .. licence issue ..

2002-11-27 Thread Carl Trusiak
The license states : "1. LICENSE TO USE. Sun grants you a non-exclusive and non-transferable license for the internal use only of the accompanying software..." This seems to me to be all the permission you need to use the SDK within your company. In addition, there is language that allows you t