We have an application which uses JBoss 4.0.2 as app and web server. It uses port 80.
We want that when users go to http://servername:80 they are redirected to http:servername:80/abc/def.html automatically.
Any idea how this can be done?
Thanks in advance!
you have JBoss running on port 80 ? maybe you mean you have Apache Web Server fronting JBoss AS ? If you have such a configuration you could use mod rewrite for example.
If you are running jBoss standalone you could add an index.jsp page containing something like that.
<% response.sendRedirect("/abc/def.html "); %>
Hope it helps.