首页 | 本学科首页   官方微博 | 高级检索  
     

关于JSP线程安全问题的思考
引用本文:周世忠.关于JSP线程安全问题的思考[J].电脑编程技巧与维护,2012(2):97-98.
作者姓名:周世忠
作者单位:厦门软件职业技术学院,福建厦门,361024
摘    要:JSP中变量的定义有全局和局部之分,局部变量并不会带来安全问题,而对全局变量的使用,就要慎之又慎。内置对象application的使用要特别注意线程安全。此外,JavaBean的使用也要注意线程安全问题,特别是当scope属性设置为application的时候。

关 键 词:JSP  多线程  安全  JavaBean  内置对象

Thinking about JSP Multithread-safe
ZHOU Shizhong.Thinking about JSP Multithread-safe[J].Computer Programming Skills & Maintenance,2012(2):97-98.
Authors:ZHOU Shizhong
Affiliation:ZHOU Shizhong (Xiamen Institute of Software Technology,Fujian Xiamen 361024)
Abstract:Global and local variables defined in the JSP,local variables do not pose a security problem,and the use of global variables,they can.Built-in object application using special attention should be thread safe.In addition,the JavaBean using should also pay attention to thread security problems,especially when the scope property to the application of the time.
Keywords:JSP  multi-threading  security  JavaBean  a built-in object
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号