Re: [half-off-topic] Java Compilers

2001-10-03 Thread Dmitri Colebatch
Hi, On Thu, 4 Oct 2001, Deacon Marcus wrote: > There would be two classes, CompileUnit and CompileContext. > First, you create a CompileContext, initialize it with working dir and > classpath, then you create CompileUnit, initialize it with CompileContext > and a .java file. Then, you can call .

Re: Tomcat 3.2.3 WAR files and 4.0

2001-09-25 Thread Dmitri Colebatch
Neeraj, tomcat generates java source code for a servlet based on the JSP. THis is a new class with a horrid name, but goes in the org.apache.jsp package. So just as if you were coding normally, you need to import whatever classes you need. cheers dim On Tue, 25 Sep 2001, Neeraj Vora wrote: >

Re: FW: JSP, performance analysis? (Sorry if inconvenient)

2001-09-05 Thread Dmitri Colebatch
Is precompiling your JSPs an option? That would get around it, but would tie you to a container that uses jasper. hth dim On Tue, 4 Sep 2001, Israel Olalla wrote: > > Hi, > > Trying to understand a problem or performance that we have in our > application, we've seen some data of interes

Re: [way OT] Swing book?

2001-09-01 Thread Dmitri Colebatch
The JFC swing tutorial by sun is good imho... available online and in print cheers dim On Sat, 1 Sep 2001, Rob S. wrote: > Anyone reccomend a Swing book or two for a complete newbie? =) > > - r > >

Re: @see me remove java.lang refs from the javadocs

2001-08-21 Thread Dmitri Colebatch
You can link to other packages like this: [dim@host63 javadoc]$ javadoc -d docs/ \ > -linkoffline http://java.sun.com/j2se/1.3/docs/api/ \ > . src/Test.java and in the current directory have a file called package-list that contains all the packages you want to link to that url. probably a good

Re: custom 404s from a servlet ?

2001-08-20 Thread Dmitri Colebatch
yep - have a look at (I think) in web.xml... The servlet spec outlines its use (http://java.sun.com/products/servlet). hth cheesr dim On 20 Aug 2001, yhs wrote: > Hi guys, > does anyone know how i can modify tomcat's configuration files so my 404's can be >invoked > from a servlet ? i.e. i

Re: Tomcat before Apache

2001-08-17 Thread Dmitri Colebatch
On Fri, 17 Aug 2001, Pier P. Fumagalli wrote: > Christopher Cain at [EMAIL PROTECTED] wrote: > > > >> This is I believe Bergstein's daemontools? > > > > To be honest, I'm not sure. It's how alot of the standard init.d scripts > > are coded in Linux, so that's how I've also done mine. Whatever i

Re: Servlet Forward to Self? 4.0b7

2001-08-14 Thread Dmitri Colebatch
On Tue, 14 Aug 2001, Jonathan Pierce wrote: > String theNewURL = "/servlet/" + getClass ().getName () + "?GOTO=NextScreen"; > theNewURL = theResponse.encodeUrl (theNewURL); > ServletContext theServletContext = theDBServlet.getServletContext (); > theServletContext.getRequestDispatcher (theNewURL).

Re: Sources in Binary Distributions

2001-08-02 Thread Dmitri Colebatch
I'd like to second that. I am currently not involved in any active development, but looking at sources contained in a binary dist is certainly the first step towards getting involved (its on my list (o: ) cheers dim Fabien Le Floc'h wrote: > > As a tomcat user, I am not so enthousiast about y

Re: Log date formatting?

2001-07-31 Thread Dmitri Colebatch
>From memory java.util.Calendar does a terrible job of paying attention to the underlying o/s settings. I live in Sydney, and courtesy of the Olympics last year we started daylight savings ridiculously early - changed all the o/s timezones, but the Calendar class refused to pick it up, so we had