开发者

https action in Struts

I am using html:form action = "someAction" to refer to an action in struts-config file. I wanted to make that action as https but apparently I cannot replace an absolute path like https://webserver/context/abc.do with someAction in html:form. Just wondering is there a property or parameter I can 开发者_如何学运维set to make that form submission to an https url?

Thanks


You can't do something like that with Struts 1.x, you will need to use sslext extension to do so. Here's an example: http://www.devarticles.com/c/a/Java/Securing-Struts-Applications/7/

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜