RE: Accessing a class file under WEB-INF/classes from JSP

2007-05-23 Thread Williams, Allen
Or, , but I don't know if that works with the default package. Why don't you put the classes in a package? Although I haven't been doing this web programming stuff myself very long, that seems to be the consensus "best practices" approach, which is why I think Sun discontinued it. anw > -Or

RE: Session IDs & XMLHttpRequests

2007-05-22 Thread Williams, Allen
-- > > From: Christopher Schultz [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, May 22, 2007 10:04 AM > > To: Tomcat Users List > > Subject: Re: Session IDs & XMLHttpRequests > > > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > &

RE: Session IDs & XMLHttpRequests

2007-05-22 Thread Williams, Allen
al Message- > From: Christopher Schultz [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 22, 2007 10:04 AM > To: Tomcat Users List > Subject: Re: Session IDs & XMLHttpRequests > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Allen, > > Williams, Alle

RE: Session IDs & XMLHttpRequests

2007-05-22 Thread Williams, Allen
d use it. > No additional APIs required. > > --David > > Williams, Allen wrote: > > >Thanks for the hint. I had come to the conclusion I was > going to have > >to do something like that. It is not a JS framework- it's > Javascript & > >Java

RE: Session IDs & XMLHttpRequests

2007-05-22 Thread Williams, Allen
ies > http://www.omnytex.com > AIM/Yahoo: fzammetti > MSN: [EMAIL PROTECTED] > Author of "Practical Ajax Projects With Java Technology" > (2006, Apress, ISBN 1-59059-695-1) > and "JavaScript, DOM Scripting and Ajax Projects" > (2007, Apress, ISBN 1

RE: Session IDs & XMLHttpRequests

2007-05-22 Thread Williams, Allen
I'll work on that today. > -Original Message- > From: Hassan Schroeder [mailto:[EMAIL PROTECTED] > Sent: Monday, May 21, 2007 5:32 PM > To: Tomcat Users List > Subject: Re: Session IDs & XMLHttpRequests > > On 5/21/07, Williams, Allen <[EMAIL PROTECTE

RE: Session IDs & XMLHttpRequests

2007-05-22 Thread Williams, Allen
ld > >> be able to see every detail of the request and response > with those... > >> compare an AJAX request with a plain form sumission or link > >> click and see > >> if you notice any difference... I'd bet dollars to donuts > >> you'll find some >

RE: Session IDs & XMLHttpRequests

2007-05-21 Thread Williams, Allen
nk W. Zammetti > Founder and Chief Software Architect > Omnytex Technologies > http://www.omnytex.com > AIM/Yahoo: fzammetti > MSN: [EMAIL PROTECTED] > Author of "Practical Ajax Projects With Java Technology" > (2006, Apress, ISBN 1-59059-695-1) > and "JavaScri

RE: Session IDs & XMLHttpRequests

2007-05-21 Thread Williams, Allen
. Thanks! Any further ideas will be looked upon with unlimited favor;-) > > --David > > Williams, Allen wrote: > > >I had posted this question to four different Java fora over four days > >and gotten zero replies, when it occurred to me how stupid not to ask >

Session IDs & XMLHttpRequests

2007-05-21 Thread Williams, Allen
I had posted this question to four different Java fora over four days and gotten zero replies, when it occurred to me how stupid not to ask the community that wrote Tomcat. I was just going to post this, which is a summary that describes what I've found so far: -- QUOTE -- In the interest of inf

RE: where to store user-generated files?

2007-02-21 Thread Williams, Allen
Got it. I'll also get the spec. Thanks to you and Dave! -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 21, 2007 10:51 AM To: Tomcat Users List Subject: RE: where to store user-generated files? > From: Williams, Allen [mailt

RE: where to store user-generated files?

2007-02-21 Thread Williams, Allen
arles R [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 21, 2007 9:50 AM To: Tomcat Users List; [EMAIL PROTECTED] Subject: RE: where to store user-generated files? > From: Williams, Allen [mailto:[EMAIL PROTECTED] > Subject: RE: where to store user-generated files? > > Doesn

RE: where to store user-generated files?

2007-02-21 Thread Williams, Allen
I'm new at this, so bear with me here for a moment... The servlet mapping seems to me to tell tomcat "anytime you have a request for a URI with .jpg extension, deliver the request to this servlet", but that doesn't give any information about where in the "real" file system said jpeg is stored, doe

RE: where to store user-generated files?

2007-02-20 Thread Williams, Allen
ailto:[EMAIL PROTECTED] Sent: Tuesday, February 20, 2007 11:42 AM To: Tomcat Users List Subject: RE: where to store user-generated files? > From: Williams, Allen [mailto:[EMAIL PROTECTED] > This is probably a dumb question, but: I looked at > bodington- are you referring to a course or

RE: where to store user-generated files?

2007-02-20 Thread Williams, Allen
I have the same requirement, and had made the same decision (to use file store as opposed to the database). This is probably a dumb question, but: I looked at bodington- are you referring to a course or to downloading their system and going through their code to see how they did it? TIA. Subje

Re: Can't find classes in jar files in WEB-INF

2007-02-20 Thread Williams, Allen
> No just got busy with work. Given what you provided in your last > post, it seems to come down to permissions or something overlooked. > Are you running the security manager? I don't think so. I'm rather new to this (this is the first webapp I've attempted to deploy), but I don't see anyt

RE: Can't find ajp13 connector

2006-05-23 Thread Williams, Allen
jar | grep Ajp13 or even: jar -tvf *.jar | grep -i ajp13 to ignore case. --David Williams, Allen wrote: >I tried changing CATALINA_BASE to make it identical to CATALINA_HOME, >and still get the ajp13 connector not found. Can't understand why I >don't have it. > >Sorry,

RE: Can't find ajp13 connector

2006-05-23 Thread Williams, Allen
[mailto:[EMAIL PROTECTED] Sent: Tuesday, May 23, 2006 11:07 AM To: Tomcat Users List Subject: Re: Can't find ajp13 connector Williams, Allen wrote: > I tried this: jar -tvf | grep ajp13 in both common and server > directories, and got nothing. > I'm not sure what jar -tvf do

RE: Can't find ajp13 connector

2006-05-23 Thread Williams, Allen
You're right, not the RPM, but I'm using the Debian apt package. I'll give your suggestion a try. Most of the stuff in /usr/share/tomcat5 is soft-linked to the /var/lib stuff, but not everything (e. g., the common and server directories aren't). I'll try that. Whether to use the Debian apt pack

RE: Newbie: Help on directory structure

2006-05-18 Thread Williams, Allen
Aha! I'm not sure which pair I did, but I only put top four lines in my web.xml file (the servlet-name and servlet-class pair, and surrounding servlet tag). Tonight I'll try it with all the lines recommended here, and see. The book I'm using only had the four lines. Is this a change between Tom

RE: Newbie: Help on directory structure

2006-05-18 Thread Williams, Allen
I tried referencing the class with the name UserConfig.login in the .jsp file, with a directory structure classes/UserConfig/login.class and classes/UserConfig.login.class. Neither worked, but I could have made a mistake and will try again. Where should the name UserConfig.login be used? As the