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:
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
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
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
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)
&
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
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);
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);
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);
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
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:
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
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
13 matches
Mail list logo