Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [servlet-dev] Cookie.setAttribute() and session-config/cookie-config in web.xml

Ping. Any thoughts on this?

Mark


On 24/09/2021 08:59, Mark Thomas wrote:
Hi all,

With the addition of the generic get/set attribute to Cookie we need to think about what, if anything, to add to the <cookie-config> element in web.xml.

I'd like to propose the following modelled on filter/servlet init-param

...
<cookie-config>
   <attribute>
     <attribute-name>name1</attribute-name>
     <attribute-value>value1</attribute-value>
   </attribute>
   <attribute>
     <attribute-name>name2</attribute-name>
     <attribute-value>value2</attribute-value>
   </attribute>
   ...
</cookie-config>
...

Once we have agreement, I'll put together a PR for the jakarta-schema project.

Mark
_______________________________________________
servlet-dev mailing list
servlet-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/servlet-dev



Back to the top