You can write a servlet which gets called for one sort of requests [like yourdomain/app/somename] and forward those requests to desired targets [like domain/app/jsp/xyz.jsp].
If you are talking just about home page then you can configure it in your web.xml's <welcome-file-list> tag. You can also create servlet mapping for a jsp page like
<servlet>
<servlet-name></servlet-name>
<jsp-file></jsp-file>
</servelt>
and the mapping using <servlet-mapping>
- Rakesh
|