• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

web.xml

 
Amruth Puppala
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am searching about the jsp-config tag in web.xml

I have found few sources http://dtddoc.sourceforge.net/example/index.html and http://edocs.bea.com/wls/docs81/webapp/web_xml.html

both of them doen't show anything about jsp-config element.

Can some one give me the link where the official web.xml template will be there.
[ August 18, 2008: Message edited by: Chintu sirivennela ]
 
Sandeep Bhandari
Ranch Hand
Posts: 201
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
jsp-config was used prior to version JSP 2.0.
Anyway, it was used to specify the taglib uri.
For more information, look for JSP spec < 2.0
 
Joy Mukherjee
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
jsp-config is also used for <el-ignored> and <scripting-invalid> tags

Example:
<jsp-config>

<jsp-property-group>
<description>
Special property group for JSP Configuration JSP example.
</description>
<display-name>JSPConfiguration</display-name>
<url-pattern>*.jsp</url-pattern>
<scripting-invalid>true</scripting-invalid>
</jsp-property-group>
</jsp-config>

You may expect a couple of questions in the real exam for this xml element



Thanks and Regards
Joy
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic