RE: Several Error pages

2001-11-12 Thread Martin J. Wells

> Hi all,
> 
> I'd like to set up more than one error page for a exception, depending
> on the URL of the jsp/servlet where the exception has been throwned.
> 
> As an example:
> - If url=/app1/dir1/*.jsp -> Error page = /app1/dir1/error.jsp
> - If url=/app1/dir2/*.jsp -> Error page = /app1/dir2/error.jsp
> 
> As you can see there is only one web application, so there is one
> web.xml
> 

Use

<%@ page errorPage="error.jsp" %>

inside each jsp.





Orion 1.5.3 API: FilePostParser

2001-10-24 Thread Martin J. Wells

Looks like this has been changed in the API without notice?

  // Constructors
  public FilePostParser(InputStream p0, int p1, String p2) throws
IOException { }

The String p2 seems to be new. Any idea what it's for?


Marty







RE: Virus alert

2001-08-30 Thread Martin J. Wells


This is (ironically) an "email letter virus".
(ie. the virus is that people pass the email on)

:)


> CH.Srinivas Babu
> Java Application Developer
> Mobile : 0060163698056
> - Original Message -
> From: "Farid" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, August 30, 2001 2:51 PM
> Subject: Virus alert
>
>
> > Pls take note
> >
> > Subject:  WORST EVER VIRUS (CNN announced)
> >
> >
> > WORST EVER VIRUS (CNN announced)
> > PLEASE SEND THIS TO EVERYONE ON YOUR CONTACT LIST!!
> >
> > A new virus has just been discovered that has been classified by
> > Microsoft as the most destructive ever! This virus was discovered
> > yesterday afternoon by McAfee and no vaccine has yet been developed.
> > This virus simply destroys Sector Zero from the hard disk, where vital
> > information for its functioning are stored. This virus acts in the
> > following manner: It sends itself automatically to all contacts on your
> > list with the title "A Virtual Card for You." As soon as the supposed
> > virtual card is opened, the computer freezes so that the user has to
> > reboot. When the ctrl+alt+del keys or the reset button are pressed, the
> > virus destroys Sector Zero, thus permanently destroying the hard disk.
> > Yesterday in just a few hours this virus caused panic in New York,
> > according to news broadcast by CNN. This alert was received by an
> > employee of Microsoft itself. So don't open any mails with subject: "A
> > Virtual Card for You." As soon as you get the mail, delete it.
> >
> > Please pass this mail to all of your friends. Forward this to everyone
> > in your address book. I would rather receive this 25 times than not at
> > all.
> >
> >
> > Also: Intel announced that a new and very destructive virus was
> > discovered recently. If you receive an email called "An Internet
> > Flower For You," do not open it. Delete it right away! This virus
> > removes all dynamic link libraries (.dll files) from your computer. Your
> >
> > computer will not be able to boot up !!
> >
> >
>





RE: Yahoo orion list is up..

2001-08-23 Thread Martin J. Wells

I must have missed it. What are the new list details?

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Russell White
> Sent: Friday, 24 August 2001 6:45 AM
> To: Orion-Interest
> Subject: Re: Yahoo orion list is up..
> 
> 
> 6 members so far. Keep em coming
> 
> --- "Duffey, Kevin" <[EMAIL PROTECTED]> wrote:
> > Damn..I got a response in under 3 minutes! Haven't seen that on 
> the orion
> > list for many months.
> > 
> > 
> > 
> 
> 
> __
> Do You Yahoo!?
> Make international calls for as low as $.04/minute with Yahoo! Messenger
> http://phonecard.yahoo.com/




RE: Automatic reloading of new class files.

2001-08-12 Thread Martin J. Wells

> Second, what I prefer, is to leave development="false" in place,
> and use ANT
> to do all my builds. At the end of a target, I specifically tell
> it to touch
> the META-INF/application.xml file. Orion automatically redploys your site
> when this file is touched.
>

Is there any clear advantage to using ANT to build projects instead of
having development="true"?



Regards,
Martin Wells





RE: System.out fix ready yet?

2000-08-24 Thread Martin J. Wells

>
> Question about request.getRequestURI();
>
> In JRun and Tomcat the following applies but not in Orion:
>
> I have a JSP (main.jsp) with the tag  page="includes/header.jsp"
> flush="true"/>.  The header.jsp file calls the method
> request.getRequestURI();
>
> The return value in both Jrun and Tomcat are http://site/main.jsp, however
> in Orion the return value is http://site/header.jsp
>
> Is this a bug?  Who's right?
>

This one bit me too when we moved over from Tomcat. As was pointed out to
me, the JSP Spec says that getRequestURI should return the include files
name, not the original.



Marty