Re: Debug JSP - how to?

2001-06-29 Thread Johan Fredriksson

Try uncommenting the error-page thing in web.xml, this would let you see
what is actually going on.

Johan
- Original Message -
From: Henrik Skafsgaard Larsen [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Friday, June 29, 2001 8:07 AM
Subject: Re: Debug JSP - how to?


 I AM using IE and that thingy for *user friendly* messages has been
disabled.
 Both Netscape and IE attempts to save the file instead of displaying it.
 What I do not understand is, how can I actually make an instance of the
class
 but not use a method in it? Seems odd to me.

 mvh / best regards
 Henrik Skafsgaard Larsen

 - Original Message -
 From: Scot Weber [EMAIL PROTECTED]
 To: Orion-Interest [EMAIL PROTECTED]
 Sent: Thursday, June 28, 2001 5:21 PM
 Subject: Re: Debug JSP - how to?


  Henrik,
 
Are you by chance using IE?  If you are, go to the advanced properties
  and disable the beautified error page display, this will give you the
  actual jsp error information from things like 500 Server Errors.  If
you're
  using nutscrape and not getting meaningful error messages, then
something
  is radically wrong.
 
  - peace - scot weber / [EMAIL PROTECTED]
  [ this space reserved for something really clever ]
 
  Henrik Skafsgaard Larsen wrote:
 
   Hello
  
   I have this servlet, which actually doesn't do much except write html,
   so for testing purpose I decided to change it to JSP.
   I want to use some methods defined in our homegrown packages
   and imported the package with: %@ page import=com.mypacke.util.* %
   I then wrote the following:
   .
   .
   %
   Cleo c = new Cleo();
   out.println(Howdy from Cleo:  + c.getDate());
   %
   .
   .
   the result was, that my page could not be displayed.
   Removing the reference: c.getDate() helped
   but I cannot find any hints ind the logfiles as to WHY it doesn't
work.
  
   med venlig hilsen / best regards
   Henrik Skafsgaard Larsen
 
 
 
 







Re: Debug JSP - how to?

2001-06-28 Thread Scot Weber

Henrik,

  Are you by chance using IE?  If you are, go to the advanced properties
and disable the beautified error page display, this will give you the
actual jsp error information from things like 500 Server Errors.  If you're
using nutscrape and not getting meaningful error messages, then something
is radically wrong.

- peace - scot weber / [EMAIL PROTECTED]
[ this space reserved for something really clever ]

Henrik Skafsgaard Larsen wrote:

 Hello

 I have this servlet, which actually doesn't do much except write html,
 so for testing purpose I decided to change it to JSP.
 I want to use some methods defined in our homegrown packages
 and imported the package with: %@ page import=com.mypacke.util.* %
 I then wrote the following:
 .
 .
 %
 Cleo c = new Cleo();
 out.println(Howdy from Cleo:  + c.getDate());
 %
 .
 .
 the result was, that my page could not be displayed.
 Removing the reference: c.getDate() helped
 but I cannot find any hints ind the logfiles as to WHY it doesn't work.

 med venlig hilsen / best regards
 Henrik Skafsgaard Larsen





Re: Debug JSP - how to?

2001-06-28 Thread Henrik Skafsgaard Larsen

I AM using IE and that thingy for *user friendly* messages has been disabled.
Both Netscape and IE attempts to save the file instead of displaying it.
What I do not understand is, how can I actually make an instance of the class
but not use a method in it? Seems odd to me.

mvh / best regards
Henrik Skafsgaard Larsen

- Original Message - 
From: Scot Weber [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Thursday, June 28, 2001 5:21 PM
Subject: Re: Debug JSP - how to?


 Henrik,
 
   Are you by chance using IE?  If you are, go to the advanced properties
 and disable the beautified error page display, this will give you the
 actual jsp error information from things like 500 Server Errors.  If you're
 using nutscrape and not getting meaningful error messages, then something
 is radically wrong.
 
 - peace - scot weber / [EMAIL PROTECTED]
 [ this space reserved for something really clever ]
 
 Henrik Skafsgaard Larsen wrote:
 
  Hello
 
  I have this servlet, which actually doesn't do much except write html,
  so for testing purpose I decided to change it to JSP.
  I want to use some methods defined in our homegrown packages
  and imported the package with: %@ page import=com.mypacke.util.* %
  I then wrote the following:
  .
  .
  %
  Cleo c = new Cleo();
  out.println(Howdy from Cleo:  + c.getDate());
  %
  .
  .
  the result was, that my page could not be displayed.
  Removing the reference: c.getDate() helped
  but I cannot find any hints ind the logfiles as to WHY it doesn't work.
 
  med venlig hilsen / best regards
  Henrik Skafsgaard Larsen