Curl Global Community

Full Version: 独立型アプレットから別WebページへのPOST
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
独立型のアプレットから、あるWebページ(JSP)を別ブラウザで表示する際、リクエストパラメータを渡したいです。

browse-url を利用して、URLの後ろにクエリをつけるGET方式であれば実現可能だと思いますが、
URLにパラメータを表示したくないので、POSTで行いたいです。

Applet.browser-url-post は、独立型アプレットからは使えない(ヘルプでは「未実装」とある)という理解ですが、
独立型アプレットからWebページにPOSTして表示する方法はありますでしょうか。
I think that the only way to show a POST result from an applet that is not in a web browser is to use EmbeddedBrowserGraphic inside the applet. Or if it is a privileged applet, you could make a local HTML file and put the POST inside it, and then use Applet.browse-url on the local HTML file, but some web browsers have security issues with doing some operations from a local file: url to an http: url so I am not sure if that will work for all of them or not.



wbardwellさんありがとうございます。

一応、 EmbeddedBrowserGraphic を利用して、
browse-url-post した結果を新しいビューに表示すれば、
GETパラメータのついたURLを表示せずに済みますね。

ユーザーから、どうしてもブラウザで表示したい、という要望がなければ、
これでも問題ないかもしれません