RE: persistence after the request response cycle

2004-09-19 Thread Craig Berry
The usual mechanism for this is to persist intermediate data to a session-scope object which is persisted after all data has been accumulated. Struts provides excellent support for this pattern. -Original Message- From: ian stone [mailto:[EMAIL PROTECTED] Sent: Sun 9/19/2004 11:25

RE: Overlapping security-constraint definitions?

2004-07-16 Thread Craig Berry
That makes sense. Unfortunately. :) We'll go with explicit listing of the more-restricted URLs. Thanks for the quick and thorough reply! -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker Sent: Thursday, July 15, 2004 7:59 PM To: [EMAIL PROTECTED] Subject:

Overlapping security-constraint definitions?

2004-07-15 Thread Craig Berry
le about /edit* pages is ignored. I could obviously enumerate all the pages in both categories, but that would be brittle in the face of new development. Is there a way to do this with patterns as I did under TC4? -- Craig Berry Principal Architect and Technical Manager PortBlue (310) 566-7546 --

RE: NPE in ActionForm where it is not be possible

2004-07-11 Thread Craig Berry
> From: QM [mailto:[EMAIL PROTECTED] > > I notice, you define/initialize the instance variable "log" at its > declaration point. > > Humor me: what happens if you initialize "log" in the ctor? Or for that matter, why not make the log member static? There's no harm in one log instance being share

RE: How is catch{} code handled

2004-01-02 Thread Craig Berry
Merrill Cornish [mailto:[EMAIL PROTECTED] wrote... > Why did main servlet processing appear to continue (allowing the > second sendRedirect() to cause a problem) after the exception was > triggered? Processing of a catch block does not terminate processing of the surrounding method. In other wo

RE: Problems with JSP and tag

2003-09-18 Thread Craig Berry
Are you using a relative URL for the image? Try an absolute URL; if that works, then the base path isn't what you think it is. Use an html element to set it appropriately. If an absolute URL also doesn't work, try loading that image URL directly into the browser. If that works, then you've

RE: Simple question about JSP page

2003-09-05 Thread Craig Berry
Hard to tell with the information given, but my guess is that you're getting a browser-cached copy of the "list all" page. Add the header voodoo to suppress caching and see if that helps. -Original Message- From: engp0510 [mailto:[EMAIL PROTECTED] Sent: Fri 9/5

RE: where is JSESSIONID?

2003-08-16 Thread Craig Berry
As that's a session-scope cookie, it doesn't get persisted as a file. -Original Message- From: Billy Ng [mailto:[EMAIL PROTECTED] Sent: Fri 8/15/2003 6:41 PM To: Tomcat Users List Cc: Subject: where is JSESSIONID?

RE: extend j_security_check - filter or event listener?

2003-07-27 Thread Craig Berry
I handled this situation by having logged-in users have a UserModel object in the session. In a filter that catches all servlet requests, I check if request.getAuthenticatedUser returns non-null and there is no UserModel obj in the session. If this occurs, I know that a new user just logged in

RE: Jasper - including unbalanced jsp fragment

2003-07-19 Thread Craig Berry
got to see the content, but that's apparently not the case. Can someone please explain this? -Original Message- From: Craig Berry Sent: Saturday, July 19, 2003 6:07 PM To: [EMAIL PROTECTED] Subject: Jasper - including unbalanced jsp fragment I would like to include static content

Jasper - including unbalanced jsp fragment

2003-07-19 Thread Craig Berry
I would like to include static content from one file (call it header.inc) as part of the jsp text of another (mypage.jsp). Specifically, header.inc is supposed to include common html, head, and body content, following which mypage.jsp will contain page-specific content. So header.inc contains

RE: JSP Pre-compile and Deployment

2003-07-12 Thread Craig Berry
You place the class files in /WEB-INF/classes, then hand-code servlet mappings in web.xml pointing from each xxx.jsp name to the corresponding class. -Original Message- From: Lukas Bradley [mailto:[EMAIL PROTECTED] Sent: Sat 7/12/2003 10:58 AM To: [EMAIL

Recreate a request for posting to a different server

2002-04-11 Thread Craig Berry
mpler than 'manually' parsing the response text and turning it into header, cookie, and payload entries? -- | Craig Berry - http://www.cinenet.net/~cberry/ --*-- "All that lives is holy." - William Blake | -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For