RE: Multipart form data in Tomcat 4.0

2001-10-05 Thread Stefán F. Stefánsson
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 give me information about the status

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 Hanik

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

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: 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

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

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:

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

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: 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

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 url-pattern. 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]

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 icon tag... but found out soon that doesn't work in Tomcat. That's really quite allright with me... But now I'm trying the error-page and that's not

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

RE: webapp icons, disabling directory listings, and error-pagetags in web.xml

2001-03-02 Thread Stefán F. Stefánsson
Stefn F. Stefnsson wrote: Ok... thanks (regarding the icon). The correct reaction from tomcat... hmmm... not sure I know what you mean here... are you talking in regards to the icon or the welcome file list? I'll just answer it in two parts, 1) The icon should be displayed for example

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

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.

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

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

2001-03-01 Thread Stefán F. Stefánsson
Thanks for your answer. I should have been more clear in my previous post. Ok... so here's the deal, I have a server application that integrates Tomcat. This server starts tomcat up through use of the EmbeddedTomcat class. So far so good. When I start the server from a command line or within

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

2001-02-27 Thread Stefán F. Stefánsson
Thanks for your reply. Only problem is (and I forgot to mention this) that I'm using an embedded Tomcat and hence have no server.xml file. Maybe I can do something in the code to handle this... I'll have to look into that. What you said about server.xml not being the right place to define

RE: webapp icons, disabling directory listings, and error-pagetags in web.xml

2001-02-27 Thread Stefán F. Stefánsson
ok.. so the icon should be working? let me get this straight... If I have a definition in my web.xml that looks like this: web-app icon small-icon/img/iconSmall.gif/small-icon large-icon/img/iconLarge.gif/large-icon /icon ... and the directory

RE: webapp icons, disabling directory listings, and error-pagetags in web.xml

2001-02-27 Thread Stefán F. Stefánsson
Ok... thanks (regarding the icon). The correct reaction from tomcat... hmmm... not sure I know what you mean here... are you talking in regards to the icon or the welcome file list? I'll just answer it in two parts, 1) The icon should be displayed for example in the title bar when the webapp

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

2001-02-27 Thread Stefán F. Stefánsson
Hello. I was wondering if anyone knows if the icon 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 welcome-file-list element. I have one such in

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 tomcat_root/config directory and

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==full_path_to/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

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. febrar 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

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. janar 2001 23:31 To: [EMAIL

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

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.

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

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:

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

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

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: 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

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

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

Thousand apologies!!!

2000-11-06 Thread Stefán F. Stefánsson
: 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óvember 2000 23:20 To: [EMAIL