Pop3 Mail client.

2002-03-14 Thread It, Cockpit (CAP, Contractor)
Dear Friends, Do any one know where can I find source code in servlet to read mails from pop3 server. Actually my requirement is to read a subject line of one particular mail id, and should parse the body message then should update them into the database. My database is Oracle, and my pop3 mail se

Re: Objects with Application Scope

2002-03-14 Thread Vikramjit Singh
i dont think adding that line will solve your caching problem. it works but most of the time it does not. You can add these lines response.setHeader("Cache-Control","no-cache"); response.setHeader("Pragma","no-cache"); //HTTP 1.0 response.setDateHeader ("Expires", 0); //prevents caching at the pr

Re: closing sessions

2002-03-14 Thread ibrahim beyazit
I would consider setting the session-timeout parameter in your deployment descriptor. Alternatively you can do that programmatically by using setMaxInactiveInterval method of the session object. After the time specified elapsed, your web container will terminate the session. (It will call session.

Re: Objects with Application Scope

2002-03-14 Thread ibrahim beyazit
You are suffering with the cache problems. You have to tell your HTTP server that you don't want your page cached. You can add this line which cures your problem (Add it after HTML tag) good luck --- Peter Dolukhanov <[EMAIL PROTECTED]> wrote: > Dear All, > > > > I am designing an application, wh

Re: Session Management

2002-03-14 Thread Chris Pratt
Without writing your own session management system, this can't be done. It allows a major security hole if one user's session can see the data from another's. (*Chris*) - Original Message - From: "Lucky®Luke" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 14, 2002 6:

Re: Does Tomcat Synchronize the Session Object???

2002-03-14 Thread Chris Pratt
While it's true that you NORMALLY will only get one request at a time per session, the fact that you CAN get more means that your code has to take that into account. Some browsers share cookies for every instance that is open on the same desktop, which means if you have two windows up on the same

Re: Objects with Application Scope

2002-03-14 Thread Dunwiddie, Bruce
It's a silly trick, but put a ? at the end of the src="js/js.jsp" to make it src="js/js.jsp?" which will make the browser think you are sending it a url string, forcing the browser to get a new version. -Original Message- From: Peter Dolukhanov [mailto:[EMAIL PROTECTED]] Sent: Thursday, M

Objects with Application Scope

2002-03-14 Thread Peter Dolukhanov
Dear All, I am designing an application, which connects to a database and then populates an object of application scope. It then performs various algorithms on this object. However, if I modify the database, I want to reinitialize the object. However, for unknown reasons some aspects of the pag

closing sessions

2002-03-14 Thread João Serras
Hi all! Can anyone tell me how can I attach an event to a browser window? I have a JSP/Servlet application running on server (PC) that opens a UNIX session. When I logout from the application, the application forwards the request to "logout.jsp" that makes one call to "sess

Re: Off Topic: About Networking

2002-03-14 Thread Branden Root
Debopam, There is no easy 100% sure way of doing this. You could download a tool such as nmap, and then tell it to ping scan a range of IPs. However, this will probably be blocked by company firewalls, routers, NAT, etc. Branden Root Web Developer Portent Interactive [EMAIL PROTECTED]

Re: Charts in Jsp doesn't work

2002-03-14 Thread Christopher K. St. John
Nancy Crisostomo Martinez wrote: > > I couldn't see the charts displayed and someone told me that > I need to install X Window System... Is that true? > For versions of the JDK before 1.4, yes, it is an issue. (JDK 1.4 has a special 'headless' switch). There are a couple of different solutions.

Re: Charts in Jsp doesn't work

2002-03-14 Thread Clayton Nash
You need to install a windowing system on the Sun to allow it to get some fonts and a few other rendering aids. You can install what's called a virtual framebuffer server which emulate having the X windows environment -- get your Solaris guy to sort it. Clayton - Original Message - From:

Charts in Jsp doesn't work

2002-03-14 Thread Nancy Crisostomo Martinez
Hi Everybody! Do you know what is X Windows System for? Do I need to install it to work with charts?.. I mean, I couldn't see the charts displayed and someone told me that I need to install X Window System... Is that true? The jsp wich displays a chart are placed in a Solaris Sparc server running

Re: javadoc

2002-03-14 Thread Paul Balanoiu
there are other complete JDK's, like IBM's. the Java IDE's usualy have tools for javadoc generation, but they usualy are simple frontends for the command line tool from the jdk, which is invoked for the final html generation. you still might try there ( but the IDE's usualy costs a lot of money) -

Re: Does Tomcat Synchronize the Session Object???

2002-03-14 Thread Christopher K. St. John
Nauman Rafique wrote: > > And that would be only if you are sending multiple request > from the same browser window which is not usually the case. > Multiple simultaneous requests from the same browser is the normal case. > Normally, we dont send a request again unless the > response from the

Re: Does Tomcat Synchronize the Session Object???

2002-03-14 Thread Nauman Rafique
And that would be only if you are sending multiple request from the same browser window which is not usually the case. Normally, we dont send a request again unless the response from the previous ones is returned. If the problem is that the user presses the submit button on the web page multiple t

Re: Does Tomcat Synchronize the Session Object???

2002-03-14 Thread Christopher K.St.John
Nauman Rafique wrote: > > I believe it all depends on what objects you are storing in > session. If you instantiate an Object and place it in session > inside doGet()/doPost() methods, they are unique to the > session and thus cannot be shared. > I don't see how being unique to the session means

Session Management

2002-03-14 Thread Lucky®Luke
I need to know all session_id in ServletContext=application and to detect what of them has be terminated. I use tomcat-3.3. Thanks! _ Luca Sansone Mobile Solutions - Simba Telesoft S.p.A. ==To unsu

Re: Does Tomcat Synchronize the Session Object???

2002-03-14 Thread Nauman Rafique
I believe it all depends on what objects you are storing in session. If you instantiate an Object and place it in session inside doGet()/doPost() methods, they are unique to the session and thus cannot be shared. But if you somehow access the other sessions or their objects stored in them, then th

Re: Session Management

2002-03-14 Thread VENKATACHALAPATHY Duraiswamy
You can also do something like this. session = request.getSession(false); if( session == null ) { //session is destroyed or not created }else { //session is available } Thanks Venkat -Original Message- From: Dunwiddie, Bruce [SMTP:[EMAIL PROTECTED]] Sent