I have a Spring/Glassfish project created using a NetBeans wizard at the start of the year (so I don't remember the exact settings used to create it).
The strange thing though is that there is no glassfish-web.xml
file inside the project whereas a different project created at the same time does have one.
Why would a project not have a glassfish-web.xml
file?
I've been investigating a character encoding issue and some responses suggest adding to glassfish-web.xml
:
<sun-web-app>
<parameter-encoding default-charset="UTF-8" />
</sun-web-app>
However I can't do that as I don't have a glassfish-web.xml
!
Is it possible to add one? If so what do I need to do in order to make sure it is read?