Lilianne E. Blaze wrote:
  Sergiu Dumitriu wrote:
  Sergiu Dumitriu wrote:
  Lilianne E. Blaze wrote:
  Sergiu Dumitriu wrote:
> Paul Libbrecht wrote:
>> I think some of the recipes which are described there are working on
>> 
http://i2geo.net/
> Tip: the only problem I see is that the initial redirect contains a
> long URL. You should modify
> com.xpn.xwiki.web.HomePageRedirectServlet, recompile it and put it in
> WEB-INF/classes/com/xpn/xwiki/web/
 Why not have it configurable in web.xml? 
 Good idea! 
 Done:
http://jira.xwiki.org/jira/browse/XWIKI-2466
 
 Why in doGet instead of init? It'll work either way, but init-parameters
 can't get changed at runtime so there's no point in checking it more
 than once. 
Yes, improved now.
  Also, shouldn't it be "home =
"/bin/view/Main/";" instead of "home =
 "bin/view/Main/";"? 
No, because it allows the context name to be changed. If it starts with /, then it should
be an
absolute URL, including the application context path.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/