struts2 - Can Struts 2 First Page come through the engine instead of listing it in <welcome-file-list>? -
i newbie struts2, whenever web application starts, need provide welcome or index or first file within <welcome-file-list>
.
there after, able post requests struts engine using actions in <s:form>
or in <s:a>
want load index page or first page of web application through struts2 i.e. initial request should pass through engine, , response should come engine only, possible?
if using struts tags within jsp page, either welcome file listed or not should dispatcher
result of action. welcome file list files handled web container if navigate folder of web content hierarchy , there's welcome file within it, , there's no action mapped url. in case cannot utilize struts tags within welcome file because trying run without associated filter, or struts2 filter handled request.
see examples of hello world application or hello world using struts2 show how create action configuration utilize index
action or utilize actionless results using convention hello world example.
struts2
No comments:
Post a Comment