开发者

GWT + GAE + Multiple pages + SSH

I am trying to write an application with two pages where one needs SSH and the other doesn't (because of performance concern). I understand that multiple pages/entry-points are discouraged in GWT framework. But I don't know how I ca开发者_StackOverflow中文版n turn SSH traffic on and off dynamically using GWT+GAE. Even though I think I can setup to use SSH all the time by modifying web.xml. Can anyone suggest a simple solution?

Many Thanks!


GWT and GAE are two separate technologies:

  1. GWT: if you want to mix both secure and unsecure URLs you will need to have multiple pages / entry points. You can not have an unsecured GWT page making secured RPC calls to the server due to browser's Same Origin Policy.

  2. GAE: having both secure and unsecure URLs in GAE is simple - just create a proper <security-constraint> configuration in your web.xml .

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜