Retrieving username and password from url??

2002-12-02 Thread Abhishek Srivastava
Hi, Is there a way that I can retrieve the username and password from the url given as below using a servlet. https://username:password@hostname/servletname/servlet Regards, Abhishek -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL

RE: Retrieving username and password from url??

2002-12-02 Thread Abhishek Srivastava
or Tokenize the string until you get what you want. There are several regular expression packages that you can use, which is available under the jakarta project or if you are so inclined you can use the one that comes with jdk1.4 Abhishek Srivastava wrote: Hi, Is there a way that I can retrieve

Tomcat 4.0.3 and IIS Strange Problem

2002-07-31 Thread abhishek srivastava
Hello All, I am using Tomcat 4.0.3 integrated with IIS. I am very happily working with a HTML brower for so long without any problem. Now If I use a PDA simulator browser (Microsoft Pocket PC SDK 2002) then tomcat throws the following error. java.lang.NumberFormatException at

mod_jk.so for the new tomcat!

2002-06-23 Thread abhishek srivastava
Hello All, I have downloaded the new tomcat 4.0.4 today. I also downloaded the source for the jakarta-tomcat-connectors-4.0.4-src ... when I run ant the build says build successfull. but there is no mod_jk.so to be found. I also went in a directory called native and ran the ant from there but

Connection pooling doesn't work for me ... Help !!

2002-06-09 Thread abhishek srivastava
Hello everyone, I read the tomcat jndi how to manual. searched the mailing list archive. and did everything which has made other happily get a connection from the jndi of the pool but I just can't do it. DataSource ds = (javax.sql.DataSource) initCtx.lookup(java:comp/env/jdbc/MPSSource);

Connection pooling doesn't work for me ... Help !!

2002-06-09 Thread abhishek srivastava
Hello everyone, I read the tomcat jndi how to manual. searched the mailing list archive. and did everything which has made other happily get a connection from the jndi of the pool but I just can't do it. DataSource ds = (javax.sql.DataSource) initCtx.lookup(java:comp/env/jdbc/MPSSource);

Help Connection pooling doesn't work for me

2002-06-09 Thread abhishek srivastava
Hello All, Sorry for the previous half typed mail... IE just decided to send the mail on its own. I make the following call in my Java code DataSource ds = (javax.sql.DataSource) initCtx.lookup(java:comp/env/jdbc/DBSource); return ds.getConnection(); // RETURNS NULL Here the