This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jsp-config

 
Richard Rex
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Where does exactly in deployment descriptor is the

<jsp-config>
<jsp-property-group>
<url-pattern>*.jsp</url-pattern>
<scripting-invalid>true</scripting-invalid>
</jsp-property-group>
</jsp-config>

be located?

Also, for <context-param> tags? I tried placing them before or after servlet configuration and mapping and it both worked in either position. Is the order of the tags really matters here?
 
Connie Ky Leung
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Richard Rex:
Hi,

Where does exactly in deployment descriptor is the

<jsp-config>
<jsp-property-group>
<url-pattern>*.jsp</url-pattern>
<scripting-invalid>true</scripting-invalid>
</jsp-property-group>
</jsp-config>

be located?

Also, for <context-param> tags? I tried placing them before or after servlet configuration and mapping and it both worked in either position. Is the order of the tags really matters here?


<jsp-config> element is located at web.xml
The order of <filter-mapping> and <listener> tags matters in the deployment descripter.
 
Sanjay Lokhande
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

In servlet specs(servlet 2.4 spec) SRV.13.2 they say:
"The sub elements under web-app can be in an arbitrary order in this version of the specification."


look at below.
http://www.coderanch.com/t/171828/java-Web-Component-SCWCD/certification/web-xml

Hope this help you,
from,
sanjay
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic