Triple login needed with cookie disabled browser to access protected webapp?!

2002-01-21 Thread Ing. Gabriel Gajdos
I have a strange problem with Tomcat 4.0.1. I am using FORM authentication for my webapp. Every time a user tries to access my webapp, he must login 3 times to get the index page. First login is needed for getting main context (--> "/cm") Second login is needed for "/cm/" (note / at the end) A

RE: Question about URLencoded Cookie data?

2002-01-15 Thread Ing. Gabriel Gajdos
There is such a method in JDK: static String java.net.URLDecoder.decode() Does it help? ;-) | Many thanks to Craig for pointing me at Filters to solve my access | problems. | | Next Question: Running Tomcat 4.0.1, my cookies now seem to be URLencoded, | ie characters + and = get encoded. How

RE: User Registration Login Problem

2002-01-15 Thread Ing. Gabriel Gajdos
Craig, is there a way to determine the requested URL in login page? This could help in following way: The link to registration could contain a "GET" parameter such as registration The registration file could work with this parameter and use it for redirect (or whatever) after the registration i

RE: can't access to MySQLfrom java on Linux RedHat 7

2002-01-15 Thread Ing. Gabriel Gajdos
As Sajida Kalsoom already posted, U need to check MySQL access configuration. It is possible to set what users from which hosts (IP address) can connect to MySQL. And it is possible to set table privilegs for users (SELECT, UPDATE, DELETE...). So to identify your problem U neet to check a) how th

RE: Programmatic login with Tomcat 4.0.1

2002-01-04 Thread Ing. Gabriel Gajdos
If you use BASIC authentication, user/password are contained in the "Authorization" HTTP 1.1 Header (in Base64 encoded form). Never tried, but should work when supplying correct data into your HTTP request (including headers). | How do I programmatically login into TC 4.0.1? | | Sincirely, | S

RE: load balancing Multiple Tomcat instances

2001-12-06 Thread Ing. Gabriel Gajdos
Hi! I don't have good news for you. The support for AJP 13 in Tomcat 4 should be considered as beta... And Tomcat 4.0.1 does not support load balancing... If you really need this feature, stat at 3.x. GG | Hi, | Loadbalancer worker can be set in Worker.properties in 3.x, but in 4.x | there |

RE: RE2: Jsp compile option for Big5 encoding / encoding question

2001-12-04 Thread Ing. Gabriel Gajdos
Thanx Craig, but I affraid, this was not the problem. | > | > JSP (start file): | > <% | > String contentType = "text/html;charset=windows-1250"; | > response.setContentType(contentType); | > %> | > | | The setting "windows-1250" is not a valid character encoding name in Java. | Try "Big5" i

RE: win95 mod_webapp cannot load

2001-12-03 Thread Ing. Gabriel Gajdos
| Thanks William | My libapr.dll wasn't in the above directory | Unfortunately, it only changed the error message. | Syntax error on line 193 of e:/program files/apache | group/apache/conf/httpd.conf : | Cannot load e:/program files/apache group/apache/modules/mod_webapp.so into | serv | er: (31)

RE: RE2: Jsp compile option for Big5 encoding / encoding question

2001-12-03 Thread Ing. Gabriel Gajdos
Thanx, Craig, but something is wrong... | Yes, dynamically setting the content type and character encoding is | supported in JSP 1.2 (and therefore in Tomcat 4). You have three choices: | | * You can use a scriptlet to set the content type at the top of your | JSP page: | | <% | String

RE2: Jsp compile option for Big5 encoding / encoding question

2001-12-03 Thread Ing. Gabriel Gajdos
Craig (or somebody else), could you, please, give me a hint in following question? | JSP pages follow these rules: | | * If you declare a "pageEncoding" attribute on your <%@ page %> | directive (supported in JSP 1.2 only), that character set is used | to read the text of the page itself (as

RE: tomcat 4.0

2001-12-02 Thread Ing. Gabriel Gajdos
| | the server is not restarting, Just a guess: Where did you place the Realm? Did you place it under the appropriate Context? Such as: mailto:[EMAIL PROTECTED]> For additional commands: Troubles with the list:

RE: regarding Tomcat setup

2001-12-02 Thread Ing. Gabriel Gajdos
Well, I am not sure what exactly you are thinking... Please, try to give more information. For example, how you connect Tomcat and Apache (mod_webapp/AJP13). What do you mean with "i couldn't find the directory where as i placed my directory"? Are you getting 404 Not Found HTTP Error code? | hi!

RE: How does one authenticate through TC 4.0?

2001-12-02 Thread Ing. Gabriel Gajdos
| What are the steps to setting up user authentication in a webapp/myfolder/ | ??? Try this at your computer: TOMCAT_HOME\webapps\tomcat4-docs\realm-howto.html Or this link http://jakarta.apache.org/tomcat/tomcat-4.0-doc/realm-howto.html from internet. GG -- To unsubscribe: