This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes JSF and the fly likes Where to put the result pages ? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "Where to put the result pages ?" Watch "Where to put the result pages ?" New topic
Author

Where to put the result pages ?

Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3359

Hi.
In a JSF application (as well as in a Struts application), Where to put the -result- page so it will be unaccessable from the user if he tried to guess a name ?
Yes, I can create a folder under WEB-INF dir called for example jsp or jsf , but are there any other solutions ?
Gregg Bolinger
Ranch Hand

Joined: Jul 11, 2001
Posts: 15230

A few things. You can use the container managed security features of your app server (tomcat, Weblogic, JBoss, Resin, etc) to lock down your pages. You can also create a filter (SecurityFilter) that makes sure whoever has the right privileges can only view the pages.

If it's a matter of the order in which the pages are viewed in the sense that you don't want someone to view results without being at the prior page first, that's probably something you'll need to configure in your managed bean.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Where to put the result pages ?
 
Similar Threads
Poll: Do JSF and Struts need their own forums?
Stateful session bean can not be activate
JSF Configuration settings in WAS
where to write application logic in JSf.?
JSF View State Size