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,

I have gathered the information in this thread to these two polls:

Poll Question 1:
Would you like to see Jakarta MVC as a part of the Jakarta EE Web Profile?
- Yes
- No

Poll Question 2:
Which feature would you like to see in the next release of Jakarta MVC?
- Support for more HTTP methods
- Partial- and lazy loading of HTML
- Support for static assets in MvcContext
- Other (specify)

If you're all ok with this, I will proceed with this. 

Ivar

On Mon, Feb 8, 2021 at 8:09 AM Ivar Grimstad <ivar.grimstad@xxxxxxxxxxxxxxxxxxxxxx> wrote:


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. 



--

Ivar Grimstad

Jakarta EE Developer Advocate | Eclipse Foundation

Eclipse Foundation - Community. Code. Collaboration. 


Back to the top