Hi all,

First, thanks for all your help over time when writing my current Wicket app. We're getting ready to go live.

Currently, I'm running it in Tomcat (while I don't know if there's a big advantage, I could put Apache in front of it).

Right now, my app is running as
www.site.com/foo/wicketapp
(i.e., it's in webapps/foo and the web.xml has servlet-mapping <url-pattern>/spring3/*</url-pattern>

I also have a bunch of the static content (images, CSS, etc) in webapps/ROOT.

Now, I want to move my app to become the root of site.com. So, when you hit http://www.site.com/ it loads the page from wicket (actually I use differnt domains so site1.com would load something different from site2.com, but that's no big deal).

Should I move webapps/foo to webapps/ROOT? (And then move the static files into that dir?)

Should I use a UrlRewriteFilter?

Basically, what's the cleanest way to have the wicket page be the site root which still allowing access to the static content?

Thank you,
Dan


-------------------------------------------------------
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://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to