Re: url of caller?

2005-03-22 Thread Mike Fowler
DaveP, You could use the 'referer' header, eg. String referedURL = request.getHeader(referer); Note that the String is null if the header isn't present which usually indicates that the user typed the URL in their browser. Hope this helps! -- Mike Fowler Registered Linux user: 379787 I could

Re: Missing application web.xml, using defaults only

2005-02-17 Thread Mike Fowler
. I've been experiencing the problem randomly for several months, but I have been unable to pin down the cause or even more information about the error to make a guess as to the cause. Summary of configuration information: Windows XP SP1 (not my choice :D ) Tomcat 5.0.19 Java 1.4.2_04 -- Mike

Re: Session Creation with IE

2005-02-15 Thread Mike Fowler
/outlook you revert to normal IE cookie store. Regrettably I didn't find/look for a solution as the problem didn't affect me in any serious way as it does you. -- Mike Fowler Registered Linux user: 379787 I could be a genius if I just put my mind to it, and I, I could do anything, if only I could get

Re: How do I force the expiration of the JSESSIONID cookie for proxies?

2005-01-11 Thread Mike Fowler
Ian - HttpSession.invalidate() will cause the client's cookie to expire. -Mike Fowler I could be a genius if I just put my mind to it, and I, I could do anything, if only I could get 'round to it Ian Stevens wrote: I have a system which renders a session stored in the HttpSession unusable once

Re: how to deploy using war file on tomcat 5

2005-01-07 Thread Mike Fowler
} path=${webapp_path} war=${war_file} update=true/ /target Hope this helps! -Mike Fowler I could be a genius if I just put my mind to it, and I, I could do anything, if only I could get 'round to it Sandeep Kang wrote: Hi all, I have been trying hard

Re: Tomcat Question - HELP

2004-10-04 Thread Mike Fowler
Daniel, I think the same goes for you. You are attacking the generosity and kindness of the people on this list, and I think I speak for most of the list when I say that you have crossed a line. Please make your future posts constructive and refrain from flaming us. -Mike Fowler I could

Re: Can session time be modified at runtime?

2004-09-10 Thread Mike Fowler
You could use the session instance method setMaxInactiveInterval which takes a single int paramter which is the maximum time in seconds between client requests before invalidation. For example, for ten minute timeout: session.setMaxInactiveInterval(600); -Mike Fowler I could be a genius if I

Re: java and tomcat books

2004-08-25 Thread Mike Fowler
/jHTP6/) for good general coverage, and for detail both Java In A Nutshell (http://www.oreilly.com/catalog/javanut4/) and Java Enterprise In A Nutshell (http://www.oreilly.com/catalog/jentnut2/). -Mike Fowler I could be a genius if I just put my mind to it, and I, I could do anything, if only I

Re: Class Load Order

2004-08-23 Thread Mike Fowler
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html -Mike Fowler I could be a genius if I just put my mind to it, and I, I could do anything, if only I could get 'round to it - To unsubscribe, e-mail: [EMAIL

[OFF TOPIC] Re: how to read a text file and store into mysql databse --JAVA

2004-08-10 Thread Mike Fowler
) file.length()); //length of file //excute the statement prestate.execute(); Hope this helps! -Mike Fowler I could be a genius if I just put my mind to it, and I, I could do anything, if only I could get 'round

Re: No Java compiler was found to compile the generated source for the JSP

2004-07-12 Thread Mike Fowler
Simone- Have you tried copying the tools.jar into common/lib ? -Mike Fowler I could be a genius if I just put my mind to it, and I, I could do anything, if only I could get 'round to it Simone-dev wrote: Hello all, I just installed Apache Tomcat/5.0.25 on my newly installed developing

Re: I've officially decided that JSTL is one of the worst things to ever happen to mankind

2004-07-05 Thread Mike Fowler
of thought is the reason why you're using Japanese mail server? Good luck with your developers. Can I have the name of your company plz? I'll make sure never to buy anything from it No need to get personal, this is a debate not a slagging match. -Mike Fowler I could be a genius if I just put my

Re: I've officially decided that JSTL is one of the worst things to ever happen to mankind

2004-07-05 Thread Mike Fowler
that the use of embedded java can be poor implementation as it is all to easy to perform operations that you shouldn't in a presentation tier. -Mike Fowler I could be a genius if I just put my mind to it, and I, I could do anything, if only I could get 'round

Re: HttpSession

2004-07-02 Thread Mike Fowler
() { this.session.myHelperMethod(); } Hope this helps! -Mike Fowler I could be a genius if I just put my mind to it, and I, I could do anything, if only I could get 'round to it Trond Hersløv wrote: Hi! What do I have to do if want to use a modified HttpSession class? Can I do one of the following

Re: SingleSignOn

2004-06-28 Thread Mike Fowler
rather than deregister(ssoId);. Thanks for helping me find this out as I now no longer need to use this customisation! -Mike Fowler I could be a genius if I just put my mind to it, and I, I could do anything, if only I could get 'round to it Summers, Bert W. wrote: Looking at SingleSignOn

Re: Klaus-Dieter -V715101- Ackermann/Volksfuersorge/AMComNET/DE ist außer Haus.

2004-06-28 Thread Mike Fowler
Bitte verwenden Sie Selbstantwort nicht für newsgroup. Sie wirft unsere E-mail durcheinander. -Mike Fowler [EMAIL PROTECTED] wrote: Ich werde ab 28.06.2004 nicht im Büro sein. Ich kehre zurück am 01.07.2004. Ich werde Ihre Nachrichten nach meiner Rückkehr beantworten

Re: How to handle client session information if client has sessions disabled?

2004-06-25 Thread Mike Fowler
Ben- You need to encode your URLs so that the session ID becomes part of the URL. Use the second line for redirects. httpServletResponse.encodeURL(/myapp/page2) httpServletResponse.encodeRedirectURL(/myapp/page2) -Mike Fowler I could be a genius if I just put my mind to it, and I, I could do

Re: Determination if a client has sessions enabled or not.

2004-06-25 Thread Mike Fowler
if the attribute is still there and if not, you know sessions are disabled. -Mike Fowler I could be a genius if I just put my mind to it, and I, I could do anything, if only I could get 'round to it Ben Bookey wrote: Dear List, I would like to check if a client has cookies/sessions enabled

Re: Determination if a client has sessions enabled or not.

2004-06-25 Thread Mike Fowler
I tend to agree and would advocate the use of URL encoding for all stateful web-apps. However they have the drawback of making your URL look something like: http://localhost:8080/manager/html/list;jsessionid=C76172F9BD3E29A9AFDEBDA349F853DF So you use cookies for tidy URLs. -Mike Fowler I could

Re: How to handle client session information if client has sessions disabled?

2004-06-25 Thread Mike Fowler
Sorry, you're quite right it does remain on the server, I'm just being silly. The session.setAttribute() works because the server is remembering the session by the JSESSIONID which is now in the URL of the request rather than in a cookie header being sent by the request. -Mike Fowler I could

Re: Determination if a client has sessions enabled or not.

2004-06-25 Thread Mike Fowler
of non-standard IE extensions that make the page virtually unviewable for me. Of course, trying to develop to cater to all these possibilities does make life a lot more difficult that it may need to be! -Mike Fowler I could be a genius if I just put my mind to it, and I, I could do anything

Re: SingleSignOn

2004-06-24 Thread Mike Fowler
; } deregister(ssoId); log(Deregistered.); } Hope this helps! -Mike Fowler I could be a genius if I just put my mind to it, and I, I could do anything, if only I could get 'round to it - To unsubscribe, e-mail

Re: How do I find out which version of tomcat is installed?

2004-06-24 Thread Mike Fowler
PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Start Tomcat and go to the manager status web app. In the server information table with there is a Tomcat version column. On my box: http://localhost:8080/manager/status -- -Mike Fowler I could be a genius if I just put my mind