Command httpsession


Name


httpsession Accesses session variables in a servlet.

Synopsis

httpsession [ serialization options ] [options]


Options

-setvar var valueSets a session variable
-getvar varGets a session variable
-nDont print error if variable does not exist using -getvar


Description

The httpsession command only works within a Servlet.
Only one variable may be set or get with each call.
Setting a session variable sets the underlying servlet session variable which is persisted across calls using whatever session technology is implemented by the J2EE container. The value of the variable may be any type.




Commands
CategoryCommands
EmbeddingServlet

There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki