RE: Multipart form data in Tomcat 4.0

2001-10-05 Thread Stefán F. Stefánsson
ils of the oreilly file upload package, but yes, it was discouraging. Dave -----Original Message----- From: Stefán F. Stefánsson [mailto:[EMAIL PROTECTED]] Sent: Friday, October 05, 2001 10:21 AM To: Tomcat-User Subject: Multipart form data in Tomcat 4.0 Hello. I'm wondering if anybody can g

Multipart form data in Tomcat 4.0

2001-10-05 Thread Stefán F. Stefánsson
Hello. I'm wondering if anybody can give me information about the status of multipart requests in Tomcat 4.0. Is it still neccessary to use Jason Hunters com.oreilly.servlet package to handle multipart posts? I created a webapp that uploads and downloads files with TC3.2. I'm now contemplating

RE: SSL and tomcat

2001-03-30 Thread Stefán F. Stefánsson
appent the "-howto.htm" to the top line... it got cut in half. -Original Message- From: Jan Lange [mailto:[EMAIL PROTECTED]] Sent: 30. mars 2001 16:37 To: [EMAIL PROTECTED] Subject: RE: SSL and tomcat Hi! Your URL doesn't exists. Jan L. > -Original Message- > From: Filip Hani

Webapp directory structure

2001-03-28 Thread Stefán F. Stefánsson
This seems to be coming up pretty often so I'm going to send in a zip file with the correct directory structure of a webapp and a small file in each directory describing the purpose of that directory. I hope this can help somebody and anyone can do whatever they want with it (distribute it with t

RE: Servlets work, but JSP doesn't...

2001-03-28 Thread Stefán F. Stefánsson
Your problem is because the tools.jar is not in the classpath. This file is located in the lib subdirectory of your jdk home. One way of letting Tomcat know where the file is would be to put it in your classpath but what you can also do is set the JAVA_HOME variable to point to the jdk directory

RE: error 500, cannot find sun.tools.javac.Main

2001-03-28 Thread Stefán F. Stefánsson
or that might be it :o) -Original Message- From: Srikanth Kurdukar [mailto:[EMAIL PROTECTED]] Sent: 28. mars 2001 22:27 To: [EMAIL PROTECTED] Subject: Re: error 500, cannot find sun.tools.javac.Main Remove the extra '/' in your classpath at (/usr/java/jdk//lib/tools.jar) and try again.

RE: error 500, cannot find sun.tools.javac.Main

2001-03-28 Thread Stefán F. Stefánsson
Have you tried changing JAVA_HOME to point directly to the folder? It's worth the try. Another thing I would like to know is how you are starting Tomcat up. Are you doing it with the shell script or through something like ant? Regards, Stefan. -Original Message- From: [EMAIL PROTECTED]

RE: BY ANY BEANS NECESSARY!

2001-03-28 Thread Stefán F. Stefánsson
you need to compile your beans into "d:\webpage\jsp\WEB-INF\classes". You shold look at documentation about webapps in the Servlet specification and Tomcat documentation. -Original Message- From: Arif Tayebali [mailto:[EMAIL PROTECTED]] Sent: 28. mars 2001 20:26 To: '[EMAIL PROTECTED]' Su

RE: setContentType / File download

2001-03-14 Thread Stefán F. Stefánsson
oh goodie... someone else who has this problem! I battled this one for a long time and finally, microsoft sent out the following article on their web: http://support.microsoft.com/support/kb/articles/Q279/6/67.ASP And here is another article which I find interesting: http://support.microsoft

RE: Encrypting password

2001-03-13 Thread Stefán F. Stefánsson
sorry for butting in but... if your customer server has the same URL name (ie. support.btinternet.com) then it doesn't matter if you have many machines running behind this name, you could simply copy the same certificate to all the servers hence buying only one certificate. but I'd guess from w

RE: Servlets work, JSP pages don't - WHY?

2001-03-11 Thread Stefán F. Stefánsson
You don't have to put it in the classpath. Setting the JAVA_HOME system environment variable is enough (let it point to the directory where your JDK is installed, not the /bin or /lib subdirectories). Of course, if you rather want to put it in your classpath, that's also ok. Regards, Stefan. -

RE: web.xml configuration

2001-03-05 Thread Stefán F. Stefánsson
I'm not sure about this but try to skip that leading '/' in . I think I remember correctly when I say that it's not supposed to be there. Regards, Stefan. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 5. mars 2001 15:28 To: [EMAIL PROTECTED] Subject: web.xm

RE: Upcoming Tomcat book...

2001-03-05 Thread Stefán F. Stefánsson
One thing I'd like to see in such a book is about how to embed tomcat in other applications (discuss the pros and cons of EmbededTomcat vs. regular Tomcat). Regards, Stefan. - To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

RE: QuickSorting Vectors

2001-03-02 Thread Stefán F. Stefánsson
R U a student? When is the deadline? -Original Message- From: Ryan [mailto:[EMAIL PROTECTED]] Sent: 3. mars 2001 00:46 To: [EMAIL PROTECTED] Subject: QuickSorting Vectors Does anyone have a quicksorting class that sorts Vectors containing Strings that wouldn't mind letting me look at?

RE: Relative Pathing and SSL

2001-03-02 Thread Stefán F. Stefánsson
rience with this though. Do you or anyone else know if you must set up the SSL with Tomcat if you are using isapi? Thanks again! Jeff -Original Message- From: Stefán F. Stefánsson [mailto:[EMAIL PROTECTED]] Sent: Friday, March 02, 2001 3:18 PM To: [EMAIL PROTECTED] Subject: RE: Relative

RE: webapp icons, disabling directory listings, and tags in web.xml

2001-03-02 Thread Stefán F. Stefánsson
>Stefán F. Stefánsson wrote: >> Ok... thanks (regarding the ). >> >> The correct reaction from tomcat... hmmm... not sure I know what you >> mean here... are you talking in regards to the or the welcome >> file list? >> >> I'll just answer it i

RE: Relative Pathing and SSL

2001-03-02 Thread Stefán F. Stefánsson
I don't know if this works with isapi also but try to set the parameter "secure" with the value "true" in your connector tag in server.xml. What version of tomcat are you using? Regards, Stefan. -Original Message- From: Nibler Jeff R. (PDX1JRN) [mailto:[EMAIL PROTECTED]] Sent: 2. mars 20

RE: Client Certificate Authentication

2001-03-02 Thread Stefán F. Stefánsson
It's not in web.xml. You have to edit your tag in 'server.xml'. Do you have one way authentication working (having the server authenticate himself for a client browser connecting in)? If you have you should have a tag that looks a little like this:

Web.xml what is actually working?

2001-03-02 Thread Stefán F. Stefánsson
Hi. I've been experimenting with web.xml a little bit trying to set this and that to make my webapp more friendly. I started out with the tag... but found out soon that doesn't work in Tomcat. That's really quite allright with me... But now I'm trying the and that's not working either. I ha

RE: no class def found sun.tools.javac.Main

2001-03-01 Thread Stefán F. Stefánsson
r JAVA_HOME variable so that it points to your JDK root directory. And read the manual and/or mail list archives and/or the FAQ. Randy -Original Message----- From: Stefán F. Stefánsson [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 01, 2001 11:33 AM To: Tomcat-User Subject

no class def found sun.tools.javac.Main

2001-03-01 Thread Stefán F. Stefánsson
Hi I'm getting the following error. Anybody have an idea where this class comes from? What do I need to have in my classpath to find it? Thanks, Stefan. Internal Servlet Error: javax.servlet.ServletException: sun/tools/javac/Main at org.apache.jasper.servlet.JspServlet.service(JspServl

Log traffic to webapp

2001-03-01 Thread Stefán F. Stefánsson
Hello. I'm wondering if I can log all traffic coming to a webapp? I'm using EmbeddedTomcat so no use in server.xml. Anyone know a convenient way? Kind regards, Stefan. Stefan Freyr Stefansson Software Developer deCODE Genetics, Inc. http://www.deco

RE: Crashing tomcat

2001-03-01 Thread Stefán F. Stefánsson
Hello.. Are you guys running windows? If so, are you getting the popup window with the red cross and an ok button saying that some memory address can't be read? If that is the case I would bet that you have found a bug in the JVM. The reason for that being that Java doesn't have any pointers so

RE: webapp icons, disabling directory listings, and tags in web.xml

2001-02-27 Thread Stefán F. Stefánsson
osity... Which is the (correct) reaction you would expect from tomcat ? Saludos , Ignacio J. Ortega > -Mensaje original- > De: Stefán F. Stefánsson [mailto:[EMAIL PROTECTED]] > Enviado el: martes 27 de febrero de 2001 16:31 > Para: [EMAIL PROTECTED] > Asunto: RE: webapp ic

RE: webapp icons, disabling directory listings, and tags in web.xml

2001-02-27 Thread Stefán F. Stefánsson
s completely defined as part of the Servlet 2.2 Specification, when it defines Web Applications. Go there for the official reference. On Tue, 27 Feb 2001, Stefán F. Stefánsson wrote: > Hello. > > I was wondering if anyone knows if the element in web.xml is not > working in To

RE: webapp icons, disabling directory listings, and tags in web.xml

2001-02-27 Thread Stefán F. Stefánsson
ions and do something sensible. server.xml is not where I would define servlet or JSP traps. Can't help with the rest. Chris Evesham England - Original Message - From: "Stefán F. Stefánsson" <[EMAIL PROTECTED]> To: "Tomcat-User" <[EMAIL PROTECTED]> Cc

webapp icons, disabling directory listings, and tags in web.xml

2001-02-27 Thread Stefán F. Stefánsson
Hello. I was wondering if anyone knows if the element in web.xml is not working in Tomcat (it's not working for me... just wondering if it's not supported or if it's something specific with me). Another thing (a little more important) is the element. I have one such in my web.xml and it conta

RE: Macintosh and Java

2001-02-25 Thread Stefán F. Stefánsson
can you give the exact string you're typing in your browser? here's what you should type: http://localhost:8080/ the :8080 tells the browser to communicate on port 8080 instead of the default http port (which is 80). You can also open the server.xml file in the /config directory and edit the t

RE: Réf. : Embedding Tomcat inside Java app.

2001-02-14 Thread Stefán F. Stefánsson
Try giving the full path of the policy file as a parameter to the jvm. Example: java -Djava.security.policy==/ips.policy myAppWithTomcat Also note the two equal signs. This is important. Do NOT use just one equal sign. Also I'm attatching a tomca.policy file that grants all permission to all

RE: Recommendations for JSP development tools?

2001-02-09 Thread Stefán F. Stefánsson
JBuilder works well also. It's got Tomcat integrated into it. -Original Message- From: Steve Buroff [mailto:[EMAIL PROTECTED]] Sent: 9. febrúar 2001 12:18 To: [EMAIL PROTECTED] Subject: RE: Recommendations for JSP development tools? I also use Kawa 5.0 and tomcat and find they work wel

RE: Tomcat and SSL

2001-01-30 Thread Stefán F. Stefánsson
woops... sorry... my mistake... replied to the wrong thread :-/ sorry. -Original Message- From: Stefán F. Stefánsson Sent: 30. janúar 2001 14:46 To: [EMAIL PROTECTED] Subject: RE: Tomcat and SSL Why are you then using an SSL proxy??? Just use tomcat! You need version 3.2 or 3.2.1

RE: Tomcat and SSL

2001-01-30 Thread Stefán F. Stefánsson
Why are you then using an SSL proxy??? Just use tomcat! You need version 3.2 or 3.2.1 (which is better) and then you're all set... dump the proxy! Regards, Stefan. -Original Message- From: Allen Akers [mailto:[EMAIL PROTECTED]] Sent: 30. janúar 2001 14:37 To: [EMAIL PROTECTED] Subject

RE: HTTPS to HTTP proxying

2001-01-30 Thread Stefán F. Stefánsson
Any particular reason you're using a proxy instead of Tomcats built in HTTPS support? (it came with 3.2 so you need to get that version if you're not already using it). Regards, Stefan. -Original Message- From: Geoff Lane [mailto:[EMAIL PROTECTED]] Sent: 29. janúar 2001 23:31 To: [EMAIL

RE: startup class in Tomcat

2001-01-23 Thread Stefán F. Stefánsson
Make a servlet which init() only calls the methods needed in your class. That way you extract the functionality to your class and the servlet is only a wrapper. In other words, create a new servlet that actually does nothing except in the init method it calls the necessary methods in your class.

Any way to add a directory for class loading?

2001-01-23 Thread Stefán F. Stefánsson
Hello. I was wondering if there is any way to specify an additional directory that Tomcat should use for class loading, say perhaps outside of the web app directory structure? Kind regards, Stefan p.s. I'm using EmbededTomcat so I would appreciate if someone could tell me if that was po

RE: Security and access on tomcat 3.2.1 standalone

2001-01-19 Thread Stefán F. Stefánsson
You can create your own SocketFactory that extends the Generic Tomcat socket factory (org.apache.tomcat.net.ServerSocketFactory). You could create that socket factory in a way that it restricts to certain IPs. How you would manage the socket factory is up to you again (a property file would proba

Accessing a local webserver with IE 5.5

2001-01-03 Thread Stefán F. Stefánsson
Hi. I've set up Tomcat at home on a computer not connected to the Internet. It's running Win 2000 Pro. The problem is that when I try to access my locally running webserver I always get the prompt about if I want to connect to the internet or stay offline. If I select to stay offline I receive

File downloading through a servlet problem. This is weird!!!

2000-12-22 Thread Stefán F. Stefánsson
Hello. I'm experiencing strange things when I download files through a servlet. The history is that I have access to a file stream in a servlet and I want the user to be able to download this file. I do this by sending a file id as a parameter to the servlet as so: https://localhost/ser

RE: InterScan eManager Content Management Notification! (DirtyWords)

2000-12-20 Thread Stefán F. Stefánsson
yeah.. I'm getting those. What's going on? What mail filter is this??? And more importantly... who's sending those "dirty words"??? ;o) -Original Message- From: Stephen Coy [mailto:[EMAIL PROTECTED]] Sent: 20. desember 2000 11:41 To: [EMAIL PROTECTED] Subject: Re: InterScan eManager Co

Differerences in Jakarta distributions (Was 3.2.1 build fails - any ideas?) Please comment

2000-12-15 Thread Stefán F. Stefánsson
Thanks everybody! I've managed to build it now. The problem was kindof weird and the "solution" (if I can call it a solution) was even weirder... Like one of you pointed out I had to do a "build clean". After that everything worked. I found this rather weird since I deleted EVERYTHING in my J

3.2.1 build fails - any ideas?

2000-12-14 Thread Stefán F. Stefánsson
Hello. I'm getting the following error when I try to build Tomcat 3.2.1. I've been using (and building) Tomcat 3.2 successfully: --BEGIN- --- tomcat: [javac] Compiling 193 source files to C:\jakarta\build\tomcat\classes

RE: $20 bucks to the 1st person who actually solves my problem!!!

2000-12-08 Thread Stefán F. Stefánsson
Try to find some way of using the javascript code "this.location.refresh()" in this. For example... you could have the JSP page or the servlet add the code onLoad="this.location.refresh()" into the body tag of the jsp page if the user has just deleted an entry. That way the client browser should

RE: Some pointers in getting SSL in Tomcat 3.2

2000-11-27 Thread Stefán F. Stefánsson
If you want to be able to access your pages through HTTPS you have to specify that the server should use port 443 to handle in the requests (this you do in the server.xml file on the tag). You also have to build the Tomcat 3.2 bX from source with the JSSE in the classpath. It is NOT enough to d

RE: Critical Bug: SSL failed for Tomcat 3.2 Beta 8

2000-11-22 Thread Stefán F. Stefánsson
Did you build from source? If so, did you have the JSSE jars in the classpath when you did that? Regards, Stefan. -Original Message- From: Xia, Alex [mailto:[EMAIL PROTECTED]] Sent: 21. nóvember 2000 22:28 To: [EMAIL PROTECTED] Subject: Critical Bug: SSL failed for Tomcat 3.2 Beta 8 I

RE: Multiple Tomcats with SSL?

2000-11-17 Thread Stefán F. Stefánsson
I don't think you can do that with Tomcat 3.1 (running standalone it doesn't support SSL and I haven't tried connecting it to an SSL Apache). So I think your best bet would be to get Tomcat 3.2b7. I know... it's still beta but everyone around here seem to be saying that it's much better than even

RE: SSL client authentication with Tomcat

2000-11-06 Thread Stefán F. Stefánsson
Sorry to butt in but you know that this IS supported if you're using the internal tomcat 3.2b6 webserver... You can access the client certificate if the connection comes through the HTTP server of Tomcat. Then you can use the request.getAttribute("javax.servlet.blablabla") just as described in t

Thousand apologies!!!

2000-11-06 Thread Stefán F. Stefánsson
riginal Message- From: Stefán F. Stefánsson Sent: 6. nóvember 2000 09:16 To: [EMAIL PROTECTED] Subject: RE: At last, Herbal V, the all Natural Alternative! would you please quit sending this to me!!! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 5. nóvem

RE: At last, Herbal V, the all Natural Alternative!

2000-11-06 Thread Stefán F. Stefánsson
would you please quit sending this to me!!! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 5. nóvember 2000 23:20 To: [EMAIL PROTECTED] Subject: At last, Herbal V, the all Natural Alternative! Herbal V: An Incredible All-Natural Healthy Alternative To V