Re: The different output with Date whether the Http request have application/json

2023-12-04 Thread 哈哈哈哈
After few more hours searching I figure out that struts2-rest-plugin is using jacksion for parsing lib And the ObjectMapper will turn Date Object into millionseconds So struts2-rest-plugin will be first pick after access action when responsing (if no application/json header its will be pass not

Re: The different output with Date whether the Http request have application/json

2023-12-04 Thread 哈哈哈哈
HI Thanks for reply Yes its does change to what i format but not with if the request with application/json app still return millionseconds and after a day for testing I finally find out its nothing about struts2-json-plugin its struts2-rest-plugin cause the issue !! if i add this plugin The Da