On 3/24/07, Brad Smith <[EMAIL PROTECTED]> wrote:
I have an application which needs to handle urls that have the following
patterns:
http://localhost:8080/myapp/projects/office1
http://localhost:8080/myapp/projects/office2
http://localhost:8080/myapp/projects/office2/subofficeA
Conceptually I
Thank you Rahul. Yes the RESTful-ness is intentional. I will look these
references over.
Brad
On Sat, 2007-03-24 at 12:12 -0400, Rahul Akolkar wrote:
> >
>
>
> The RESTful-ness of the URLs (if that was intentional) makes it seem
> like Shale Remoting [1] could be helpful here. In which case,
Brad,
I often use a Servlet filter for this type of stuff, but a cleaner approach
might be to use Shale Remoting (http://shale.apache.org/remoting). The
process() method in your MethodBindingProcessor
(http://shale.apache.org/1.0.4/shale-remoting/apidocs/org/apache/shale/remot
ing/impl/MethodBindi
Thanks Kito. I was also considering a servlet filter approach but am
leaning towards a custom Processor implementation based on Shale's
remoting as you and Rahul recommend.
My only lingering concern is the need to have the url end in the same
extension that the JSF servlet is expecting (html in t
On 3/25/07, Brad Smith <[EMAIL PROTECTED]> wrote:
Thanks Kito. I was also considering a servlet filter approach but am
leaning towards a custom Processor implementation based on Shale's
remoting as you and Rahul recommend.
My only lingering concern is the need to have the url end in the same
ex
Thanks Craig. Your suggestion on URL syntax is better. It would be very
useful to have a simple RESTful URL mechanism in JSF.
Greetings from Bend.
Brad
On Sun, 2007-03-25 at 16:44 -0700, Craig McClanahan wrote:
> Perhaps
>
> http://localhost:8080/myapp/projects/office2.html
>
> might be a
While looking further into this issue I ran across this web page:
http://www.jsffaq.com/Wiki.jsp?page=HowToMaskActualURLToTheJSFPage
which is a copy of the response in this forum thread:
http://forum.java.sun.com/thread.jspa?forumID=427&threadID=511578
The solution advocated here is a custom Vi