• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

<web-resource-name> problem

 
Ranch Hand
Posts: 352
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey,

We know that under the <web-resource-collection> there is a element called <web-resorce-name>.

Its a mandotory element right? also we can define any name right? But that name newer used know so i feel its not a mandotory element?

Also correct me please if I am wrong..only <web-resource-name> and <url-pattern> are mandotroy elements where <httm-method> and <auth-contraint> are not mandotory right?

Thank You.
 
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
web-resource-name is mandatory. I think it can be used by third party tools, or container management tools to identify the restricted resource. You can give it any name you want.

url-pattern is also mandatory, with one or more element. Both http-method and auth-contraint or not mandatory.

(Servlets Specification, SRV.13.4 Deployment Descriptor Diagram)
 
reply
    Bookmark Topic Watch Topic
  • New Topic