• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

ELEMENT init-param(param-name, param-value, description?

 
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The Element in the Deployment Descriptor for a servlet initialization parameter is :

<!ELEMENT init-param(param-name, param-value, description?)>

True
False

Is that true ?

Anybody can help?

Thank you
 
Ranch Hand
Posts: 292
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
True....it has an optional description sub-element.
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can anyone point me to the location on where I can find information about this kind of tag? I haven't seen it in HFS+JSP.
 
muthu moorthy
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
<description> element is not shown in HF Book. But <description> element is optional it seems. You can check the following list.

Order Of Elements In web.xml Deployment Descriptor

<web-app>
<icon>
<small-icon>
<large-icon>
</icon>

<display-name>
<description>
<distributable>

<context-param>
<param-name>
<param-value>
<description>
</context-param>

<filter>
<icon>
<small-icon>
<large-icon>
</icon>
<filter-name>
<display-name>
<description>
<filter-class>
<init-param>
<param-name>
<param-value>
<description>
</init-param>
</filter>

<filter-mapping>
<filter-name>
<url-pattern>
<servlet>
</filter-mapping>

<listener>
<listener-class>
</listener>

<servlet>
<icon>
<small-icon>
<large-icon>
</icon>
<servlet-name>
<display-name>
<description>
<servlet-class> or <jsp-file>
<init-param>
<param-name>
<param-value>
<description>
</init-param>
<load-on-startup>
<security-role-ref>
<description>
<role-name>
<role-link>
</security-role-ref>
</servlet>

<servlet-mapping>
<servlet-name>
<url-pattern>
</servlet-mapping>

<session-config>
<session-timeout>
</session-config>

<mime-mapping>
<extension>
<mime-type>
</mime-mapping>

<welcome-file-list>
<welcome-file>
</welcome-file-list>

<error-page>
<error-code>
<exception-type>
<location>
</error-page>

<taglib>
<taglib-location>
<taglib-uri>
</taglib>

<resource-ref>
<description>
<res-ref-name>
<res-ref-type>
<res-ref-auth>
<res-sharing-scope>
</resource-ref>

<security-constraint>
<web-resource-collection>
<web-resource-name>
<description>
<url-pattern>
<http-method>
</web-resource-collection>
<auth-contraint>
<description>
<role-name>
</auth-constraint>
<user-data-contraint>
<description>
<transport-guarantee>
<user-data-contraint>
</security-constraint>

<login-config>
<auth-method>
<realm-name>
<form-login-config>
<form-login-page>
<form-error-page>
</form-login-config>
</login-config>

<security-role>
<description>
<role-name>
</security-role>

<env-entry>
<description>
<env-entry-name>
<env-entry-value>
<env-entry-type>
</env-entry>

<ejb-ref>
<description>
<ejb-ref-name>
<ejb-ref-type>
<home>
<remote>
<ejb-link>
<run-as>
</ejb-ref>
</web-app>
 
Sayak Banerjee
Ranch Hand
Posts: 292
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It's not a tag....it's a DTD for the <init-param> element in the Deployment Descriptor....to keep it simple--it tells you about the required and optional sub-elements, etc.....You can find it on Page 289, Servlet Spec. 2.4
[ January 09, 2007: Message edited by: Sayak Banerjee ]
 
That is a really big piece of pie for such a tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic