http://ofbiz.116.s1.nabble.com/Dev-How-to-get-root-webapp-to-go-to-default-tp167571p167572.html
In most of the ofbiz webapps this is done by a "main.jsp" file that sites in the webapp root directory.
> 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