Your observation that each folder typically has a controller is
correct. In page flow thinking, a "section" is a folder.
On 5/19/06, Li <[EMAIL PROTECTED]> wrote:
Hi, thanks for replying,
I added any a filter into web.xml:
<filter-mapping>
<filter-name>PageFlowForbiddenFilter</filter-name>
<url-pattern>*.jsp</url-pattern>
<dispatcher>FORWARD</dispatcher>
<dispatcher>REQUEST</dispatcher>
<dispatcher>INCLUDE</dispatcher>
</filter-mapping>
It works fine.
Is it a must that every single functional folder should have its own
controller?
such like: /login --> Controller for login process
/profile --> Controller for profile create->confirm->submit
process ...
Is it possible to just have one controller which controls all processes
section by section?
On 5/19/06, AndreasWuest <[EMAIL PROTECTED]> wrote:
>
> In order to achieve that, you have to put your jsp pages under the
> WEB-INF directory. This works at
> least for "normal" web application using struts. don't know if this
> works with beehive as well, but i think so.
>
> regards,
> Andreas
>
> > Hi all,
> >
> > Any idea on preventing direct access to page, say, only allow "abc.do"
> > but
> > not "a/b/c/abc.jsp"?
> >
> > Regards
> >
>
>
>
--
=====================================
The world will be ended if love is everywhere.
---- Shawzi