Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[mvc-dev] How to access resources

Hello. I am currently trying out Jakarta MVC.

I would like to use Jakarta MVC as a replacement for Servlets and handle all requests through it. However, I noticed that Jakarta MVC cannot directly handle static resources, such as image files.

I am considering migrating from Spring Boot to a Jakarta EE server. To preserve the existing URLs built with Spring MVC without changing them, I need to be able to access static resources under the URLs mapped to JAX-RS.

While it is possible to avoid this issue by configuring complex JAX-RS or Servlet mappings, I find that approach rather cumbersome.

Are there any plans to include a specification in Jakarta MVC that allows it to handle static resources similarly to how Servlets do?


--
Satoshi Seto
mailto:megascus@xxxxxxxxx

Back to the top