Venkateswara Chinni/R6/USEPA/US is out of the office.
I will be out of the office starting 07/28/2004 and will not return until 09/07/2004. I will be out of the office starting 07/28/2004 and will not return until 09/07/2004. If you need assistance for Express Link, please contact Mark at 214-665-2116. If you need assistance for SDMS, please contact Raji at 214-665-6555. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Venkateswara Chinni/R6/USEPA/US is out of the office.
I will be out of the office starting 07/28/2004 and will not return until 09/07/2004. I will be out of the office starting 07/28/2004 and will not return until 09/07/2004. If you need assistance for Express Link, please contact Mark at 214-665-2116. If you need assistance for SDMS, please contact Raji at 214-665-6555. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Venkateswara Chinni/R6/USEPA/US is out of the office.
I will be out of the office starting 07/28/2004 and will not return until 09/07/2004. I will be out of the office starting 07/28/2004 and will not return until 09/07/2004. If you need assistance for Express Link, please contact Mark at 214-665-2116. If you need assistance for SDMS, please contact Raji at 214-665-6555. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Any idea about Session object Failue?
Did you try using -- request.getsession(false)? gOOd day. --- V R Chinni (DPRA). Contractor for EPA. 214-665-6783 --- Rajesh Harikrishnan To: Tomcat Users List webteam@sslindia [EMAIL PROTECTED] .comcc: Subject: Any idea about Session object Failue? 05/11/02 03:33 AM Please respond to Tomcat Users List Hi All, Thanks for your reply for my previous question on 'Session Problem'. In addition to the previous subject, i still could'nt figure out the exact problem in my application. After a close watch, i found some where in the application the existing 'Session object' is being 'Written Over' by a new 'Session Object' when calling 'request.getsession()'. Can somebody enlight, Is their any possibility for a existing session object to be implicitly killed without calling 'invalidate()' by the program??. Thanks in advance for your help. Regards H.Rajesh ([EMAIL PROTECTED]) SSPL,Chennai India. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: session expiree
You can try with ONUNLOAD event. --- V R Chinni (DPRA). Contractor for EPA. 214-665-6783 --- Sudhir [EMAIL PROTECTED]To: [EMAIL PROTECTED] m.sgcc: Subject: session expiree 04/22/02 04:26 AM Please respond to Tomcat Users List Hi, Can anybody tell me if the user closed the window without logging out but pressing the X button of the browser, how do we close the session. Thanks and Best Regards, Venkata Sudhir Kurapati -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Newbie problem with reading init params
You actually read them from ServletContext not from the ServletConfig. You can get the Servlet Context by doing... ServletContext sc = getServletContext(); Hope this helps. -Chinni. Dominik Jednoralski To: [EMAIL PROTECTED] tomcat@lime-cc: design.de Subject: Newbie problem with reading init params 02/07/02 12:02 PM Please respond to Tomcat Users List Hey Guys, I have a problem with getting my init-params from the web.xml-file. These are the parameters I inserted into the webapps/root/web-inf/web.xml-file: web-app servlet servlet-nameShowMsg/servlet-name servlet-classlimeservlets.ShowMessage/servlet-class init-param param-namemessage/param-name param-valueNerv-Serv/param-value /init-param init-param param-namerepeats/param-name param-value5/param-value /init-param /servlet /web-app Now I failed to read these parameters with the follwing servlet: package limeservlets; import javax.servlet.*; import javax.servlet.http.*; import java.io.*; public class ShowMessage extends HttpServlet { private String message; private String defaultMessage = Leider keine Nachricht.; private int repeats = 1; public void init (ServletConfig config) throws ServletException{ super.init(config); message = config.getInitParameter(message); if (message == null) { message = defaultMessage; } try { String repeatString = config.getInitParameter (repeats); repeats = Integer.parseInt(repeatString); } catch (NumberFormatException nfe){} } public void doGet (HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException{ response.setContentType(text/html); PrintWriter out = response.getWriter(); String title = The Servlet which shows a message!; out.println(ServletUtilities.headWithTitle(title) + body bgcolor=#fdf5f6\nh1+ title + /h1br); for (int i = 0; i repeats; i ++) { out.println(message + br); } out.println(/body/html); } } Does anyone know the reason for that? I for myself don't have a clue- I'm not really into configuring servers... Dominik Jednoralski . Lime Design Mediengestaltung . Lilienstr. 23 . 63768 Hvsbach . Tel. 06021.550470 . visit www.lime-design.de -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Maximum url length
One way I can see is... use hidden html INPUT tags for your params and use POST instead of GET. Hope this helps. gOOd day. -Chinni karkoma abambala@genTo: Tomcat Users List asys.es [EMAIL PROTECTED] cc: 02/05/02 Subject: Maximum url length 12:47 PM Please respond to Tomcat Users List Hi... I'm trying to send a long uri to Tomcat 3.3 but it complains with error code 414, (414 Request-URI Too Long). However Apache can handle the same url. Is there a way to tell Tomcat to admit long uris / urls?? Something like this lynx -dump localhost:8080/ABC/myservlet?request =%3C%3Fxml+version%3D%221.0%22+encoding%3D%22UTF-8%22%3F%3E%0D%0A%3CGPPR%3E%0D%0A%09%3CFUNCION+type%3D%22UPDATE%22%3EcreateUser%3C%2FFUNCION%3E%0D%0A%09%3CAUTENTIFICATION%3E%0D%0A%09%09%3CCLIENT%3Ecesar%3C%2FCLIENT%3E%0D%0A%09%09%3CCLI_PASSWD%3Ecesar%3C%2FCLI_PASSWD%3E%0D%0A%09%09%3CUSER_LOGIN%3Ecesar%3C%2FUSER_LOGIN%3E%0D%0A%09%09%3CUSER_PASSWD%3Ecesar%3C%2FUSER_PASSWD%3E%0D%0A%09%3C%2FAUTENTIFICATION%3E%0D%0A%09%3CPARAMETERS+identype%3D%22MSISDN%22%3E%0D%0A%09%09%3CATTRIBUTE+name%3D%22USER%22+param%3D%22Y%22%3E%0D%0A%09%09%09%3COBJECT%3E%0D%0A%09%09%09%09%3CCLASS%3EUSER%3C%2FCLASS%3E%0D%0A%09%09%09%09%3CCONTENTS%3E%0D%0A%09%09%09%09%09%3CATTRIBUTE+name%3D%22TIMEOUTVALIDATE%22%3E%0D%0A%09%09%09%09%09%09%3CINT+val%3D%220%22%2F%3E%0D%0A%09%09%09%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%09%09%09%09%3CATTRIBUTE+name%3D%22MASTERLOC%22%3E%0D%0A%09%09%09%09%09%09%3CCHAR+val%3D%22N%22%2F%3E%0D%0A%09%09%09%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%09%09%09%09%3CATT! RIBUTE+name%3D%22PUBLIC%22%3E%0D%0A%09%09%09%09%09%09%3CCHAR+val%3D%22N%22%2F%3E%0D%0A%09%09%09%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%09%09%09%09%3CATTRIBUTE+name%3D%22NAME%22%3E%0D%0A%09%09%09%09%09%09%3CSTRING+val%3D%22UserTest%22%2F%3E%0D%0A%09%09%09%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%09%09%09%09%3CATTRIBUTE+name%3D%22MSISDN%22%3E%0D%0A%09%09%09%09%09%09%3CSTRING+val%3D%2234686966458%22%2F%3E%0D%0A%09%09%09%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%09%09%09%09%3CATTRIBUTE+name%3D%22USERDATA%22%3E%0D%0A%09%09%09%09%09%09%3CSTRING+val%3D%22Datos+de+Utest%22%2F%3E%0D%0A%09%09%09%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%09%09%09%09%3CATTRIBUTE+name%3D%22IDPROFILE%22%3E%0D%0A%09%09%09%09%09%09%3CINT+val%3D%221%22%2F%3E%0D%0A%09%09%09%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%09%09%09%09%3CATTRIBUTE+name%3D%22VALIDATED%22%3E%0D%0A%09%09%09%09%09%09%3CCHAR+val%3D%22Y%22%2F%3E%0D%0A%09%09%09%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%09%09%09%09%3CATTRIBUTE+name%3D%22DATEINS%22%3E%0D%0A%09%09%09%09%09%09%3CSTRING+val%3D%22%! 22%2F%3E%0D%0A%09%09%09%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%09%09%09%3C%2FCONTENTS%3E%0D%0A%09%09%09%3C%2FOBJECT%3E%0D%0A%09%09%3C%2FATTRIBUTE%3E%0D%0A%09%3C%2FPARAMETERS%3E%0D%0A%3C%2FGPPR%3E%0D%0A Thanx. Alberto -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: NullPointerException: causes?
I think DB_URL string making should be jdbc:oracle:thin: @111.22.333.44:1521:SID looks like yor are missing '@' symbol. -Chinni. John Wadkin j.wadkin@hudTo: Tomcat Users List (E-mail) .ac.uk [EMAIL PROTECTED] cc: 01/31/02 Subject: NullPointerException: causes? 11:40 AM Please respond to Tomcat Users List Can anyone offer any suggestions about the cause of the attached NullPointerException trace? I've managed to setup and integrate Apache 1.3 and Tomcat 4.1 using mod_WebApp on Solaris 8 (JDK 1.3). I ran the attached servlet (which I didn't write) with the hope of testing that everything was working ok, especially the Oracle/JDBC bit. As far as I can tell, everything is configured properly... The general aim is for me to verify that everything works (using the attached servlet) before trying to deploy a second, more complex servlet that's currently running under JServ. Apologies if this is a frequent question but I've only been able to find vague references to it, and I'm only a novice Java programmer! Thanks, John Quote for the week: My fellow Americans, I am pleased to tell you I just signed legislation which outlaws Russia forever. The bombing begins in five minutes. Ronald Reagan, Radio microphone test, 11 Aug. 1984 (See attached file: error.txt)(See attached file: DatabaseCheck.java)-- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] error.txt Description: Binary data DatabaseCheck.java Description: Binary data -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Limits of Web
Brett, I 've a question regarding the communication between the Applet and Servelt (server). How can I send the XML file to the Sevlet from the Applet(Client) And also how can I get back the XML file with results from the Servlet to Applet, so that I can parse the results into fields.. And also, is there any way to get same above XML communication between client and WebServer with out using Applets. For Ex:- submitting a XML file instead of submitting a FORM. Thanks in advance. -Chinni. --- V R Chinni (DPRA). Contractor for EPA. 214-665-6783 --- Brett M. Bergquist To: [EMAIL PROTECTED] brettb@mail.cc: com Subject: Re: Limits of Web 09/24/01 03:08 PM Please respond to tomcat-user Exactly. In my case, instead of performing SQL on a database, I perform SNMP on a network device. The same logic applies, however. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, September 24, 2001 3:49 PM Subject: Re: Limits of Web Brett, Again thanks for the reply. One more question regarding XML. When you send the XML request info, do you send the data as well? For example if the applet requests data from the server I, would then process it, preform the necessary SQLs on the database and then send the data back to the applet as an XML document and have the applet parse it and desplay it? Brett M. Bergquist To: [EMAIL PROTECTED] brettb@mail.cc: com Subject: Re: Limits of Web 09/24/01 01:46 PM Please respond to tomcat-user Okay for the internet. That's what we support as well as intranet. I wanted to make sure that my application was easy to deploy in an internet environment so I did not what to start using RMI or IIOP or something else that would not flow over a firewall, so I chose to use XML over HTTP. Basically, our applets create an XML document that describes the request data needed and then use an HTTP POST to pass this data to the backend servlet. The servlet processes the HTTP POST data, transforms it back into a XML DOM document. It then analyzes and processes the request. It then creates a XML document as the response and passes this back to the applet using the HTTP response. We use an early version of Sun's XML parser and I also modified the sample XML-RPC client and servlet classes for my own use to support this. It works pretty good and performance of creating and parsing the XML is a non-issue; the major processing time is taken by actually performing the requested service. If I had to do it over, I would definitely look at using the quasi standard XML-RPC protocol or maybe even SOAP, but I have a feeling that these are getting to esoteric for my taste. One other benefit of this approach was that the front end is loosely coupled from the backend. I could change the front end side, maybe having a native application or something similar, and the backend would be blissfully unaware. The XML is the binding protocol between the two. Our applications currently have about 5 to 7 tab pages with about 10 to 15 items per page. From the time the applet starts on the browser to the time that it displays the data is about 1 to 2 seconds. This is using just Tomcat as our web server and java servlet engine. We started to front the backend with Apache, but the connection between Apache and Tomcat was flaky and we seem to get good enough response time with just Tomcat. It also simplifies the configuration quite a bit. We do one other
Changing the TARGET from Servlet for displaying something on theclient.
I have an issue here with Servlet and TARGET ( form name=xyz TARGET =xxx). Once I submit the FORM to a Servlet with a specified TARGET in the FORM tag, can I change the TARGET in the Servlet code to some other form. Can any one tell me how can I do it. FYI: I use the following code to forward to a JSP from the Servlet. RequestDispatcher dispatcher = getServletContext().getRequestDispatcher (/.../test.jsp); dispatcher.forward(request, response); Thanks for your help. -Chinni. --- V R Chinni (DPRA). Contractor for EPA. 214-665-6783 ---
Changing the TARGET from Servlet for displaying something on theclient.
I have a problem here with Servlet and TARGET ( form name=xyz TARGET=xxx). Once I submit the FORM to a Servlet with a specified TARGET in the FORM tag, can I change the TARGET in the Servlet code to some other form. Can any one tell me how can I do it. Thanks for your help. -Chinni. --- V R Chinni (DPRA). Contractor for EPA. 214-665-6783 ---
Re: How to Unsubscribe -Please help
Just follow below... Hi! This is the ezmlm program. I'm managing the [EMAIL PROTECTED] mailing list. I'm working for my owner, who can be reached at [EMAIL PROTECTED] Welcome to [EMAIL PROTECTED]! Please save this message so that you know the address you are subscribed under, in case you later want to unsubscribe or change your subscription address. --- Administrative commands for the tomcat-user list --- I can handle administrative requests automatically. Please do not send them to the list address! Instead, send your message to the correct command address: To subscribe to the list, send a message to: [EMAIL PROTECTED] To remove your address from the list, send a message to: [EMAIL PROTECTED] Send mail to the following for info and FAQ for this list: [EMAIL PROTECTED] [EMAIL PROTECTED] Similar addresses exist for the digest list: [EMAIL PROTECTED] [EMAIL PROTECTED] To get messages 123 through 145 (a maximum of 100 per request), mail: [EMAIL PROTECTED] To get an index with subject and author for messages 123-456 , mail: [EMAIL PROTECTED] They are always returned as sets of 100, max 2000 per request, so you'll actually get 100-499. To receive all messages with the same subject as message 12345, send an empty message to: [EMAIL PROTECTED] The messages do not really need to be empty, but I will ignore their content. Only the ADDRESS you send to is important. You can start a subscription for an alternate address, for example [EMAIL PROTECTED], just add a hyphen and your address (with '=' instead of '@') after the command word: [EMAIL PROTECTED] To stop subscription for this address, mail: [EMAIL PROTECTED] In both cases, I'll send a confirmation message to that address. When you receive it, simply reply to it to complete your subscription. If despite following these instructions, you do not get the desired results, please contact my owner at [EMAIL PROTECTED] Please be patient, my owner is a lot slower than I am ;-) --- Enclosed is a copy of the request I received. Return-Path: [EMAIL PROTECTED] Received: (qmail 28341 invoked from network); 1 Jun 2001 15:50:11 - Received: from myrtle.rtpnc.epa.gov (134.67.208.33) by h31.sny.collab.net with SMTP; 1 Jun 2001 15:50:11 - Received: from epahub11.rtp.epa.gov (epahub11.rtp.epa.gov [134.67.213.52]) by epamail.epa.gov (PMDF V5.2-32 #42055) with ESMTP id [EMAIL PROTECTED] for [EMAIL PROTECTED]; Fri, 1 Jun 2001 11:49:14 -0400 (EDT) Date: Fri, 01 Jun 2001 10:49:11 -0500 From: [EMAIL PROTECTED] Subject: Re: confirm subscribe to [EMAIL PROTECTED] To: [EMAIL PROTECTED] Message-id: [EMAIL PROTECTED] MIME-version: 1.0 X-Mailer: Lotus Notes Release 5.0.1a August 17, 1999 X-MIMETrack: Serialize by Router on EPAHUB11/USEPA/US(Release 5.0.6a |January 17, 2001) at 06/01/2001 11:49:13 AM X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N --- V R Chinni (DPRA). Contractor for EPA. 214-665-6783 --- Venkatesh Sangam venkatesh_sangam@hoTo: [EMAIL PROTECTED] tmail.com cc: Subject: How to Unsubscribe -Please help 06/01/01 02:42 PM Please respond to tomcat-user _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.