session.removeAttribute(uri);
} else
{
try
{
SwingWebSession swSession = (SwingWebSession) obj;
if (swSession == null)
{
swSession = (SwingWebSession) createSession(_manager.getContext(), session);
swSession.addListener(this);
swSession.putValue("SWINGWEB_SESSION_ID", String.valueOf(System.currentTimeMillis()));
session.setAttribute(uri, swSession);
swSession.putAllValues(env);
swSession.putValue("HTTP_FORM", form);
swSession.putValue("HTTP_SESSION", session);
swSession.putValue("COMPONENT_OPTIONS_CONFIG", _comOptsFile.getAbsolutePath());
swSession.putValue("COMPONENT_OPTIONS", _comOpts);
_sessions.put(swSession, session);
_manager.setCurrentSession(swSession);
startApp(swSession, req, resp);
} else
{
swSession.putAllValues(env);
swSession.putValue("COMPONENT_OPTIONS_CONFIG", _comOptsFile.getAbsolutePath());
swSession.putValue("COMPONENT_OPTIONS", _comOpts);
swSession.putValue("HTTP_FORM", form);
swSession.putValue("HTTP_SESSION", session);
_manager.setCurrentSession(swSession);
}
if (_getAfterPost)
{
if (req.getMethod().equalsIgnoreCase("GET"))