> To get that,I write session="false" in every jsp
> page,which sucks.
>
> It is easy not to use request.getSession(true),
> but it is not easy to remember to put session="false" in every new
> jsp [sic] page.
Nor (usually) necessary. But if that's a requirement for you generally, you
can set up templates in your favorite IDE, most likely, to generate JSPs with
that attribute set the way you need it. You certainly can in Eclipse and
NetBeans.
NetBeans: Tools / Tamplates => Template Manager
Select "Web / JSP"
Click "Duplicate"
"Rename" the copy, say, to "JSP_no_session"
with the renamed copy, "Open in Editor"
Add the new <%@page%> directive
Now you can select "Web Pages", context menu "New", "Web", "JSP_no_session", etc.
> Is there?
Sorry?

Signature
Lew
lightning - 02 Apr 2008 06:49 GMT