Re: java.lang.NullPointerException loading resource from classpath

2009-03-08 Thread Timothy Washington
7;MyClass.class.getResourceAsStream("/myresource.xml") - working now!! Thanks for the feedback Tim From: Pid To: Tomcat Users List Sent: Sunday, March 8, 2009 10:13:58 AM Subject: Re: java.lang.NullPointerException loading resource from classpath T

Re: java.lang.NullPointerException loading resource from classpath

2009-03-07 Thread Timothy Washington
Nope!!! I lied, it's still not working in tomcat 4 :| tim From: Timothy Washington To: Tomcat Users List Sent: Saturday, March 7, 2009 10:19:16 PM Subject: Re: java.lang.NullPointerException loading resource from classpath Update: I tried this weba

Re: java.lang.NullPointerException loading resource from classpath

2009-03-07 Thread Timothy Washington
myresource.xml")' and the resource is definitely present. Thanks Tim ________ From: Timothy Washington To: users@tomcat.apache.org Sent: Saturday, March 7, 2009 9:53:30 PM Subject: java.lang.NullPointerException loading resource from classpath Hi there, I

java.lang.NullPointerException loading resource from classpath

2009-03-07 Thread Timothy Washington
Hi there, I have what seems to be a very simple problem. I've deployed a web application to tomcat. But in the application, when I try to load a resource (an XML file), it comes back as null. This is very frustrating, because some of the most basic approaches are not working to give me my XM

Re: Tomcat not sending JSESSIONID (servlet session cookie) with new sessions

2008-04-25 Thread Timothy Washington
: SHA1 Tim, Timothy Washington wrote: | Ok, got it. There was a buried 'response.rest()' call that I didn't | see before. response.reset? - -chris __ Looking for the perfect gift? Give the g

Re: Tomcat not sending JSESSIONID (servlet session cookie) with new sessions

2008-04-24 Thread Timothy Washington
e: Tomcat not sending JSESSIONID (servlet session cookie) with new sessions -BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Tim, Timothy Washington wrote: | Oh, that's a good point. I actually have an EchoSservlet to test | stuff like this and the JSESSIONID is being passed back in that case.

Re: Tomcat not sending JSESSIONID (servlet session cookie) with new sessions

2008-04-23 Thread Timothy Washington
PGP SIGNED MESSAGE- Hash: SHA1 Tim, Timothy Washington wrote: | Oh, that's a good point. I actually have an EchoSservlet to test | stuff like this and the JSESSIONID is being passed back in that case. | I've copied it's process method which is called by doGet/doPost. So, wha

Re: Tomcat not sending JSESSIONID (servlet session cookie) with new sessions

2008-04-23 Thread Timothy Washington
om: Christopher Schultz <[EMAIL PROTECTED]> To: Tomcat Users List Sent: Wednesday, April 23, 2008 1:58:03 PM Subject: Re: Tomcat not sending JSESSIONID (servlet session cookie) with new sessions -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Timothy, Timothy Washington wrote: | Yes, the cli

Re: Tomcat not sending JSESSIONID (servlet session cookie) with new sessions

2008-04-23 Thread Timothy Washington
TED]> To: Tomcat Users List Sent: Wednesday, April 23, 2008 10:35:37 AM Subject: Re: Tomcat not sending JSESSIONID (servlet session cookie) with new sessions -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tim, Timothy Washington wrote: | Thanks for the feedback so far. I actually kept the interact

Re: Tomcat not sending JSESSIONID (servlet session cookie) with new sessions

2008-04-23 Thread Timothy Washington
Thanks for the feedback so far. I actually kept the interactions as simple as possible exactly to minimize any unknown behaviour. There's no SSL or filters in the application yet. So my code looks something like the following (by path of execution, I assume you mean the code's call sequence). So

Re: Tomcat not sending JSESSIONID (servlet session cookie) with new sessions

2008-04-23 Thread Timothy Washington
coding is unnecessary. http://www.idontknow.com/Idunno.html";)%>">Mongo only pawn in game of life In your Servlet code response.sendRedirect(encodeRedirectURL(http://www.idontknow.html)); HTH Martin- - Original Message - From: "Timothy Washington" <[EMAIL PROT

Tomcat not sending JSESSIONID (servlet session cookie) with new sessions

2008-04-22 Thread Timothy Washington
Hello there - newbie question. I'm developing a browser-based application. I i) copy the war file to the webapps/ directory, ii) startup tomcat and iii) send an http request from Firefox. In my handling servlet, if a session doesn't exist for this client, then I create one (via request.getSess