Pat Farrell wrote:1) do frontman questions go here or in frameworks? or someplace else?
I'm used to just getting them in email. But here is fine with me.
2) I'm not groking how viewsPath works, or defaults. Or perhaps redirectToView. I've got a code fragment that looks like:
viewsPath set the relative base for specifying views. FrontMan assumes that a 'view' is a
JSP, and the file type is implied. A static HTML file is just a static resource.
So if you have a view JSP in "myviews/someview.jsp" relative to the viewPath, you'd specify: forwardToView("myviews/someview").
Pat Farrell wrote:It looks in /WEB-INF/pages/a.jsp ... Which is weird, I'm not used to seeing WEB-INF visible.
Placing views that are to be the targets of a forward under WEB-INF is common in order to prevent them from being directly addressed via URL. Any JSP that will be the target of a redirect must obviously live elsewhere.
I've found it very rare to use redirectToView rather than forwardToView, but it's there because there are corner cases when it may be appropriate.
All that help?