RE: Where to Place Bean files

2001-06-06 Thread Phillip Gibb
JSP Bean? don't you mean java bean, in that case use the jsp:useBean tag, and you can place it anywhere in the page so long as you insert it before any reference to the bean. It is good design to put it at the top. be sure to place the java bean in the WEB-INF/classes dir of the context that you

RE: Where to Place Bean files

2001-06-06 Thread Phillip Gibb
to make things simplier change F:\jakarta-tomcat-3.2.1\jakarta-tomcat-3.2.1 to f:\tomcat and make sure that TOMCAT_HOME is set to f:\tomcat don't place them into WEB-INF\jsp\bean, put them into WEB-INF\classes. and if they are package (eg jsp.bean) then place them in WEB-INF\classes\jsp\bean

RE: problems with sendRedirect() on relative path

2001-06-06 Thread Phillip Gibb
try using getContext() and getRequestDispatcher() and then include(req, res) you can set a context in the server.xml to point to a directory where you keep these static pages eg staticPages with the path set to c:\staticPages then using the

tomcat secure

2001-06-06 Thread Phillip Gibb
Hi, I have a problem running tomcat with security manager, i.e. with the second parameter -security added to startup.bat. I edited the tomcat.policy file to contain all the directories that my web app uses (like all the directorie under and including the context) but I keep getting the

Socket closed in https session

2001-06-05 Thread Phillip Gibb
Hi, I have generated a keystore and a certificate, I have added a connector in server.xml to handle ssl connections. Starting tomcat correctly establishes the correct connction handlers for normal http and for ssl(port 8443). But if I try to start up a https session using

ssl handshake failure

2001-06-05 Thread Phillip Gibb
Hi, reading further into the Java Secure Socket Extention I found a usfull command -Djavax.net.debug=all, while I appending to the line in tomcat.bat that starts the server. The result is a lot of information, it tells me further what my error actually is: i.e a handshake failure here is the

Secure tomcat

2001-06-05 Thread Phillip Gibb
Hi, if I try to run secure tomcat I get the following : FATAL:java.io.IOException: access denied (java.security.SecurityPermission putPr oviderProperty.SunJSSE) java.io.IOException: access denied (java.security.SecurityPermission putProvider Property.SunJSSE) at

RE: ssl handshake failure

2001-06-05 Thread Phillip Gibb
but I am using a windows pc (for development purposes), so I don't have Apache running. Later I am going over to linux. -Original Message- From: Tim O'Neil [mailto:[EMAIL PROTECTED]] Sent: 05 June 2001 05:39 To: [EMAIL PROTECTED] Subject: Re: ssl handshake failure When it happened to

Tomcat with secuirity manager

2001-06-05 Thread Phillip Gibb
Running tomcat with the -security option gives me the following exception : FATAL:java.io.IOException: access denied (java.security.SecurityPermission putPr oviderProperty.SunJSSE) java.io.IOException: access denied (java.security.SecurityPermission putProvider ... I take it that the

RE: file not gopund error..

2001-06-05 Thread Phillip Gibb
Hi, If you are running Apache then look at where your document Root is pointing to in httpd.conf there you must place your welcome file and any none jsp stuff. also add you welcome file in httpd.conf if you don't want to type it when going to your web site. In an Apache-tomcat environment the