fp024 opened a new pull request, #346:
URL: https://github.com/apache/struts-examples/pull/346

   hello.
   
   I upgraded the Jetty version of jasperreports example to 12.0.8 and checked 
the behaviour.
   
   Even Jetty 12 version can be used as Servlet 4 (javax) if you use EE8 
version, so I only changed the jasperreports example project that I had 
modified before.
   
   
   ## Changes
   
   ### getRealPath() behavior in ServletContext
   
   In Jetty 9.4, `getRealPath("/not_exist_path")` of ServletContext returned a 
path string even if the path did not exist.
   
   In Jetty 12, `getRealPath("/not_exist_path")` returns `null`. Because of 
this phenomenon, the main source code was also slightly modified.
   
   
   
   ### When running Jetty 12 Maven Plugin, it was necessary to add a dependency.
   
   In Jetty 9.4, there was no special dependency to add, but in Jetty 12, 
`xalan` had to be added to the dependency.
   
   ```xml
   <dependency>
     <groupId>xalan</groupId>
     <artifactId>serializer</artifactId>
     <version>2.7.3</version>
   </dependency>
   ```
   
   Without the above dependency, the below exception occurred.
   
   ```
   java.lang.NoClassDefFoundError: 
org/apache/xml/serializer/OutputPropertiesFactory
   ```
   
   
   
   thank you have a good day. 👍


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to