Hello,
What is typically the best practice for setting up a forward to your
application's homepage? Right now I have a filter that checks if any
page is specified, if it's not, it sends the user to <whatever>.html
(I have wicket mapped to *.html) which feels like such a crap-hack to me.
So if I have wicket bound to *.html, and I want people sent to my
homepage when they visit http://www.mysite.com, any pointers? I don't
mind the index.jsp with the single forward in it, but I thought there
was likely a nicer way to do this.
index.html:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="refresh" content="0; url=./app" />
<title></title>
</head>
<body>
</body>
</html>
where /app is the mapping of the wicket servlet.
Best regards,
Piotr
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user