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 also

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? 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 : > > "NOTE: For security reasons, using the administratio

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 d

(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] Th

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 d

Re: Sending GIF image from tomat web application to browser

2002-12-20 Thread Peter Lee
igure out 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? > > > &

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 without being defined in a -- To unsubscribe, e-mail: For additional commands, e-mail:

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:

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: For additional commands, e-mail:

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: For additional commands, e-mail:

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: For additional command

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: For additional commands, e-mail:

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

2002-11-30 Thread Peter Lee
only if file is stored in location > besides "default". > > Peter Lee wrote: > > >How do I specify default localtion of .keystore file in the server.xml file? > > > > > > > > > port="443

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? -- To unsubscribe, e-mail: For additional commands, e-mail:

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: For additional commands, e-mail:

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: For additional commands, e-mail:

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

Re: HTTP and SSL Connector port problems

2002-11-20 Thread Peter Lee
security > > constraints. > > The same problem occurs when using Apache in front of Tomcat. Tested > > both. IE will behave the same, so run Apache or Tomcat on 80/443 and > > don't forget to the the redirect ports in either the http1/1 connector > > and/or the

RE: HTTP and SSL Connector port problems

2002-11-20 Thread Peter Lee
t; - Run tomcat as administrator (If you 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 [m

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 se

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

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

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 m

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 > &g

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: 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? invoker /servlet/* -- To unsubscribe, 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? invoker /servlet/* -- To unsubscribe, e-mail:

RE: Servlets deployment directory location

2002-10-29 Thread Peter Lee
d to be allowed isn't allowed > anymore. > > Do you have any such symbolic links under WEB-INF? What kind of error > messages are you getting? > > Yoav Shapira > Millennium ChemInformatics > > > >-Original Message- > >From: Peter Lee [mailt

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