How do I put listener in web.xml java?
as you see in the content model of wep-app:
Content Model : (((description*, display-name*, icon*)) | distributable | context-param | filter | filter-mapping |
listener | servlet | servlet-mapping | session-config | mime-mapping | welcome-file-list | error-page | jsp-config |
security-constraint | login-config | security-role | ((env-entry*, ejb-ref*, ejb-local-ref*, ((service-ref*)), resource-
ref*, resource-env-ref*, message-destination-ref*, persistence-context-ref*, persistence-unit-ref*, post-
construct*, pre-destroy*)) | message-destination | locale-encoding-mapping-list)*
it is a sibling of servlet
not a child:
ProcessReg
ProcessReg
pract123
jdbc:odbc:practODBC
config
Read more
stackoverflow.comm
No comments:
Post a Comment