RE: PageContextImpl.handlePageException

2003-02-04 Thread Wendell Holmes
Are you meaning "Customer c = Customer.findCustomer(email);" or
Customer c=customer.findCustomer(email); ??



Wendell Holmes, MCSE
Edulog Testing Dept.
xt. 3186


-Original Message-
From: jsp [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 04, 2003 4:51 PM
To: 'Tomcat Users List'
Subject: RE: PageContextImpl.handlePageException


Thanks for you help Carl but that didn't work either.
The thing is Im new to jsp. I got this book , .. MYSQL and JSP web
Applications by samspublishing.com . The code should work fine. I think
I've just set up my environment wrong or something. Its funny too, the
last
Three books I've bought, nothing ever works. So maybe its just me.

Thanks for the help


-Original Message-
From: Carl Trusiak [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, February 04, 2003 3:37 PM
To: Tomcat Users List
Subject: RE: PageContextImpl.handlePageException

Did you add the try to the top?  I threw that in
quick, ensure your brackets matchup properly and try
again.
--- jsp <[EMAIL PROTECTED]> wrote:
> With your code I get a syntax error it looks like...
> 
> org.apache.jasper.JasperException: Unable to compile
> class for JSP
> 
> An error occurred at line: 6 in the jsp file:
> /jsp/cust/AutoLogin2.jsp
> 
> Generated servlet error:
> [javac] Compiling 1 source file
> 
> E:\Program Files\Apache Group\Tomcat
>
4.1\work\Standalone\localhost\bfg\jsp\cust\AutoLogin2_jsp.java:95:
> 'catch' 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: PageContextImpl.handlePageException
> 
> 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);
> }
> 
> String email = null;
> String password = null;
> Cookie cook;
> 
> Customer customer = (Customer)
> pageContext.getAttribute("customer",
> PageContext.SESSION_SCOPE);
>   if (customer == null) {
>Cookie[] cookies = request.getCookies();
>BASE64Decoder dec = new BASE64Decoder();
>if (cookies != null) {
>  for (int i = 0; i < cookies.length; i++) {
>  if
> (cookies[i].getName().equals("bfgUsername")) {
>  email = new
> String(dec.decodeBuffer(cookies[i].getValue()));
>  }
>  if
> (cookies[i].getName().equals("bfgPassword")) {
>  password = new
> String(dec.decodeBuffer(cookies[i].getValue()));
>  }
>  }
>}
>if ((email != null) && (password != null)) {
>  Customer c = Customer.findCustomer(email);
>  if ((c != null) &&
> (c.getPassword().equals(password))) {
>  c.setCart(cart);
>  c.fillCart();
>  pageContext.setAttribute("customer",c,
> PageContext.SESSION_SCOPE);
>  }
>} else {
>  Customer c = new Customer();
>  c.setCart(cart);
>  pageContext.setAttribute("customer", c,
> PageContext.SESSION_SCOPE);
>}
>   }
> }
> catch(Throwable t){
>t.printStackTrace(out);
> }
> 
> Now what do you get?
> 
> 
> --- jsp <[EMAIL PROTECTED]> wrote:
> > This is the page causing the error. Im getting
> > warmer. Thanks for all
> > the help. I think I just need to read more
> > 
> > 
> > <%@ page import="com.bfg.customer.Customer" %>
> > <%@ page import="com.bfg.cart.Cart" %>
> > <%@ page import="javax.servlet.http.Cookie" %>
> > <%@ page import="sun.misc.BASE64Decoder" %>
> > 
> > 
> > <%
> > {
> >   Cart cart = (Cart)
> > pageContext.getAttribute("cart",
> > PageContext.SESSION_SCOPE);
> >   if (cart == null) {
> >   cart = new Cart();
> >   pageContext.setAttribute("cart", cart,
> > PageContext.SESSION_SCOPE);
> > }
> > 
> > String email = null;
> > String password = null;
> > Cookie cook;
> > 
> > Customer customer = (Customer)
> > pageContext.getAttribute("customer",
> > PageContext.SESSION_SCOPE);
> >   if (customer == n

RE: PageContextImpl.handlePageException

2003-02-04 Thread jsp
Thanks for you help Carl but that didn't work either.
The thing is Im new to jsp. I got this book , .. MYSQL and JSP web
Applications by samspublishing.com . The code should work fine. I think
I've just set up my environment wrong or something. Its funny too, the
last
Three books I've bought, nothing ever works. So maybe its just me.

Thanks for the help


-Original Message-
From: Carl Trusiak [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, February 04, 2003 3:37 PM
To: Tomcat Users List
Subject: RE: PageContextImpl.handlePageException

Did you add the try to the top?  I threw that in
quick, ensure your brackets matchup properly and try
again.
--- jsp <[EMAIL PROTECTED]> wrote:
> With your code I get a syntax error it looks like...
> 
> org.apache.jasper.JasperException: Unable to compile
> class for JSP
> 
> An error occurred at line: 6 in the jsp file:
> /jsp/cust/AutoLogin2.jsp
> 
> Generated servlet error:
> [javac] Compiling 1 source file
> 
> E:\Program Files\Apache Group\Tomcat
>
4.1\work\Standalone\localhost\bfg\jsp\cust\AutoLogin2_jsp.java:95:
> 'catch' 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: PageContextImpl.handlePageException
> 
> 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);
> }
> 
> String email = null;
> String password = null;
> Cookie cook;
> 
> Customer customer = (Customer)
> pageContext.getAttribute("customer",
> PageContext.SESSION_SCOPE);
>   if (customer == null) {
>Cookie[] cookies = request.getCookies();
>BASE64Decoder dec = new BASE64Decoder();
>if (cookies != null) {
>  for (int i = 0; i < cookies.length; i++) {
>  if
> (cookies[i].getName().equals("bfgUsername")) {
>  email = new
> String(dec.decodeBuffer(cookies[i].getValue()));
>  }
>  if
> (cookies[i].getName().equals("bfgPassword")) {
>  password = new
> String(dec.decodeBuffer(cookies[i].getValue()));
>  }
>  }
>}
>if ((email != null) && (password != null)) {
>  Customer c = Customer.findCustomer(email);
>  if ((c != null) &&
> (c.getPassword().equals(password))) {
>  c.setCart(cart);
>  c.fillCart();
>  pageContext.setAttribute("customer",c,
> PageContext.SESSION_SCOPE);
>  }
>} else {
>  Customer c = new Customer();
>  c.setCart(cart);
>  pageContext.setAttribute("customer", c,
> PageContext.SESSION_SCOPE);
>}
>   }
> }
> catch(Throwable t){
>t.printStackTrace(out);
> }
> 
> Now what do you get?
> 
> 
> --- jsp <[EMAIL PROTECTED]> wrote:
> > This is the page causing the error. Im getting
> > warmer. Thanks for all
> > the help. I think I just need to read more
> > 
> > 
> > <%@ page import="com.bfg.customer.Customer" %>
> > <%@ page import="com.bfg.cart.Cart" %>
> > <%@ page import="javax.servlet.http.Cookie" %>
> > <%@ page import="sun.misc.BASE64Decoder" %>
> > 
> > 
> > <%
> > {
> >   Cart cart = (Cart)
> > pageContext.getAttribute("cart",
> > PageContext.SESSION_SCOPE);
> >   if (cart == null) {
> >   cart = new Cart();
> >   pageContext.setAttribute("cart", cart,
> > PageContext.SESSION_SCOPE);
> > }
> > 
> > String email = null;
> > String password = null;
> > Cookie cook;
> > 
> > Customer customer = (Customer)
> > pageContext.getAttribute("customer",
> > PageContext.SESSION_SCOPE);
> >   if (customer == null) {
> >Cookie[] cookies = request.getCookies();
> >BASE64Decoder dec = new BASE64Decoder();
> >if (cookies != null) {
> >for (int i = 0; i < cookies.length; i++) {
> >if
> > (cookies[i].getName().equals("bfgUsername")) {
> >email = new
> > 

RE: PageContextImpl.handlePageException

2003-02-04 Thread Carl Trusiak
Did you add the try to the top?  I threw that in
quick, ensure your brackets matchup properly and try
again.
--- jsp <[EMAIL PROTECTED]> wrote:
> With your code I get a syntax error it looks like...
> 
> org.apache.jasper.JasperException: Unable to compile
> class for JSP
> 
> An error occurred at line: 6 in the jsp file:
> /jsp/cust/AutoLogin2.jsp
> 
> Generated servlet error:
> [javac] Compiling 1 source file
> 
> E:\Program Files\Apache Group\Tomcat
>
4.1\work\Standalone\localhost\bfg\jsp\cust\AutoLogin2_jsp.java:95:
> 'catch' 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: PageContextImpl.handlePageException
> 
> 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);
> }
> 
> String email = null;
> String password = null;
> Cookie cook;
> 
> Customer customer = (Customer)
> pageContext.getAttribute("customer",
> PageContext.SESSION_SCOPE);
>   if (customer == null) {
>Cookie[] cookies = request.getCookies();
>BASE64Decoder dec = new BASE64Decoder();
>if (cookies != null) {
>  for (int i = 0; i < cookies.length; i++) {
>  if
> (cookies[i].getName().equals("bfgUsername")) {
>  email = new
> String(dec.decodeBuffer(cookies[i].getValue()));
>  }
>  if
> (cookies[i].getName().equals("bfgPassword")) {
>  password = new
> String(dec.decodeBuffer(cookies[i].getValue()));
>  }
>  }
>}
>if ((email != null) && (password != null)) {
>  Customer c = Customer.findCustomer(email);
>  if ((c != null) &&
> (c.getPassword().equals(password))) {
>  c.setCart(cart);
>  c.fillCart();
>  pageContext.setAttribute("customer",c,
> PageContext.SESSION_SCOPE);
>  }
>} else {
>  Customer c = new Customer();
>  c.setCart(cart);
>  pageContext.setAttribute("customer", c,
> PageContext.SESSION_SCOPE);
>}
>   }
> }
> catch(Throwable t){
>t.printStackTrace(out);
> }
> 
> Now what do you get?
> 
> 
> --- jsp <[EMAIL PROTECTED]> wrote:
> > This is the page causing the error. Im getting
> > warmer. Thanks for all
> > the help. I think I just need to read more
> > 
> > 
> > <%@ page import="com.bfg.customer.Customer" %>
> > <%@ page import="com.bfg.cart.Cart" %>
> > <%@ page import="javax.servlet.http.Cookie" %>
> > <%@ page import="sun.misc.BASE64Decoder" %>
> > 
> > 
> > <%
> > {
> >   Cart cart = (Cart)
> > pageContext.getAttribute("cart",
> > PageContext.SESSION_SCOPE);
> >   if (cart == null) {
> >   cart = new Cart();
> >   pageContext.setAttribute("cart", cart,
> > PageContext.SESSION_SCOPE);
> > }
> > 
> > String email = null;
> > String password = null;
> > Cookie cook;
> > 
> > Customer customer = (Customer)
> > pageContext.getAttribute("customer",
> > PageContext.SESSION_SCOPE);
> >   if (customer == null) {
> >Cookie[] cookies = request.getCookies();
> >BASE64Decoder dec = new BASE64Decoder();
> >if (cookies != null) {
> >for (int i = 0; i < cookies.length; i++) {
> >if
> > (cookies[i].getName().equals("bfgUsername")) {
> >email = new
> > String(dec.decodeBuffer(cookies[i].getValue()));
> >}
> >if
> > (cookies[i].getName().equals("bfgPassword")) {
> >password = new
> > String(dec.decodeBuffer(cookies[i].getValue()));
> >}
> >    }
> >}
> >if ((email != null) && (password != null))
> {
> >Customer c = Customer.findCustomer(email);
> >if ((c != null) &&
> > (c.getPassword().equals(password))) {
> >c.setCart(ca

Re: PageContextImpl.handlePageException

2003-02-04 Thread Will Hartung
>From the spec for handlePageException():
"This method is intended to process an unhandled "page" level exception by
redirecting the exception to either the specified error page for this JSP,
or if
none was specified, to perform some implementation dependent action."

Seems to me that throwing a ServletException is Tomcats "implementation
dependant action".

So, it's "Working".

Regards,

Will Hartung
([EMAIL PROTECTED])



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




RE: PageContextImpl.handlePageException

2003-02-04 Thread jsp
With your code I get a syntax error it looks like...

org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: 6 in the jsp file: /jsp/cust/AutoLogin2.jsp

Generated servlet error:
[javac] Compiling 1 source file

E:\Program Files\Apache Group\Tomcat
4.1\work\Standalone\localhost\bfg\jsp\cust\AutoLogin2_jsp.java:95:
'catch' 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: PageContextImpl.handlePageException

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);
}

String email = null;
String password = null;
Cookie cook;

Customer customer = (Customer)
pageContext.getAttribute("customer",
PageContext.SESSION_SCOPE);
  if (customer == null) {
   Cookie[] cookies = request.getCookies();
   BASE64Decoder dec = new BASE64Decoder();
   if (cookies != null) {
   for (int i = 0; i < cookies.length; i++) {
   if
(cookies[i].getName().equals("bfgUsername")) {
   email = new
String(dec.decodeBuffer(cookies[i].getValue()));
   }
   if
(cookies[i].getName().equals("bfgPassword")) {
   password = new
String(dec.decodeBuffer(cookies[i].getValue()));
   }
   }
   }
   if ((email != null) && (password != null)) {
   Customer c = Customer.findCustomer(email);
   if ((c != null) &&
(c.getPassword().equals(password))) {
   c.setCart(cart);
   c.fillCart();
   pageContext.setAttribute("customer",c,
PageContext.SESSION_SCOPE);
   }
   } else {
   Customer c = new Customer();
   c.setCart(cart);
   pageContext.setAttribute("customer", c,
PageContext.SESSION_SCOPE);
   }
  }
}
catch(Throwable t){
   t.printStackTrace(out);
}

Now what do you get?


--- jsp <[EMAIL PROTECTED]> wrote:
> This is the page causing the error. Im getting
> warmer. Thanks for all
> the help. I think I just need to read more
> 
> 
> <%@ page import="com.bfg.customer.Customer" %>
> <%@ page import="com.bfg.cart.Cart" %>
> <%@ page import="javax.servlet.http.Cookie" %>
> <%@ page import="sun.misc.BASE64Decoder" %>
> 
> 
> <%
> {
>   Cart cart = (Cart)
> pageContext.getAttribute("cart",
> PageContext.SESSION_SCOPE);
>   if (cart == null) {
>   cart = new Cart();
>   pageContext.setAttribute("cart", cart,
> PageContext.SESSION_SCOPE);
> }
> 
> String email = null;
> String password = null;
> Cookie cook;
> 
> Customer customer = (Customer)
> pageContext.getAttribute("customer",
> PageContext.SESSION_SCOPE);
>   if (customer == null) {
>Cookie[] cookies = request.getCookies();
>BASE64Decoder dec = new BASE64Decoder();
>if (cookies != null) {
>  for (int i = 0; i < cookies.length; i++) {
>  if
> (cookies[i].getName().equals("bfgUsername")) {
>  email = new
> String(dec.decodeBuffer(cookies[i].getValue()));
>  }
>  if
> (cookies[i].getName().equals("bfgPassword")) {
>  password = new
> String(dec.decodeBuffer(cookies[i].getValue()));
>  }
>  }
>}
>if ((email != null) && (password != null)) {
>  Customer c = Customer.findCustomer(email);
>  if ((c != null) &&
> (c.getPassword().equals(password))) {
>  c.setCart(cart);
>  c.fillCart();
>  pageContext.setAttribute("customer",c,
> PageContext.SESSION_SCOPE);
>  }
>} else {
>  Customer c = new Customer();
>  c.setCart(cart);
>  pageContext.setAttribute("customer", c,
> PageContext.SESSION_SCOPE);
>}
>   }
> }
> 
> %>
> 
> -Original Message-
> From: Sean Dockery [mailto:[EMAIL PROTECTED]] 
> Sent: Tuesday, February 04, 2003 2:59 PM
> To: Tomcat Users List
> Subject: RE: PageContextImpl.handlePageException
> 
> That may not be *the* cause.  It may just be a
> symptom of the cause.
> You 
> should follow your root cause stack until you are
> satisfied

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)
> pageContext.getAttribute("cart",
> PageContext.SESSION_SCOPE);
>   if (cart == null) {
>   cart = new Cart();
>   pageContext.setAttribute("cart", cart, 
> PageContext.SESSION_SCOPE);
> }
> 
> String email = null;
> String password = null;
> Cookie cook;
> 
> Customer customer = (Customer)
> pageContext.getAttribute("customer",
> PageContext.SESSION_SCOPE);
>   if (customer == null) {
>Cookie[] cookies = request.getCookies();
>BASE64Decoder dec = new BASE64Decoder();
>if (cookies != null) {
>  for (int i = 0; i < cookies.length; i++) {
>  if
> (cookies[i].getName().equals("bfgUsername")) {
>  email = new
> String(dec.decodeBuffer(cookies[i].getValue()));
>  }
>  if
> (cookies[i].getName().equals("bfgPassword")) {
>  password = new
> String(dec.decodeBuffer(cookies[i].getValue()));
>  }
>  }
>}
>if ((email != null) && (password != null)) {
>  Customer c = Customer.findCustomer(email);
>  if ((c != null) &&
> (c.getPassword().equals(password))) {
>  c.setCart(cart);
>  c.fillCart();
>  pageContext.setAttribute("customer",c,
> PageContext.SESSION_SCOPE);
>  }
>} else {
>  Customer c = new Customer();
>  c.setCart(cart);
>  pageContext.setAttribute("customer", c,
> PageContext.SESSION_SCOPE);
>}
>   }
> }
> catch(Throwable t){
>t.printStackTrace(out);
> }
> 
> Now what do you get?
> 
> 
> --- jsp <[EMAIL PROTECTED]> wrote:
> > This is the page causing the error. Im getting
> > warmer. Thanks for all
> > the help. I think I just need to read more
> > 
> > 
> > <%@ page import="com.bfg.customer.Customer" %>
> > <%@ page import="com.bfg.cart.Cart" %>
> > <%@ page import="javax.servlet.http.Cookie" %>
> > <%@ page import="sun.misc.BASE64Decoder" %>
> > 
> > 
> > <%
> > {
> >   Cart cart = (Cart)
> > pageContext.getAttribute("cart",
> > PageContext.SESSION_SCOPE);
> >   if (cart == null) {
> >   cart = new Cart();
> >   pageContext.setAttribute("cart", cart,
> > PageContext.SESSION_SCOPE);
> > }
> > 
> > String email = null;
> > String password = null;
> > Cookie cook;
> > 
> > Customer customer = (Customer)
> > pageContext.getAttribute("customer",
> > PageContext.SESSION_SCOPE);
> >   if (customer == null) {
> >Cookie[] cookies = request.getCookies();
> >BASE64Decoder dec = new BASE64Decoder();
> >if (cookies != null) {
> >for (int i = 0; i < cookies.length; i++) {
> >if
> > (cookies[i].getName().equals("bfgUsername")) {
> >email = new
> > String(dec.decodeBuffer(cookies[i].getValue()));
> >}
> >if
> > (cookies[i].getName().equals("bfgPassword")) {
> >password = new
> > String(dec.decodeBuffer(cookies[i].getValue()));
> >}
> >}
> >}
> >if ((email != null) && (password != null))
> {
> >Customer c = Customer.findCustomer(email);
> >if ((c != null) &&
> > (c.getPassword().equals(password))) {
> >c.setCart(cart);
> >c.fillCart();
> >pageContext.setAttribute("customer",c,
> > PageContext.SESSION_SCOPE);
> >}
> >} else {
> >Customer c = new Customer();
> >c.setCart(cart);
> >pageContext.setAttribute("customer", c,
> > PageContext.SESSION_SCOPE);
> >}
> >   }
> > }
> > 
> > %>
> > 
> > -Original Message-
> > From: Sean Dockery
> [mailto:[EMAIL PROTECTED]] 
> > Sent: Tuesday, February 04, 2003 2:59 PM
> > To: Tomcat Users List
> > Subject: RE: PageContextImpl.handlePageException
> > 
> > That may not be *the* cause.  It may jus

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) pageContext.getAttribute("cart",
PageContext.SESSION_SCOPE);
  if (cart == null) {
  cart = new Cart();
  pageContext.setAttribute("cart", cart, 
PageContext.SESSION_SCOPE);
}

String email = null;
String password = null;
Cookie cook;

Customer customer = (Customer)
pageContext.getAttribute("customer",
PageContext.SESSION_SCOPE);
  if (customer == null) {
   Cookie[] cookies = request.getCookies();
   BASE64Decoder dec = new BASE64Decoder();
   if (cookies != null) {
   for (int i = 0; i < cookies.length; i++) {
   if
(cookies[i].getName().equals("bfgUsername")) {
   email = new
String(dec.decodeBuffer(cookies[i].getValue()));
   }
   if
(cookies[i].getName().equals("bfgPassword")) {
   password = new
String(dec.decodeBuffer(cookies[i].getValue()));
   }
   }
   }
   if ((email != null) && (password != null)) {
   Customer c = Customer.findCustomer(email);
   if ((c != null) &&
(c.getPassword().equals(password))) {
   c.setCart(cart);
   c.fillCart();
   pageContext.setAttribute("customer",c,
PageContext.SESSION_SCOPE);
   }
   } else {
   Customer c = new Customer();
   c.setCart(cart);
   pageContext.setAttribute("customer", c,
PageContext.SESSION_SCOPE);
   }
  }
}
catch(Throwable t){
   t.printStackTrace(out);
}
%>
Now what do you get?




__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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




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);
}

String email = null;
String password = null;
Cookie cook;

Customer customer = (Customer)
pageContext.getAttribute("customer",
PageContext.SESSION_SCOPE);
  if (customer == null) {
   Cookie[] cookies = request.getCookies();
   BASE64Decoder dec = new BASE64Decoder();
   if (cookies != null) {
   for (int i = 0; i < cookies.length; i++) {
   if
(cookies[i].getName().equals("bfgUsername")) {
   email = new
String(dec.decodeBuffer(cookies[i].getValue()));
   }
   if
(cookies[i].getName().equals("bfgPassword")) {
   password = new
String(dec.decodeBuffer(cookies[i].getValue()));
   }
   }
   }
   if ((email != null) && (password != null)) {
   Customer c = Customer.findCustomer(email);
   if ((c != null) &&
(c.getPassword().equals(password))) {
   c.setCart(cart);
   c.fillCart();
   pageContext.setAttribute("customer",c,
PageContext.SESSION_SCOPE);
   }
   } else {
   Customer c = new Customer();
   c.setCart(cart);
   pageContext.setAttribute("customer", c,
PageContext.SESSION_SCOPE);
   }
  }
}
catch(Throwable t){
   t.printStackTrace(out);
}

Now what do you get?


--- jsp <[EMAIL PROTECTED]> wrote:
> This is the page causing the error. Im getting
> warmer. Thanks for all
> the help. I think I just need to read more
> 
> 
> <%@ page import="com.bfg.customer.Customer" %>
> <%@ page import="com.bfg.cart.Cart" %>
> <%@ page import="javax.servlet.http.Cookie" %>
> <%@ page import="sun.misc.BASE64Decoder" %>
> 
> 
> <%
> {
>   Cart cart = (Cart)
> pageContext.getAttribute("cart",
> PageContext.SESSION_SCOPE);
>   if (cart == null) {
>   cart = new Cart();
>   pageContext.setAttribute("cart", cart,
> PageContext.SESSION_SCOPE);
> }
> 
> String email = null;
> String password = null;
> Cookie cook;
> 
> Customer customer = (Customer)
> pageContext.getAttribute("customer",
> PageContext.SESSION_SCOPE);
>   if (customer == null) {
>Cookie[] cookies = request.getCookies();
>BASE64Decoder dec = new BASE64Decoder();
>if (cookies != null) {
>  for (int i = 0; i < cookies.length; i++) {
>  if
> (cookies[i].getName().equals("bfgUsername")) {
>  email = new
> String(dec.decodeBuffer(cookies[i].getValue()));
>  }
>  if
> (cookies[i].getName().equals("bfgPassword")) {
>  password = new
> String(dec.decodeBuffer(cookies[i].getValue()));
>  }
>  }
>}
>if ((email != null) && (password != null)) {
>  Customer c = Customer.findCustomer(email);
>  if ((c != null) &&
> (c.getPassword().equals(password))) {
>  c.setCart(cart);
>  c.fillCart();
>  pageContext.setAttribute("customer",c,
> PageContext.SESSION_SCOPE);
>  }
>} else {
>  Customer c = new Customer();
>  c.setCart(cart);
>  pageContext.setAttribute("customer", c,
> PageContext.SESSION_SCOPE);
>}
>   }
> }
> 
> %>
> 
> -Original Message-
> From: Sean Dockery [mailto:[EMAIL PROTECTED]] 
> Sent: Tuesday, February 04, 2003 2:59 PM
> To: Tomcat Users List
> Subject: RE: PageContextImpl.handlePageException
> 
> That may not be *the* cause.  It may just be a
> symptom of the cause.
> You 
> should follow your root cause stack until you are
> satisfied that you 
> discovered the real cause.
> 
> At 15:47 2003-02-04, you wrote:
> >Hi thanks for the reply, this is the cause.
> >
> >if (pageContext != null)
> pageContext.handlePageException(t);
> >
> >Im just trying to find out whats causing this
> thought maybe someone
> >Would have an idea besides my own incompetence.
> >
> >Thanks
> >
> >-Original Message-
> >From: Sean Dockery [mailto:[EMAIL PROTECTED]]
> >Sent: Tuesday, February 04, 2003 2:34 PM
> >To: Tomcat Users List
> >Subject: Re: PageContextImpl.handlePageException

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);
}

String email = null;
String password = null;
Cookie cook;

Customer customer = (Customer)
pageContext.getAttribute("customer",
PageContext.SESSION_SCOPE);
  if (customer == null) {
   Cookie[] cookies = request.getCookies();
   BASE64Decoder dec = new BASE64Decoder();
   if (cookies != null) {
   for (int i = 0; i < cookies.length; i++) {
   if
(cookies[i].getName().equals("bfgUsername")) {
   email = new
String(dec.decodeBuffer(cookies[i].getValue()));
   }
   if
(cookies[i].getName().equals("bfgPassword")) {
   password = new
String(dec.decodeBuffer(cookies[i].getValue()));
   }
   }
   }
   if ((email != null) && (password != null)) {
   Customer c = Customer.findCustomer(email);
   if ((c != null) &&
(c.getPassword().equals(password))) {
   c.setCart(cart);
   c.fillCart();
   pageContext.setAttribute("customer",c,
PageContext.SESSION_SCOPE);
   }
   } else {
   Customer c = new Customer();
   c.setCart(cart);
   pageContext.setAttribute("customer", c,
PageContext.SESSION_SCOPE);
   }
  }
}
catch(Throwable t){
   t.printStackTrace(out);
}

Now what do you get?


--- jsp <[EMAIL PROTECTED]> wrote:
> This is the page causing the error. Im getting
> warmer. Thanks for all
> the help. I think I just need to read more
> 
> 
> <%@ page import="com.bfg.customer.Customer" %>
> <%@ page import="com.bfg.cart.Cart" %>
> <%@ page import="javax.servlet.http.Cookie" %>
> <%@ page import="sun.misc.BASE64Decoder" %>
> 
> 
> <%
> {
>   Cart cart = (Cart)
> pageContext.getAttribute("cart",
> PageContext.SESSION_SCOPE);
>   if (cart == null) {
>   cart = new Cart();
>   pageContext.setAttribute("cart", cart,
> PageContext.SESSION_SCOPE);
> }
> 
> String email = null;
> String password = null;
> Cookie cook;
> 
> Customer customer = (Customer)
> pageContext.getAttribute("customer",
> PageContext.SESSION_SCOPE);
>   if (customer == null) {
>Cookie[] cookies = request.getCookies();
>BASE64Decoder dec = new BASE64Decoder();
>if (cookies != null) {
>  for (int i = 0; i < cookies.length; i++) {
>  if
> (cookies[i].getName().equals("bfgUsername")) {
>  email = new
> String(dec.decodeBuffer(cookies[i].getValue()));
>  }
>  if
> (cookies[i].getName().equals("bfgPassword")) {
>  password = new
> String(dec.decodeBuffer(cookies[i].getValue()));
>  }
>  }
>}
>if ((email != null) && (password != null)) {
>  Customer c = Customer.findCustomer(email);
>  if ((c != null) &&
> (c.getPassword().equals(password))) {
>  c.setCart(cart);
>  c.fillCart();
>  pageContext.setAttribute("customer",c,
> PageContext.SESSION_SCOPE);
>  }
>} else {
>  Customer c = new Customer();
>  c.setCart(cart);
>  pageContext.setAttribute("customer", c,
> PageContext.SESSION_SCOPE);
>}
>   }
> }
> 
> %>
> 
> -Original Message-
> From: Sean Dockery [mailto:[EMAIL PROTECTED]] 
> Sent: Tuesday, February 04, 2003 2:59 PM
> To: Tomcat Users List
> Subject: RE: PageContextImpl.handlePageException
> 
> That may not be *the* cause.  It may just be a
> symptom of the cause.
> You 
> should follow your root cause stack until you are
> satisfied that you 
> discovered the real cause.
> 
> At 15:47 2003-02-04, you wrote:
> >Hi thanks for the reply, this is the cause.
> >
> >if (pageContext != null)
> pageContext.handlePageException(t);
> >
> >Im just trying to find out whats causing this
> thought maybe someone
> >Would have an idea besides my own incompetence.
> >
> >Thanks
> >
> >-Original Message-
> >From: Sean Dockery [mailto:[EMAIL PROTECTED]]
> >Sent: Tuesday, February 04, 2003 2:34 PM
> >To: Tomcat Users List
> >Subject: Re: PageContextImpl.handlePageException

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);
}

String email = null;
String password = null;
Cookie cook;

Customer customer = (Customer)
pageContext.getAttribute("customer",
PageContext.SESSION_SCOPE);
  if (customer == null) {
   Cookie[] cookies = request.getCookies();
   BASE64Decoder dec = new BASE64Decoder();
   if (cookies != null) {
   for (int i = 0; i < cookies.length; i++) {
   if
(cookies[i].getName().equals("bfgUsername")) {
   email = new
String(dec.decodeBuffer(cookies[i].getValue()));
   }
   if
(cookies[i].getName().equals("bfgPassword")) {
   password = new
String(dec.decodeBuffer(cookies[i].getValue()));
   }
   }
   }
   if ((email != null) && (password != null)) {
   Customer c = Customer.findCustomer(email);
   if ((c != null) &&
(c.getPassword().equals(password))) {
   c.setCart(cart);
   c.fillCart();
   pageContext.setAttribute("customer",c,
PageContext.SESSION_SCOPE);
   }
   } else {
   Customer c = new Customer();
   c.setCart(cart);
   pageContext.setAttribute("customer", c,
PageContext.SESSION_SCOPE);
   }
  }
}
catch(Throwable t){
   t.printStackTrace(out);
}

Now what do you get?


--- jsp <[EMAIL PROTECTED]> wrote:
> This is the page causing the error. Im getting
> warmer. Thanks for all
> the help. I think I just need to read more
> 
> 
> <%@ page import="com.bfg.customer.Customer" %>
> <%@ page import="com.bfg.cart.Cart" %>
> <%@ page import="javax.servlet.http.Cookie" %>
> <%@ page import="sun.misc.BASE64Decoder" %>
> 
> 
> <%
> {
>   Cart cart = (Cart)
> pageContext.getAttribute("cart",
> PageContext.SESSION_SCOPE);
>   if (cart == null) {
>   cart = new Cart();
>   pageContext.setAttribute("cart", cart,
> PageContext.SESSION_SCOPE);
> }
> 
> String email = null;
> String password = null;
> Cookie cook;
> 
> Customer customer = (Customer)
> pageContext.getAttribute("customer",
> PageContext.SESSION_SCOPE);
>   if (customer == null) {
>Cookie[] cookies = request.getCookies();
>BASE64Decoder dec = new BASE64Decoder();
>if (cookies != null) {
>  for (int i = 0; i < cookies.length; i++) {
>  if
> (cookies[i].getName().equals("bfgUsername")) {
>  email = new
> String(dec.decodeBuffer(cookies[i].getValue()));
>  }
>  if
> (cookies[i].getName().equals("bfgPassword")) {
>  password = new
> String(dec.decodeBuffer(cookies[i].getValue()));
>  }
>  }
>}
>if ((email != null) && (password != null)) {
>  Customer c = Customer.findCustomer(email);
>  if ((c != null) &&
> (c.getPassword().equals(password))) {
>  c.setCart(cart);
>  c.fillCart();
>  pageContext.setAttribute("customer",c,
> PageContext.SESSION_SCOPE);
>  }
>} else {
>  Customer c = new Customer();
>  c.setCart(cart);
>  pageContext.setAttribute("customer", c,
> PageContext.SESSION_SCOPE);
>}
>   }
> }
> 
> %>
> 
> -Original Message-
> From: Sean Dockery [mailto:[EMAIL PROTECTED]] 
> Sent: Tuesday, February 04, 2003 2:59 PM
> To: Tomcat Users List
> Subject: RE: PageContextImpl.handlePageException
> 
> That may not be *the* cause.  It may just be a
> symptom of the cause.
> You 
> should follow your root cause stack until you are
> satisfied that you 
> discovered the real cause.
> 
> At 15:47 2003-02-04, you wrote:
> >Hi thanks for the reply, this is the cause.
> >
> >if (pageContext != null)
> pageContext.handlePageException(t);
> >
> >Im just trying to find out whats causing this
> thought maybe someone
> >Would have an idea besides my own incompetence.
> >
> >Thanks
> >
> >-Original Message-
> >From: Sean Dockery [mailto:[EMAIL PROTECTED]]
> >Sent: Tuesday, February 04, 2003 2:34 PM
> >To: Tomcat Users List
> >Subject: Re: PageContextImpl.handlePageException

RE: PageContextImpl.handlePageException

2003-02-04 Thread jsp
This is the page causing the error. Im getting warmer. Thanks for all
the help. I think I just need to read more


<%@ page import="com.bfg.customer.Customer" %>
<%@ page import="com.bfg.cart.Cart" %>
<%@ page import="javax.servlet.http.Cookie" %>
<%@ page import="sun.misc.BASE64Decoder" %>


<%
{
  Cart cart = (Cart) pageContext.getAttribute("cart",
PageContext.SESSION_SCOPE);
  if (cart == null) {
  cart = new Cart();
  pageContext.setAttribute("cart", cart, PageContext.SESSION_SCOPE);
}

String email = null;
String password = null;
Cookie cook;

Customer customer = (Customer) pageContext.getAttribute("customer",
PageContext.SESSION_SCOPE);
  if (customer == null) {
   Cookie[] cookies = request.getCookies();
   BASE64Decoder dec = new BASE64Decoder();
   if (cookies != null) {
   for (int i = 0; i < cookies.length; i++) {
   if (cookies[i].getName().equals("bfgUsername")) {
   email = new
String(dec.decodeBuffer(cookies[i].getValue()));
   }
   if (cookies[i].getName().equals("bfgPassword")) {
   password = new
String(dec.decodeBuffer(cookies[i].getValue()));
   }
   }
   }
   if ((email != null) && (password != null)) {
   Customer c = Customer.findCustomer(email);
   if ((c != null) && (c.getPassword().equals(password))) {
   c.setCart(cart);
   c.fillCart();
   pageContext.setAttribute("customer",c,
PageContext.SESSION_SCOPE);
   }
   } else {
   Customer c = new Customer();
   c.setCart(cart);
   pageContext.setAttribute("customer", c,
PageContext.SESSION_SCOPE);
   }
  }
}

%>

-Original Message-
From: Sean Dockery [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, February 04, 2003 2:59 PM
To: Tomcat Users List
Subject: RE: PageContextImpl.handlePageException

That may not be *the* cause.  It may just be a symptom of the cause.
You 
should follow your root cause stack until you are satisfied that you 
discovered the real cause.

At 15:47 2003-02-04, you wrote:
>Hi thanks for the reply, this is the cause.
>
>if (pageContext != null) pageContext.handlePageException(t);
>
>Im just trying to find out whats causing this thought maybe someone
>Would have an idea besides my own incompetence.
>
>Thanks
>
>-Original Message-
>From: Sean Dockery [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, February 04, 2003 2:34 PM
>To: Tomcat Users List
>Subject: Re: PageContextImpl.handlePageException
>
>Look at line 251 in
>$TOMCAT_HOME/_work/appname/org/apache/jsp/index_jsp.java to see what
>caused
>the exception.
>
>At 14:22 2003-02-04, you wrote:
> >root cause
> >
> >javax.servlet.ServletException
> > at
>
>org.apache.jasper.runtime.PageContextImpl.handlePageException(PageConte
>x
> >tImpl.java:533)
> > at org.apache.jsp.index_jsp._jspService(index_jsp.java:251)
>
>Sean Dockery
>[EMAIL PROTECTED]
>Certified Java Web Component Developer
>Certified Delphi Programmer
>SBD Consultants
>http://www.sbdconsultants.com
>
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]

Sean Dockery
[EMAIL PROTECTED]
Certified Java Web Component Developer
Certified Delphi Programmer
SBD Consultants
http://www.sbdconsultants.com



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


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




RE: PageContextImpl.handlePageException

2003-02-04 Thread jsp
Yes, it's working just great. I guess I worded it wrong. T looks to me
just
Like some place stored in memory to shoot out the error...
} catch (Throwable t) {
  out = _jspx_out;
  if (out != null && out.getBufferSize() != 0)
out.clearBuffer();
  if (pageContext != null) pageContext.handlePageException(t);
} finally {
  if (_jspxFactory != null)
_jspxFactory.releasePageContext(pageContext);
}
  }
}

I'm just here trying to figure out how to make pageContext happy so it
does
Not complain any more.

-wiley



-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, February 04, 2003 2:52 PM
To: 'Tomcat Users List'
Subject: RE: PageContextImpl.handlePageException

What were you expecting pageContext.handlePageException(t) to do?
I had always thought it purpose was to throw a servlet exception.  In
which
case it it working the way it should.

Also what is the definition of t?

-Original Message-
From: jsp [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 04, 2003 3:47 PM
To: 'Tomcat Users List'
Subject: RE: PageContextImpl.handlePageException


Hi thanks for the reply, this is the cause.

if (pageContext != null) pageContext.handlePageException(t);

Im just trying to find out whats causing this thought maybe someone
Would have an idea besides my own incompetence.

Thanks

-Original Message-
From: Sean Dockery [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, February 04, 2003 2:34 PM
To: Tomcat Users List
Subject: Re: PageContextImpl.handlePageException

Look at line 251 in 
$TOMCAT_HOME/_work/appname/org/apache/jsp/index_jsp.java to see what
caused 
the exception.

At 14:22 2003-02-04, you wrote:
>root cause
>
>javax.servlet.ServletException
> at
>org.apache.jasper.runtime.PageContextImpl.handlePageException(PageConte
x
>tImpl.java:533)
> at org.apache.jsp.index_jsp._jspService(index_jsp.java:251)

Sean Dockery
[EMAIL PROTECTED]
Certified Java Web Component Developer
Certified Delphi Programmer
SBD Consultants
http://www.sbdconsultants.com



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


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

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


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




RE: PageContextImpl.handlePageException

2003-02-04 Thread Sean Dockery
That may not be *the* cause.  It may just be a symptom of the cause.  You 
should follow your root cause stack until you are satisfied that you 
discovered the real cause.

At 15:47 2003-02-04, you wrote:
Hi thanks for the reply, this is the cause.

if (pageContext != null) pageContext.handlePageException(t);

Im just trying to find out whats causing this thought maybe someone
Would have an idea besides my own incompetence.

Thanks

-Original Message-
From: Sean Dockery [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 04, 2003 2:34 PM
To: Tomcat Users List
Subject: Re: PageContextImpl.handlePageException

Look at line 251 in
$TOMCAT_HOME/_work/appname/org/apache/jsp/index_jsp.java to see what
caused
the exception.

At 14:22 2003-02-04, you wrote:
>root cause
>
>javax.servlet.ServletException
> at
>org.apache.jasper.runtime.PageContextImpl.handlePageException(PageConte
x
>tImpl.java:533)
> at org.apache.jsp.index_jsp._jspService(index_jsp.java:251)

Sean Dockery
[EMAIL PROTECTED]
Certified Java Web Component Developer
Certified Delphi Programmer
SBD Consultants
http://www.sbdconsultants.com



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


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


Sean Dockery
[EMAIL PROTECTED]
Certified Java Web Component Developer
Certified Delphi Programmer
SBD Consultants
http://www.sbdconsultants.com



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




RE: PageContextImpl.handlePageException

2003-02-04 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
What were you expecting pageContext.handlePageException(t) to do?
I had always thought it purpose was to throw a servlet exception.  In which
case it it working the way it should.

Also what is the definition of t?

-Original Message-
From: jsp [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 04, 2003 3:47 PM
To: 'Tomcat Users List'
Subject: RE: PageContextImpl.handlePageException


Hi thanks for the reply, this is the cause.

if (pageContext != null) pageContext.handlePageException(t);

Im just trying to find out whats causing this thought maybe someone
Would have an idea besides my own incompetence.

Thanks

-Original Message-
From: Sean Dockery [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, February 04, 2003 2:34 PM
To: Tomcat Users List
Subject: Re: PageContextImpl.handlePageException

Look at line 251 in 
$TOMCAT_HOME/_work/appname/org/apache/jsp/index_jsp.java to see what
caused 
the exception.

At 14:22 2003-02-04, you wrote:
>root cause
>
>javax.servlet.ServletException
> at
>org.apache.jasper.runtime.PageContextImpl.handlePageException(PageConte
x
>tImpl.java:533)
> at org.apache.jsp.index_jsp._jspService(index_jsp.java:251)

Sean Dockery
[EMAIL PROTECTED]
Certified Java Web Component Developer
Certified Delphi Programmer
SBD Consultants
http://www.sbdconsultants.com



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


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

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




RE: PageContextImpl.handlePageException

2003-02-04 Thread jsp
Hi thanks for the reply, this is the cause.

if (pageContext != null) pageContext.handlePageException(t);

Im just trying to find out whats causing this thought maybe someone
Would have an idea besides my own incompetence.

Thanks

-Original Message-
From: Sean Dockery [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, February 04, 2003 2:34 PM
To: Tomcat Users List
Subject: Re: PageContextImpl.handlePageException

Look at line 251 in 
$TOMCAT_HOME/_work/appname/org/apache/jsp/index_jsp.java to see what
caused 
the exception.

At 14:22 2003-02-04, you wrote:
>root cause
>
>javax.servlet.ServletException
> at
>org.apache.jasper.runtime.PageContextImpl.handlePageException(PageConte
x
>tImpl.java:533)
> at org.apache.jsp.index_jsp._jspService(index_jsp.java:251)

Sean Dockery
[EMAIL PROTECTED]
Certified Java Web Component Developer
Certified Delphi Programmer
SBD Consultants
http://www.sbdconsultants.com



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


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




Re: PageContextImpl.handlePageException

2003-02-04 Thread Sean Dockery
Look at line 251 in 
$TOMCAT_HOME/_work/appname/org/apache/jsp/index_jsp.java to see what caused 
the exception.

At 14:22 2003-02-04, you wrote:
root cause

javax.servlet.ServletException
at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContex
tImpl.java:533)
at org.apache.jsp.index_jsp._jspService(index_jsp.java:251)


Sean Dockery
[EMAIL PROTECTED]
Certified Java Web Component Developer
Certified Delphi Programmer
SBD Consultants
http://www.sbdconsultants.com



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