Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

the description element inside of web-resource-collection.

 
Joe Man
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<!ELEMENT web-resource-collection (web-resource-name, description?, url-pattern*, http-method*)>
e.g
<web-resource-collection>
<web-resource-name>Enterprise App</web-resource-name>
<description>The Description goes here</description>
<url-pattern>/EnterApp/*</url-pattern>
<http-method>GET</http-method>
</web-resource-collection>
Question:
Does the optional <description> element must be placed between <web-resource-name> and <url-pattern> elelments? Can it go after the <http-method> element?
 
Deepti Chalichama
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The order of the elements is important. They should appear in the order given in the specs
The optional <description> element if present should be placed between <web-resource-name> and <url-pattern>.
Hope this helps
Regards,
Deepti
 
Joe Man
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Deepti!
I appreciate your help.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic