Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mvc-dev] Poll for new Jakarta MVC?

Hi Tobias,
I think extending the MvcContext would be the easiest way to implement Gregors  proposals. 


I guess the idea is to define a default path like we do for the view files, so we can provide convenience methods like `MvcContext#static(String resource)`, right Gregor? IMO this would be really helpful :)

So basically it is about being able to do this:

  <img src="" />

Instead of this:

  <img src="" />


Back then we even had ${mvc.contextPath}, but we removed it, because our goal was to not depend on servlet-specific aspects, as JAX-RS also doesn't depend on servlet.



Back to the top