File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Application Frameworks and the fly likes Frontman2 HttpSession Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Application Frameworks » Other Application Frameworks
Reply Bookmark "Frontman2 HttpSession" Watch "Frontman2 HttpSession" New topic
Author

Frontman2 HttpSession

Howard Watson
Ranch Hand

Joined: Jan 07, 2004
Posts: 40



// ??? Am I setting up session wrong for frontman ???



/*
* At this point I have two choices to set a session value
* not including - import org.bibeault.frontman.ScopedContext;
*
* It makes me think I should not need -
* import javax.servlet.http.HttpSession;
*
* But, I can not make it work any other way
*
*/

Bear Bibeault
Author and opinionated walrus
Marshal

Joined: Jan 10, 2002
Posts: 50691

It doesn't matter. The session is the session and which you get it is immaterial.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Howard Watson
Ranch Hand

Joined: Jan 07, 2004
Posts: 40
// ??? Am I setting up session wrong for frontman ???


So I do need (import javax.servlet.http.HttpSession;)

I thought I was missing something in utilizing Frontman.
Bear Bibeault
Author and opinionated walrus
Marshal

Joined: Jan 10, 2002
Posts: 50691

No. Frontman is a very lightweight addition to, not replacement for, the normal Servlet environment. Everything about the servlet environment stays the same and can be used as normal.
Howard Watson
Ranch Hand

Joined: Jan 07, 2004
Posts: 40
Then it is working as advertised. Thank you for your time.


From doc:

No hiding or getting in the way of how the servlet API works.
Generally usable, but designed with Model 2 applications using scriptless JSP 2 pages in mind.
No required on-page impact: no required declarations, directives or tags.
No unnecessary bells and whistles.
Bear Bibeault
Author and opinionated walrus
Marshal

Joined: Jan 10, 2002
Posts: 50691

 
 
subject: Frontman2 HttpSession
 
Threads others viewed
Best Practice for Listing Directory Names
View cannot be restored exception
How to Access SevletContext Object in Action Class
how to getSession in simple java class?
Regarding HttpSession
developer file tools