Re: Tomcat 4.1.18 Admin Page

2003-01-08 Thread Peter Lee
Does anyone know the usage of the rolename provider Any special meaning to that? user username=user password=sec roles=admin,manager,provider/ On 3 Jan 2003 at 10:58, Jeanfrancois Arcand wrote: If you click on the link you just provided, read in the middle of the page :-), you will read :

Transport-guarantee problem with 4.1.18

2003-01-08 Thread Peter Lee
I asked this earlier, but I still got problems with it. I upgraded to 4.1.18, but I got some problems with security constraints. I have applied a security constraint on a particular url pattern. Only certain users with a special rolename can access that link. The data transportation is

Security constraint problem with v4.1.18

2002-12-24 Thread Peter Lee
I upgraded from 4.1.12 to 4.1.18, but I got some problems with security constraints. I have applied a security constraint on a particular url pattern. Only certain users with a special rolename can access that link. It used to work but now the page does not load with v4.1.18. Is SSL implemented

Security constraint problem with v4.1.18

2002-12-21 Thread Peter Lee
I upgraded from 4.1.12 to 4.1.18, but I got some problems with security constraints. I have applied a security constraint on a particular url pattern. Only certain users with a special rolename can access that link. It used to work but now the page does not load with v4.1.18. Is SSL implemented

(Fwd) This Week in Java for Monday, October 28, 2002

2002-12-21 Thread Peter Lee
--- Forwarded message follows --- Date sent: Mon, 28 Oct 2002 13:11:53 -0500 From: [EMAIL PROTECTED] Subject:This Week in Java for Monday, October 28, 2002 To: [EMAIL PROTECTED] Send reply to: [EMAIL PROTECTED]

Re: Sending GIF image from tomat web application to browser

2002-12-20 Thread Peter Lee
how to do this. Raj Peter Lee wrote: I am trying to send GIF or JPEG images from a Tomcat web application servlet to a browser when the user clicks on a web link. Is there any correct way of doing this? Thanks -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED

Where to put JSP files?

2002-12-06 Thread Peter Lee
Where should I put my jsp files? I usually put them above the /web-inf folder, but this would allow clients to see the directory listing. Should I use a redirect mapping to protect them from being viewed? In which file should I do it? Thanks -- To unsubscribe, e-mail: mailto:[EMAIL

Security role name warning

2002-12-06 Thread Peter Lee
I got the following warning. what does it really mean? WARNING: Security role name specialrole used in an auth-constraint without being defined in a security- role -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

How do you select to call doPost or doGet method of servlet?

2002-12-02 Thread Peter Lee
When using the Requestdispatcher, how do you select to call doPost or doGet method of servlet? How to specify which one to call? Thanks. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

How do you select to call doPost or doGet method?

2002-12-02 Thread Peter Lee
When using the Requestdispatcher, how do you select to call doPost or doGet method of servlet? How to specify which one to call? Thanks. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Logging to catalina logger

2002-12-01 Thread Peter Lee
How do I produce log output to the catalina loggerwhen my program wants to print out some exceptions or messages? Any documents on this? Thanks -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

How do I access files above and below \web-inf folder?

2002-12-01 Thread Peter Lee
How do I access files above and below \web-inf folder from a JSP/html file that is above the \web-inf folder ? I am now using getRealpath() in my jsp code, but it did not work. Any ideas? I am stuck now.. Thanks -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

How do I specify default localtion of .keystore file?

2002-11-30 Thread Peter Lee
How do I specify default localtion of .keystore file in the server.xml file? !-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 -- ! Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=443 minProcessors=5 maxProcessors=75

Re: How do I specify default localtion of .keystore file?

2002-11-30 Thread Peter Lee
is stored in location besides default. Peter Lee wrote: How do I specify default localtion of .keystore file in the server.xml file? !-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 -- ! Connector className=org.apache.coyote.tomcat4.CoyoteConnector port

How do I get the absolute path of a file in a directory above WEB-INFdirectory of my web application?

2002-11-29 Thread Peter Lee
I am using Tomcat for servlets. How do I get the absolute path of a file in a directory above WEB-INF directory of my web application? Thanks -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

How to configure data transport constraint for a URL in Tomcat?

2002-11-29 Thread Peter Lee
I have this online form page that needs to be secure, so I do not want to send it in plain text. How do I apply data transport constraint to the URLused to generate the form in Tomcat? Thanks -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL

HTTP and SSL Connector port problems

2002-11-20 Thread Peter Lee
Is there any particular good reason to change HTTP port from 8080 to 80 and the SSL connector port from 8443 to 443? They causing problems for me. Some people are suggesting that we should change the ports. I changed the HTTP Connector port from 8080 to 80 Then I uncommented the SSL Connector

RE: HTTP and SSL Connector port problems

2002-11-20 Thread Peter Lee
feel comfortable with that) - Run tomcat behind IIS/Apache - Use a port mapping tool (Don't know if there is a well known for windows, I'm using mainly linux) -Original Message- From: Peter Lee [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 20, 2002 12:04 PM To: Tomcat

Re: HTTP and SSL Connector port problems

2002-11-20 Thread Peter Lee
to 4.1.14. Minor? ssl warning bug: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14164 -Original Message- From: Peter Lee [mailto:[EMAIL PROTECTED]] Sent: Mittwoch, 20. November 2002 12:04 To: Tomcat Users List Subject: HTTP and SSL Connector port problems

RE: HTTP and SSL Connector port problems

2002-11-20 Thread Peter Lee
about them? On 20 Nov 2002 at 14:18, brana02 wrote: it may be some very simple syntax error like leaving out the / before you close the tag, it just happened to me before -Original Message- From: Peter Lee [mailto:[EMAIL PROTECTED]] Sent: Wed 11/20/2002 2:12 PM

SSL Connector port problems

2002-11-19 Thread Peter Lee
I changed the HTTP Connector port from 8080 to 80 Then I uncommented the SSL Connector section and changed the SSL port from 8443 to 433 These are supposed to be well-known ports. But how come after I made the changes, Tomcat just refused to start? I am on the Win2000 platform. !-- Define a

Re: SSL Connector port problems

2002-11-19 Thread Peter Lee
On 19 Nov 2002, at 11:16, Kristján Rúnarsson wrote: Yes, I did start Tomcat as the administrator, so I have all the rights. Those ports you mentioned are privileged ports, I think you can only use them if you have ROOT rights (UNIX) or admin rights (Windoze NT/2000), if you don't have root

How does servlets know it is a page refresh?

2002-11-15 Thread Peter Lee
I have some servlets serving html pages from the servlet engine. suppose the user click the refresh button of the browser. How does the servlet know that the user wants a refresh of the page? My servlet needs to know if it is a refresh since if it processes the same request twice in a row, it

Servlet returns blank html page

2002-11-09 Thread Peter Lee
I have this web page on which I clicked the web link: http://localhost:8080/example/servlet/MyServlet I have MyServlet.java compiled and MyServlet.class is in the WEB-INF\classes folder. I am expecting a html page generate by the servlet, but all I got was a blank page. Whats is incorrect?

Re: Shutting down and restarting Tomcat

2002-11-08 Thread Peter Lee
On 8 Nov 2002, at 2:43, yves lambert wrote: Peter Lee wrote: I need to shutdown and then restart tomcat repeatedly for my testing purposes. I am using a Windows batch file which will call shutdown.bat and startup.bat. But each time Tomcat did not restart. Is there any better way

Shutting down and restarting Tomcat

2002-11-07 Thread Peter Lee
I need to shutdown and then restart tomcat repeatedly for my testing purposes. I am using a Windows batch file which will call shutdown.bat and startup.bat. But each time Tomcat did not restart. Is there any better way of doing this? Thanks -- To unsubscribe, e-mail:

Sending GIF image from tomat web application to browser

2002-11-05 Thread Peter Lee
I am trying to send GIF or JPEG images from a Tomcat web application servlet to a browser when the user clicks on a web link. Is there any correct way of doing this? Thanks -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail:

Invoker servlet mapping

2002-11-01 Thread Peter Lee
I downloaded the hotfix for disabling the invoker servlet. Inside the web.xml, the invoker servlet mapping was not commented out. Is the hotfix supposed to disable it or just work around it? !-- The mapping for the invoker servlet -- servlet-mapping servlet-nameinvoker/servlet-name

Invoker servlet mapping

2002-11-01 Thread Peter Lee
I downloaded the hotfix for disabling the invoker servlet. Inside the web.xml, the invoker servlet mapping was not commented out. Is the hotfix supposed to disable it or just work around it? !-- The mapping for the invoker servlet -- servlet-mapping servlet-nameinvoker/servlet-name

RE: Servlets deployment directory location

2002-10-29 Thread Peter Lee
such symbolic links under WEB-INF? What kind of error messages are you getting? Yoav Shapira Millennium ChemInformatics -Original Message- From: Peter Lee [mailto:tomcatuserm;shaw.ca] Sent: Monday, October 28, 2002 3:53 PM To: [EMAIL PROTECTED] Subject: Servlets deployment directory

Servlets deployment directory location

2002-10-28 Thread Peter Lee
For tomcat 4.1.12, which is the servlets deployment directory? for 4.0.6 and before, it was web-inf/classes. Now with 4.1.12 it does not work anymore. I tried in win98and Win2000. Did they changed the location where you deploy servlets? Did they change the directory structure?  Thanks --