Hansen: Thank you. That's what I wanted. I will try it and report the results.
On Fri Mar 13,2009 06:43 pm, Hansen Wang wrote: > Or if you just want to protect the initial page for authenticated users > only, you can just then set auth to "true" in the request-map definition of > the "main" servlet. This is defined in controller.xml. If you do that, users > will be redirected to the login page when they access the home page. > > On Fri, Mar 13, 2009 at 6:38 PM, Hansen Wang <[email protected]> wrote: > > > The initial page to display for the ecommerce webapp's root is defined in > > the following two files: > > > > ecommerce/webapp/ecommerce/WEB-INF/web.xml defines index.jsp as the webcome > > file and include it in the allowedPaths > > > > ecommerce/webapp/ecommerce/index.jsp forwards to the main servlet > > > > So you can change these files for your purpose. > > > > Hansen > > > > > > > > > > On Fri, Mar 13, 2009 at 6:17 PM, Mansour Al Akeel < > > [email protected]> wrote: > > > >> Hello all: > >> I am not sure if someone have done this before, but I need to change the > >> home page for the e-commerce, and put a page without showing or > >> diplaying the products, then on one of the links, it takes the user, to > >> the page that shows the product normally. > >> > >> If someone have done this, please let me know the simplest way to do it. > >> > >> Thank you. > >> > >> > >> > >
