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
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:
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:
Hi all,
I want to declare a function that prints out some HTML, something like:
- begin(index.jsp)
%!
public void printSimpleHeader()
{
%
img src=%= imageurl("simpleheader.gif") %
!-- I actually have more HTML here, elided for sake of brevity --
%!
}
%
body
% printSimpleHeader(); %
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)
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)
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
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 referred to by a member variable
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 I