Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Other Application Frameworks and the fly likes FrontMan Question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "FrontMan Question" Watch "FrontMan Question" New topic
Author

FrontMan Question

Michael Lynch
Greenhorn

Joined: Dec 21, 2011
Posts: 5
Here's what is likely a stupid question from a novice web developer using Bear Bibeault's Front Man...

What's the difference between CommandContext.setScopedVariable(...) and HttpServletRequest.setAttribute(...) ?

Are ScopedVariables and Attributes different?

Thanks!
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60766
    
  65

None. It's just a convenience method that uses modern nomenclature, and lets you add a scoped variable to any scope from a single method.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Michael Lynch
Greenhorn

Joined: Dec 21, 2011
Posts: 5
Thought that was the case, but my simpleton mind needed clarification. Thanks for the tip! Still figuring out how to put this whole application together, but your library seems pretty slick to me. I really appreciate your efforts!
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60766
    
  65

Thanks, Michael!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: FrontMan Question
 
Similar Threads
i need JSP code
question on hascode()
Query on wrapper constants
Need help on calling javascript without any handler from JSP..
Connection con;