Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[faces-dev] Utilising HttpServletMapping in implementation and Portlets

Hi,

For Mojarra we have an open TODO to utilize the HttpServletMapping from Servlet:

https://jakarta.ee/specifications/servlet/5.0/apidocs/jakarta/servlet/http/httpservletrequest#getHttpServletMapping()

However, as usual Portlets prevent direct usage.

Now we could move getHttpServletMapping() to ExternalContext, but the type it returns is in Servlet too. Wrapping that again in Faces specific types is a little against making the code simpler. Things will get more complicated and tedious again.

Maybe it's time to move to supporting HttpServletRequest only and ask whatever technology that integrates with Faces to supply an HttpServletRequest to Faces, whether it's actually Servlet or not?

Thoughts?

Kind regards,
Arjan

Back to the top