Re: File reader

2001-11-30 Thread shashi kanth goud
it would be better if u use Properties class. I hope this helps u Regards Shashi On Wed, 28 Nov 2001 Gardner Monte wrote : ___ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "s

Re: servlets and IIS

2001-11-30 Thread Colin Capriati
Chris, Thanks for the excellent information. Are you running Tomcat as a service in Win2K? Colin - Original Message - From: "Christian Roslawski" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 30, 2001 5:46 AM Subject: Re: servlets and IIS > > (*) is it possibile

Re: SSL Sessions in Servlets

2001-11-30 Thread Steven J. Owens
Alan P. Sexton asks: > Jason Hunter's 2nd edition book, when talking about session IDs, > mentions (page 221) that "Other implementations, like using SSL (Secure > Sockets Layer) sessions, are also possible". I cannot find any other > reference to doing so. I haven't seen any either. > Can

Re: Now that I have my first servlet written...

2001-11-30 Thread Steven J. Owens
Mike Wills asked: > I am wondering how you normally output the webpage from a > servlet. Do you actually embedded all of the HTML in the program? > That seems a bit messy. Or is there a better way? I felt the same way. Personally, I tend to prefer just a simple templating system, but what w

Re: Now that I have my first servlet written...

2001-11-30 Thread Andres Portillo
Check out Velocity, it's a nice template system from Apache http://jakarta.apache.org/velocity andres Michael Wills wrote: > I am wondering how you normally output the webpage from a servlet. Do you > actually embedded all of the HTML in the program? That seems a bit messy. Or > is the

Re: Packages

2001-11-30 Thread Gardner Monte
If that is the case, then the package can be found at http://www.servlets.com/cos/index.html along with links to documentation and such. --Monte Glenn Gardner On Fri, 30 Nov 2001, Mark Galbreath wrote: > I don't think he knows how to get the oreilly package. > > Mark > > > - Original Mes

Re: Packages

2001-11-30 Thread Mark Galbreath
I don't think he knows how to get the oreilly package. Mark - Original Message - From: "Gardner Monte" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 29, 2001 7:06 PM Subject: Re: Packages > The javax.com and javax.comm.http are packages of Source files that > ha

Re: servlets and IIS

2001-11-30 Thread Patrick Quinn-Graham
How did you get Tomcat 4.0.1 to install? -Original Message- From: A mailing list for discussion about Sun Microsystem's Java Servlet API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Christian Roslawski Sent: Saturday, 1 December 2001 2:47 a.m. To: [EMAIL PROTECTED] Subject: Re: ser

Bouncing Integers: Solution

2001-11-30 Thread Gardner Monte
I've discovered the two errors I made, and the Application / Servlet combination works now. First, like Peter Huber said, the 'outermost' outputStream should be the one to be flushed and closed, and also, the Server side of the program has to have the line response.setContentType("application/octe

Re: Now that I have my first servlet written...

2001-11-30 Thread Milt Epstein
On Fri, 30 Nov 2001, Michael Wills <[EMAIL PROTECTED]> wrote: > > I am wondering how you normally output the webpage from a > servlet. Do you actually embedded all of the HTML in the program? > That seems a bit messy. Or is there a better way? Craig McClanahan did a presentation at O'Reilly's Ja

Re: Now that I have my first servlet written...

2001-11-30 Thread Michael Weller
hi, i use org.mortbay.html, it's much better than typing all that html stuff; with some extensions you can even let javac validate your html (dead links, wrong syntax)... -mw - Original Message - From: "Michael Wills" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 3

Re: Now that I have my first servlet written...

2001-11-30 Thread Moós Gábor
You can get a reference in the server to the RequestDispatcher from the ServletContext and have it display a .jsp page instead (for the "GET side"). And the .jsp page can refer to the "POST side" of the servlet for processing of the data. I have found this approach in a book, and it seems very ele

best JSP tag library development environments

2001-11-30 Thread steve buonincontri
Folks, Does anyone know of the best JSP TAG library development environments available? - sb ___ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives:

Re: Now that I have my first servlet written...

2001-11-30 Thread Michael Wills
Yes, it can be messy. I use an html API for my servlets. It keeps the nasty business of writing all the html tags away from the servlets. Mike, Is this something you found? Or something you created? Not that it would be hard to make. Mike Wills AS400 Programmer [

Re: Now that I have my first servlet written...

2001-11-30 Thread Raghupathy, Gurumoorthy
use ECS from apache... visit http://java.apache.org/ -Original Message- From: Mike McGuinness [mailto:[EMAIL PROTECTED]] Sent: 30 November 2001 16:18 To: [EMAIL PROTECTED] Subject: Re: Now that I have my first servlet written... Yes, it can be messy. I use an html API for my servlets.

Re: Now that I have my first servlet written...

2001-11-30 Thread Mike McGuinness
Yes, it can be messy. I use an html API for my servlets. It keeps the nasty business of writing all the html tags away from the servlets. Mike Michael Wills wrote: > I am wondering how you normally output the webpage from a servlet. Do you > actually embedded all of the HTML in the program? T

Re: Now that I have my first servlet written...

2001-11-30 Thread Charles Angevine
Check out java.sun.com/jsp - Original Message - From: Michael Wills <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 30, 2001 7:29 AM Subject: Now that I have my first servlet written... > I am wondering how you normally output the webpage from a servlet. Do you > actu

AW: Now that I have my first servlet written...

2001-11-30 Thread Gast, Thorsten
When you have a lot of html-code which is not changed within the servlet you normally read the html-files with the i/o-classes from Java and send it to the OutputStream you created i nthe servlet. greets Thorsten -Ursprüngliche Nachricht- Von: Michael Wills [mailto:[EMAIL PROTECTED]] Gesen

Re: Now that I have my first servlet written...

2001-11-30 Thread Claude HONNORE
servlet is HTML in Java code .. Jsp is java code in HTML The same result .. So try JSP .. - Original Message - From: "Michael Wills" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 30, 2001 3:29 PM Subject: Now that I have my first servlet written... > I am wondering

Now that I have my first servlet written...

2001-11-30 Thread Michael Wills
I am wondering how you normally output the webpage from a servlet. Do you actually embedded all of the HTML in the program? That seems a bit messy. Or is there a better way? Mike Wills AS400 Programmer [EMAIL PROTECTED] _

Re: servlets and IIS

2001-11-30 Thread Christian Roslawski
> (*) is it possibile to have tomcat4 and iis run together? Yes, that is possible. I have IIS 5.0 running on Win2000 Server (SP2) with Tomcat 4.0.1 using isapi_redirect.dll and the AJP13 Connector. The AJP13 Connector for Tomcat 4.0 is available at: http://www.apache.org/~hgomez/ajp13-tc4.0/

Re: servlets and IIS

2001-11-30 Thread Paul Bonfanti
I don't know if Tomcat 4 will run with IIS. You can try the servlet engine ServletExec AS which will run with IIS either on the same machine or on a different machine. It can be found at www.newatlanta.com. Paul -Original Message- From: A mailing list for discussion about Sun Microsyst

servlets and IIS

2001-11-30 Thread ceausu catalin
hi there. i have some questions and i hope you guys can help me: (*) is it possibile to have tomcat4 and iis run together? the docs i read seems to refer only to prior (3.x) tomcat version. (*) is it possibile to have IIS and the servlets container on different computers? or, is there any servl

Re: Java number format question....please help

2001-11-30 Thread Fabio Martins
Try: DecimalFormat df = new DecimalFormat("0"); System.out.println("Number: " + df.format(20)); Best regards, Fabio Martins > Importance:Normal > Date: Thu, 29 Nov 2001 23:04:38 -0500 > Reply-to: [EMAIL PROTECTED] > From: "Jose F. Osorio" <[EMAIL PROTECTED]> > Sub