Perhaps you should use: Cache-control: private

2000-05-30 Thread Sam Heisz
When I was researching a caching problem I experienced with logout pages, I noticed that ASP pages set the following HTTP header: Cache-Control: private This is probably something we all want to do on any dynamic pages that we create that are specific to some user, from RFC2068: private

Re: JSPs and XML.

2000-05-23 Thread Sam Heisz
> -Original Message- > From: Andrew S Tomlinson [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 18, 2000 11:13 AM > > My perspective would be that any basic enterprise object > (modelled as a > Bean) should be inherently capable of representing itself as > XML, maybe as > some basic overr

FW: Unix version of 'I Love You'

2000-05-19 Thread Sam Heisz
> This is the Unix version of "I Love You" which works on the honor system. > > If you receive this mail, you should delete a bunch of GIFs, MP3s and > binaries from your home directory, then send a copy of this email to > everyone you know and then click on the following link: >

Re: session tracking on the server side (connections)

2000-05-09 Thread Sam Heisz
In one of the faqs below there is the answer to this. Search the faq for "listener". Sam === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: h

HTML output in declared function

2000-05-08 Thread Sam Heisz
Hi all, I want to declare a function that prints out some HTML, something like: - begin(index.jsp) <%! public void printSimpleHeader() { %> > <%! } %> <% printSimpleHeader(); %> - end(index.jsp) This doesn't work, the function ends up declared as empty and the HTML ends u

Re: Model 2 and security

2000-05-03 Thread Sam Heisz
> My > thoughts are that my > module would actually replace the method which authenticates based off > information in the principals.xml or would this method work > in conjunction > with principals.xml (so that if i use FORM authentication it > uses my custom > module but BASIC would refer to prin

request.isUserInRole() - NullPointerException

2000-05-01 Thread Sam Heisz
Using Resin 1.1. I get a NullPointerException on the following code if there is no authenticated user for the session. Does this seem right to everyone? <%= request.isUserInRole("customer") ? "true" : "false" %> I can get around it with: <%= (request.getUserPrincipal() != null) && request.isUse

Re: Model 2 questions

2000-04-17 Thread Sam Heisz
You can check on-the-fly for null in your hash map, that way you don't need to specify the names of all possible action classes in init(): > // check the requestURI > actionName mappings > String actionName = (String) mapping.get(request.getRequestURI()); > Action action = (Action) actions.get(ac

Model 2- Loading changed Action classes without restarting the se rver

2000-04-14 Thread Sam Heisz
I am fairly new to the list, and first I want to thank Kevin, Craig, Daniel, and everyone else who contributed to the Model 2 discussion. One question I have: is there any way to explicitly cause an Action class to be unloaded, so that a newly compiled version will be loaded in its place? It seem

Re: Model 2, where to store and access the Database ConnectionPool

2000-04-10 Thread Sam Heisz
On Fri, 7 Apr 2000, Sam Heisz wrote: sam>> What stops the instance from getting garbage collected? I read that sam>> starting version something-something-something, the garbage collector sam>> is more aggressive and will collect instances of objects that are only sam>>

Re: Model 2, where to store and access the Database ConnectionPool

2000-04-07 Thread Sam Heisz
Cammarano Richard wrote: > > i am currently using a connection pool manager that is designed as a > singleton where I call ConnectionManager.getInstance() to return the > single pool instance. At first I was storing the connection manager in > the servlet context until my coworker pointed out that