On Mon, Oct 19, 2009 at 12:23 PM, Freddy Daoud xf2...@fastmail.fm wrote:
Grzegorz Krugły g...@... writes:
Anyway, I'm really glad I chose Stripes (and bought Your book) -- it
keeps amazing me with how well thought it is.
Thanks Grzegorz, I'm very happy to hear that! :-)
Cheers,
Freddy
Grzegorz Krugły g...@... writes:
I noticed that index.jsp is an oftenly proposed solution, but I don't
think it's good for Search Engine Optimization reasons. I believe
rewriting URL is a better solution, as the user (and Google, etc.) will
still see the original URL even though we serve
Freddy Daoud pisze:
Grzegorz Krugły g...@... writes:
I noticed that index.jsp is an oftenly proposed solution, but I don't
think it's good for Search Engine Optimization reasons. I believe
rewriting URL is a better solution, as the user (and Google, etc.) will
still see the original
Grzegorz Krugły g...@... writes:
By no means meant or mean I to argue If one forwards to an action
bean, it probably works as You're saying, but You've suggested meta
http-equiv=refresh content=0;url=login which will obviously do the
redirect client-side
Indeed, the index.html solution
Hello,
I'm just beginning development with Stripes having come from Struts2
and Wicket in the past. I have a question which I feel is probably a
FAQ but couldn't find it either on the stripes site or with some
Google searching. Maybe I missed it though.
Anyway I want to map an action to
Hi Stephen,
You can do this:
@UrlBinding(/)
public class YourActionBean implements ActionBean {
@DefaultHandler
public Resolution something() {
...
}
}
Hope that helps. Sorry for the quick minimal answer but I'm short on
time, let me know if you need more details.
Cheers,
Freddy
Remember that in web.xml it has to say like the following - url-pattern
is important here.
I've had many problems with binding to / and in the end just wrote my
own filter which rewrites some URLs (eg. / to /home). If You'd like, I
can give it to You.
filter
Freddy Daoud pisze:
Hi Grzegorz,
I've had many problems with binding to / and in the end just wrote my
own filter which rewrites some URLs (eg. / to /home).
I'm curious, what were the many problems that you encountered?
Well... First of all, setting appropriate context root in
Well... First of all, setting appropriate context root in web app didn't
work because when it is packed in an EAR file, application.xml has to be
used. But having / there doesn't work, neither ROOT, etc. So I found out
that there's a conception of default web app in Glassfish settings. Then
On 18-10-2009 at 17:39, Freddy Daoud wrote:
Hi Stephen,
You can do this:
@UrlBinding(/)
public class YourActionBean implements ActionBean {
@DefaultHandler
public Resolution something() {
...
}
}
Hope that helps. Sorry for the quick minimal answer but I'm short on
time,
10 matches
Mail list logo