The moose likes Other Application Frameworks and the fly likes FrontMan Question Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Application Frameworks » Other Application Frameworks
Reply 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 opinionated walrus
Marshal

Joined: Jan 10, 2002
Posts: 50691

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.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About 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 opinionated walrus
Marshal

Joined: Jan 10, 2002
Posts: 50691

Thanks, Michael!
 
IntelliJ Java IDE
 
subject: FrontMan Question
 
Threads others viewed
Query on wrapper constants
Need help on calling javascript without any handler from JSP..
i need JSP code
Connection con;
question on hascode()
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture