开发者

URL to a specific Wicket component

I have a webpage with a Wicket login f开发者_运维知识库orm. I want to make a HTTP POST from some other page and be able to login onto my webpage. Can this be done?


Well it can be done. You can read REQUEST (POST & GET) variables/parameters with the

 ((WebRequest) getRequest()).getParameters(key)

or

 getRequest().getRequestParameters().getParameters().get(key)

and try to perform login in the page constructor. You should use bookmarkable page so mount it or make it stateless. I'm not sure if I answered what you meant in the first place.

HTH,

Marek

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜