Login  Register

Dev - How to get root webapp to go to default

Posted by byersa on Apr 04, 2006; 7:56pm
URL: http://ofbiz.116.s1.nabble.com/Dev-How-to-get-root-webapp-to-go-to-default-tp167571.html


I am trying to setup a root webapp. Here is my ofbiz-component.xml
webapp element:

    <webapp name="app"
        title="Sample"
        server="default-server"
        location="webapp/app"
        mount-point="/"/>


I would like for localhost:8080 to go to "/control/main" like other webapps.

This looks like this is suppose to take place in
ContentFilter.doFilter(), but it does not go into the following block
because "/" has been put into the allowList list.

            if (!allowList.contains(requestPath) &&
!allowList.contains(requestInfo) &&
!allowList.contains(httpRequest.getServletPath())) {
            ...

Is there a technique that I am missing to make this happen?

Thanks,

-Al
 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev