RE: Form Based Authentication

2005-05-12 Thread David B. Saul
Never Mind - It was permissions on the tomcat-users.xml file. Duh! -Original Message- From: David B. Saul [mailto:[EMAIL PROTECTED] Sent: Thursday, May 12, 2005 7:37 PM To: 'Tomcat Users List' Subject: Form Based Authentication Having a problem being challenged on Linux. Form based

Form Based Authentication

2005-05-12 Thread David B. Saul
Having a problem being challenged on Linux. Form based using the tomcat-users.xml file works under windows. However, when same code is deployed to Linux the page is never challenged. I checked server.xml on both platforms as well as the specific webapp. Even built a Hello World example to

RE: pdf not working

2005-05-04 Thread David B. Saul
Here is what worked for me. The PDF is created dynamically. 1. a small bit of code which used FOP and served it as a stream. Be sure to set the response type. byte[] fo; . . . InputSource fopInput = new InputSource( new ByteArrayInputStream( fo ) );

RE: pdf not working

2005-05-04 Thread David B. Saul
no such problem. -Original Message- From: David B. Saul [mailto:[EMAIL PROTECTED] Sent: May 4, 2005 12:51 PM To: 'Tomcat Users List' Subject: RE: pdf not working Here is what worked for me. The PDF is created dynamically. 1. a small bit of code which used FOP and served it as a stream. Be sure

RE: Serving files using tomcat

2005-05-04 Thread David B. Saul
May not be critical but try using the ServletOutputStream instead of OutputStream. DOC URL: http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/ServletResponse.html //Clear content of the underlying buffer in the response //without clearing headers or status code. response.resetBuffer();

RE: TC v5.5.9 Won't Server *.htm Files

2005-04-27 Thread David B. Saul
I have 5.5.7 and it seems to work ok - not much help - but - Suggestion ( and a WAG ) check the web.xml in conf for the following mime mapping: mime-mapping extensionhtm/extension mime-typetext/html/mime-type /mime-mapping Let us know... -Original Message- From:

Finding xalan and xerces on Linux

2005-04-26 Thread David B. Saul
Installed TC 5.5.7 on Windows Created page using JSTL ( jstl.jar and standard.jar ) Did not need to add xalan or xerces especially since they are now included in Java 1.5. Deployed to Linux Used same versions of all components ( TC, JSTL, JAVA-JDK JRE) I had to add the xalan and xerces in the

RE: Finding xalan and xerces on Linux

2005-04-26 Thread David B. Saul
? Tomcat might have picked up a different version of it, or even GCJ. -Riyad On 4/26/05, David B. Saul [EMAIL PROTECTED] wrote: Installed TC 5.5.7 on Windows Created page using JSTL ( jstl.jar and standard.jar ) Did not need to add xalan or xerces especially since they are now included

RE: class path (UNCLASSIFIED)

2005-04-13 Thread David B. Saul
Try typing/copying the following at the prompt in the directory where the source code is for HelloWorld.java: javac -classpath C:\Program Files\Apache Group\Tomcat 4.1\common\lib\servlet.jar HelloWorld.java if in fact this is where the servlet.jar file exists. -Original Message- From:

RE: class path (UNCLASSIFIED)

2005-04-13 Thread David B. Saul
HelloWorld.java David B. Saul [EMAIL PROTECTED] wrote: Try typing/copying the following at the prompt in the directory where the source code is for HelloWorld.java: javac -classpath C:\Program Files\Apache Group\Tomcat 4.1\common\lib\servlet.jar HelloWorld.java if in fact this is where the servlet.jar file

RE: class path (UNCLASSIFIED)

2005-04-13 Thread David B. Saul
BTW - adding the PWD to the classpath should have no effect on your issue! -Original Message- From: David B. Saul [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 13, 2005 2:31 PM To: 'Tomcat Users List' Subject: RE: class path (UNCLASSIFIED) Quite frankly - this has nothing to do