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

RE: Retrieving username and password from url??

2002-12-02 Thread Abhishek Srivastava
ems you want 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 th

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"); r

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"); r

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 ds.getConnecti

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 bu

mod_jk configuration Amost there !!

2002-06-26 Thread abhishek srivastava
Hello All, After two days of continious battle with tomcat with apache and having spent numerours hours of RTFM of mod_jk build and config manual I am almost there. When I type in http://localhost/tomcat/examples I get the following message - Apache Tomcat/4.0.4 - HTTP Status 404 -

RE: mod_jk configuration Amost there !!

2002-06-26 Thread abhishek srivastava
alhost:8080/tomcat/examples/ >and see if that gets served. > >-Original Message- >From: abhishek srivastava [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, June 26, 2002 1:26 PM >To: [EMAIL PROTECTED] >Subject: mod_jk configuration Amost there !! > > >Hello All, >

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 org.apa