WicketServlet handles GET and POST requests alike and for you as user
there is no difference in retrieving the parameter, no matter whether
it is POST or GET. I haven't tested it, but Form POST should work as
well.

Juergen


On 5/27/05, Gili <[EMAIL PROTECTED]> wrote:
> 
>         I don't much like Eelco's suggestion of
> 
> http://myserver/myapp?bookmarkablePage=mypck.ActivitiesPage&id=1123
> 
> from/ to
> 
> http://myserver/myapp/activities/cool_and_the_gang_live_again
> 
>         for one reason: it will require quite a lot of configuration.
> 
>         I'd like to propose a very simple yet crawler-safe URL writing.
> 
> http://myserver/myapp?bookmarkablePage=mypck.ActivitiesPage&id=1123
> 
> from/ to
> 
> http://myserver/myapp/activities/mypck/ActivitiesPage
> 
>         that is, we just convert the dots in the package name to directory
> slashes. The only configuration needed will be to enable this feature
> and no need to configure what Pages map to what URLs.
> 
>         As for internal pages, why aren't we using HTTP POST instead of HTTP
> GET? It would be a good start in hiding query arguments from most end
> users. It's obviously not as safe as encryption but I think it is a
> decent "half way there" approach.
> 
> Gili
> 
> Juergen Donnerstag wrote:
> > I haven't testet it, but it should be possible. You have to change
> > web.xml for the servlet to receive all requests instead of /myApp
> > only, but it should work. In principal it is not different to changing
> >
> > http://myserver/myapp?bookmarkablePage=mypck.ActivitiesPage&id=1123
> > to
> > http://myserver/myapp?secure=ABCGISLDSKJKDJIOSDSDNSDSDSD
> >
> > It is just a String which gets modified. And it happens in a subclass
> > of WebRequest (decode) and WebResponse (encode).
> >
> > Juergen
> >
> > On 5/27/05, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> >
> >>So...
> >>
> >>http://myserver/myapp?bookmarkablePage=mypck.ActivitiesPage&id=1123
> >>
> >>from/ to
> >>
> >>http://myserver/myapp/activities/cool_and_the_gang_live_again
> >>
> >>Is possible? I may be missing something, but I think this can only be
> >>done with Servlet filters? Maybe by overriding WebRequest etc, you could
> >>do it
> >>
> >>(for circumvent code like:
> >>    private boolean bookmarkablePage()
> >>    {
> >>        // Get any component parameter
> >>        final String pageClassName =
> >>request.getParameter("bookmarkablePage");
> >>        if (pageClassName != null)
> >>       ....
> >>)
> >>
> >>but that's probably quite difficult...
> >>
> >>Eelco
> >>
> >>
> >>Juergen Donnerstag wrote:
> >>
> >>
> >>>No, we don't ship a crawler-safe implementation yet. What are the
> >>>requirements for crawler-save urls?
> >>>
> >>>I think the solution approach we currently have is ok. It is not
> >>>perfect though. What I can think of is a kind of chain (or filters)
> >>>which may be added on application level. Filters would have to
> >>>implement 2 methods: one for encoding/encryption the other for
> >>>decoding/decryption. By means of the chain you could stack an
> >>>encryption implementaton on top of a crawler-save implementation. Bad
> >>>example. It doesn't make much sense to combine these two filters. Any
> >>>idea of filters you would like to have and which make sense to be
> >>>combined with one another? I can't currently think of any. If there is
> >>>no need, IMO the current flexibility is sufficient enough.
> >>>
> >>>Juergen
> >>>
> >>>
> >>>On 5/27/05, Johan Compagner <[EMAIL PROTECTED]> wrote:
> >>>
> >>>
> >>>
> >>>>desire.
> >>>>
> >>>>They shouldn't be mutually exclusive..
> >>>>
> >>>>I can think that in one application everything must be encoded. Except 
> >>>>some
> >>>>book markable pages or other urls
> >>>>
> >>>>johan
> >>>>
> >>>>
> >>>>
> >>>>Juergen Donnerstag wrote:
> >>>>Johan,
> >>>>
> >>>>was that a desire or did you try it already?
> >>>>
> >>>>Juergen
> >>>>
> >>>>On 5/27/05, Johan Compagner <[EMAIL PROTECTED]> wrote:
> >>>>
> >>>>
> >>>>And both in the same application are elegantly possible..
> >>>>
> >>>>johan
> >>>>
> >>>>Eelco Hillenius wrote:
> >>>>
> >>>>
> >>>>
> >>>>Ok, that's cool. Doesn't have to be a factory, as long as it is
> >>>>elegantly possible.
> >>>>
> >>>>Eelco
> >>>>
> >>>>Juergen Donnerstag wrote:
> >>>>
> >>>>
> >>>>
> >>>>I think this is already possible by means of the same mechanism.
> >>>>Whether you call it encyrpt/decrypt or encode/decode it doesn't
> >>>>matter. I'm not sure what kind of benefit a factory would provide.
> >>>>
> >>>>Juergen
> >>>>
> >>>>---------- Forwarded message ----------
> >>>>From: SourceForge.net <[EMAIL PROTECTED]>
> >>>>Date: May 26, 2005 11:05 PM
> >>>>Subject: [Wicket-develop] [ wicket-Feature Requests-1209464 ] custom
> >>>>url rewriting
> >>>>To: [EMAIL PROTECTED]
> >>>>
> >>>>
> >>>>Feature Requests item #1209464, was opened at 2005-05-26 23:05
> >>>>Message generated for change (Tracker Item Submitted) made by Item
> >>>>Submitter
> >>>>You can respond by visiting:
> >>>>https://sourceforge.net/tracker/?func=detail&atid=684978&aid=1209464&group_id=119783
> >>>>
> >>>>
> >>>>Please note that this message will contain a full copy of the comment
> >>>>thread,
> >>>>including the initial issue submission, for this request,
> >>>>not just the latest update.
> >>>>Category: core
> >>>>Group: 1.1
> >>>>Status: Open
> >>>>Priority: 5
> >>>>Submitted By: Eelco Hillenius (eelco12)
> >>>>Assigned to: Nobody/Anonymous (nobody)
> >>>>Summary: custom url rewriting
> >>>>
> >>>>Initial Comment:
> >>>>Support was added for encrypting url's in 1.0. The next
> >>>>step is to allow users to customize url rewriting, e.g.
> >>>>by providing a factory class.
> >>>>
> >>>>For example, as a user I could want instead of url:
> >>>>
> >>>>http://myserver/myapp?bookmarkablePage=mypck.ActivitiesPage&id=1123
> >>>>
> >>>>to have url:
> >>>>
> >>>>http://myserver/myapp/activities/cool_and_the_gang_live_again
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>----------------------------------------------------------------------
> >>>>
> >>>>You can respond by visiting:
> >>>>https://sourceforge.net/tracker/?func=detail&atid=684978&aid=1209464&group_id=119783
> >>>>
> >>>>
> >>>>
> >>>>-------------------------------------------------------
> >>>>This SF.Net email is sponsored by Yahoo.
> >>>>Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
> >>>>Search APIs Find out how you can build Yahoo! directly into your own
> >>>>Applications - visit
> >>>>http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
> >>>>_______________________________________________
> >>>>Wicket-develop mailing list
> >>>>[email protected]
> >>>>https://lists.sourceforge.net/lists/listinfo/wicket-develop
> >>>>
> >>>>
> >>>>-------------------------------------------------------
> >>>>This SF.Net email is sponsored by Yahoo.
> >>>>Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
> >>>>Search APIs Find out how you can build Yahoo! directly into your own
> >>>>Applications - visit
> >>>>http://developer.yahoo.net/?fr=fad-ysdn-ostg-q22005
> >>>>_______________________________________________
> >>>>Wicket-develop mailing list
> >>>>[email protected]
> >>>>https://lists.sourceforge.net/lists/listinfo/wicket-develop
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>-------------------------------------------------------
> >>>>This SF.Net email is sponsored by Yahoo.
> >>>>Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
> >>>>Search APIs Find out how you can build Yahoo! directly into your own
> >>>>Applications - visit
> >>>>http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
> >>>>_______________________________________________
> >>>>Wicket-develop mailing list
> >>>>[email protected]
> >>>>https://lists.sourceforge.net/lists/listinfo/wicket-develop
> >>>>
> >>>>
> >>>>-------------------------------------------------------
> >>>>This SF.Net email is sponsored by Yahoo.
> >>>>Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
> >>>>Search APIs Find out how you can build Yahoo! directly into your own
> >>>>Applications - visit
> >>>>http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
> >>>>_______________________________________________
> >>>>Wicket-develop mailing list
> >>>>[email protected]
> >>>>https://lists.sourceforge.net/lists/listinfo/wicket-develop
> >>>>
> >>>>
> >>>>
> >>>>-------------------------------------------------------
> >>>>This SF.Net email is sponsored by Yahoo.
> >>>>Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
> >>>>Search APIs Find out how you can build Yahoo! directly into your own
> >>>>Applications - visit
> >>>>http://developer.yahoo.net/?fr=fad-ysdn-ostg-q22005
> >>>>_______________________________________________
> >>>>Wicket-develop mailing list
> >>>>[email protected]
> >>>>https://lists.sourceforge.net/lists/listinfo/wicket-develop
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>
> >>>
> >>>-------------------------------------------------------
> >>>This SF.Net email is sponsored by Yahoo.
> >>>Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
> >>>Search APIs Find out how you can build Yahoo! directly into your own
> >>>Applications - visit http://developer.yahoo.net/?fr=fad-ysdn-ostg-q22005
> >>>_______________________________________________
> >>>Wicket-develop mailing list
> >>>[email protected]
> >>>https://lists.sourceforge.net/lists/listinfo/wicket-develop
> >>>
> >>>
> >>
> >>
> >>
> >>-------------------------------------------------------
> >>This SF.Net email is sponsored by Yahoo.
> >>Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
> >>Search APIs Find out how you can build Yahoo! directly into your own
> >>Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
> >>_______________________________________________
> >>Wicket-develop mailing list
> >>[email protected]
> >>https://lists.sourceforge.net/lists/listinfo/wicket-develop
> >>
> >
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by Yahoo.
> > Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
> > Search APIs Find out how you can build Yahoo! directly into your own
> > Applications - visit http://developer.yahoo.net/?fr=fad-ysdn-ostg-q22005
> > _______________________________________________
> > Wicket-develop mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/wicket-develop
> >
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by Yahoo.
> Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
> Search APIs Find out how you can build Yahoo! directly into your own
> Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
> _______________________________________________
> Wicket-develop mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-develop
>


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to