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

2007-05-23 Thread Williams, Allen
Or, jsp:usebean ..., 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.

RE: Session IDs XMLHttpRequests

2007-05-22 Thread Williams, Allen
have to reinvent it! On Mon, May 21, 2007 2:33 pm, 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 the community that wrote Tomcat. I was just going to post

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 PROTECTED] wrote: As I said in my earlier post

RE: Session IDs XMLHttpRequests

2007-05-22 Thread Williams, Allen
(2007, Apress, ISBN 1-59059-816-4) Java Web Parts - http://javawebparts.sourceforge.net Supplying the wheel, so you don't have to reinvent it! Hassan Schroeder wrote: On 5/21/07, Williams, Allen [EMAIL PROTECTED] wrote: As I said in my earlier post, the session being returned

RE: Session IDs XMLHttpRequests

2007-05-22 Thread Williams, Allen
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 in a Tomcat container, all built in-house. Again, I looked at the XMLHttpRequest with Firebug, but saw no reference

RE: Session IDs XMLHttpRequests

2007-05-22 Thread Williams, Allen
To: Tomcat Users List Subject: Re: Session IDs XMLHttpRequests -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Allen, Williams, Allen wrote: Will it work with POST as well as GET? Although I guess I'll soon find out;-) It should work equally well with GET and POST. The browser should

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 Allen, Williams, Allen wrote: Will it work with POST as well as GET

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

RE: Session IDs XMLHttpRequests

2007-05-21 Thread Williams, Allen
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 the community that wrote Tomcat. I was just going to post this, which is a summary that describes what

RE: Session IDs XMLHttpRequests

2007-05-21 Thread Williams, Allen
://javawebparts.sourceforge.net Supplying the wheel, so you don't have to reinvent it! On Mon, May 21, 2007 2:33 pm, 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

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, does

RE: where to store user-generated files?

2007-02-21 Thread Williams, Allen
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't there have

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 [mailto:[EMAIL

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

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.

RE: where to store user-generated files?

2007-02-20 Thread Williams, Allen
:[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 to downloading

RE: Can't find ajp13 connector

2006-05-23 Thread Williams, Allen
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 does but I used the following Python script

RE: Can't find ajp13 connector

2006-05-23 Thread Williams, Allen
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, but I gave an incomplete command: jar -tvf *.jar

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

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