This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
I have not been very active in posting topics but been kinda passive observer.....thanks to community members........this community is best for exam prep!!
I just want to share two files that i found very useful to just mug up.
################# web.xml.......
<web-app>
<display>A Sample Application</display>
<!-- If the element below appears the application is distributable -->
<distributable/>
<!-- WELCOME FILES -->
<!-- if a url includes folder name, and one of the welcome file is in that folder, it picks that, first match wins -->
<!-- LISTENER CONFIGURATION/where the attribute itself need to be notified does not require configuration --> <listener> <listener-class>com.example.MyContextListener</listener-class> </listener>
<!-- CONTENT TYPE CONFIGURATION --> <mime-mapping> <extension>text</extension> <mime-type>text/html</mime-type> </mime-mapping>
<!-- ALL SECURITY RELATED CONFIGURATIONS --> <security-role> <role-name>admin</role-name> <role-name>manager</role-name> </security-role>
<security-constraint> <web-resource-collection> <web-resource-name>My Security</web-resource-name> <!-- one or many --> <url-pattern>/hello/*.do</url-pattern>
<!-- optional and multiple/ if below tag is not specified all the methods are constrained --> <http-method>GET</http-method> <http-method>POST</http-method> </web-resource-collection>
<auth-constraint> <!-- optional and multiple/none means all empty means none --> <role-name>admin</role-name> <role-name>manager</role-name> </auth-constraint>
<user-data-constraint> <transport-guarantee>NONE</transport-guarantee> <!-- or <transport-guarantee>CONFIDENTIAL</transport-guarantee> <transport-guarantee>INTEGRAL</transport-guarantee> --> </user-data-constraint> </security-constraint>
<login-config> <auth-method>BASIC</auth-method> <!-- one or many --> <!-- or <auth-method>DIGEST</auth-method> <auth-method>CLIENT-CERT</auth-method> <auth-method>FORM</auth-method> <form-login-config> <form-login-page>/login.html</form-login-page> <form-error-page>/error.jsp</form-error-page> </form-login-config> --> </login-config>
<!-- ALL EJD/JNDI RELATED CONFIGURATIONS --> <env-entry> <env-entry-name></env-entry-name> <env-entry-type></env-entry-type> <env-entry-value></env-entry-value> </env-entry>
<body-content>empty</body-content> <!-- any of the below --> <body-content>scriptless</body-content> <body-content>tagdependent</body-content> <body-content>JSP</body-content> (only for classic tags)
"Arunkumar AK" and "Madhavi TR", we don't have many rules around here but we do have a naming policy. The policy states that you may use initials for your first name but not for your last name. Please update your display names accordingly. Thanks.
A good workman is known by his tools.
NDP Prasad
Ranch Hand
Joined: Apr 13, 2006
Posts: 177
posted
0
Thanks a lot Arun. Iam planning to prepare something like this....