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?



On Mon, Feb 8, 2021 at 7:10 AM Christian Kaltepoth <christian@xxxxxxxxxxxx> wrote:
Hi Tobias,
 
I think extending the MvcContext would be the easiest way to implement Gregors  proposals. 

Agreed!

 
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="" />

Correct?

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.

I think we should be careful so we don't introduce a dependency on Servlet.  

Christian


--
_______________________________________________
mvc-dev mailing list
mvc-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/mvc-dev


--

Ivar Grimstad

Jakarta EE Developer Advocate | Eclipse Foundation

Eclipse Foundation - Community. Code. Collaboration. 


Back to the top