Hello Hartmut,

Wednesday, July 25, 2001, 3:21:26 PM, you wrote:

HB> Hi,

HB> I search for the best practice of form based login and security
HB> mechanism based on it.
HB> Who knows a link or wants to contribute some information or hints to the
HB> following themes:

HB> Is it a good practice to forward *all* JSP pages through the action
HB> servlet instead of calling some JSP pages with a direkt link (<a
href="some.jsp">>...).

HB> How can JSP pages be hidden so that they can be accessed only via the
HB> central servlet?

You can place pages to the WEB-INF/jsp, for example, and in action
mappings write forward to the "WEB-INF/jsp/page.jsp"

    <action    path="/registration/register"
               name="registrationForm"
               input="/WEB-INF/jsp/registration.jsp"
               validate="true"
               type="com.rb.action.RegisterAction">
        <forward        name="confirm"          
path="/WEB-INF/jsp/confirmRegister.jsp"/>
    </action>


-- 
Best regards,
 Oleg                            mailto:[EMAIL PROTECTED]


Reply via email to