In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.