In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article will explain in detail how to use hidden in the production of JSP web pages. The editor thinks it is very practical, so I share it for you as a reference. I hope you can get something after reading this article.
Direct Request.getParameter of the page you want to get in the JSP web page creation ["hide the name of the form field"]
-
Just set the readOnly property to true
Hidden usage in JSP web page making:
Get the value in the same way as text
Request.getParameter (name); / / 0) {clockstart= [XSS _ clean] .indexOf (c_name + "="); if (cantilevered startsof1) {c_startc_start=c_start + cemername.indexOf (";", c_start); if (c_end==-1) cendend = [XSS _ clean] .length; return unescape ([xss_clean] .substring (cantilevered startcased end));}} return " } var getShowNum = function (name) {try {return new Number (document.getElementById (name) [xss_clean]);} catch (e) {return 0;}} var getExpectedNum = function (name) {try {return new Number (getCookie (name));} catch (e) {return 0;}} var setExpectedNum = function (name, value) {setCookie (name, value);} var _ show=''; var goodOrBad=0var showResult = function (rstMsg) {if (_ show) {var area = get (_ show) Area.setStyle ('opacity',100); var rsp = null;try {rsp = eval (rstMsg);} catch (e) {rsp = eval (this.errMsg);} if (rsp! = null) {var code = rsp [0]; var msg = rsp [1]; Area [XSS _ clean] = msg Area.style.display= "block" if (code = = 0) {try {var cid = area.id+goodOrBadsetExpectedNum (cid, getExpectedNum (cid) + 1) expectNum (cid)} catch (e) {}} else if (code = = 2) {_ window.location.href=loginUrl}} window.setTimeout (function () {var e = new Zhishi.Effect (area,'opacity','100','0',1); e.start ();}, 1000) } var evaluateAnswer = function (url, good, show) {if (show) {var ck = show+goodsetExpectedNum (ck, Math.max (getShowNum (ck), getExpectedNum (ck)) goodOrBad=good_show=show; if (url) new WenwenAjaxEvent (url, showResult). Notify ();} var expectNum = function (show) {try {document.getElementById (show) [xss_clean] = Math.max (getShowNum (show), getExpectedNum (show)) } catch (e) {}} / / this is the end of the article on "how to use hidden in the production of JSP web pages". I hope the above content can be helpful to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.