某高校开发了一套基于Web的教务管理系统,实现教务管理人员课程设置、学生选课和成绩查询、教师上传成绩以及特殊情况下教务处对成绩进行修改等功能。系统基于Java EE平台实现,采用表单(Form)实现用户数据的提交并与用户交互。
系统要支持:
7在特定时期内100个用户并发时,主要功能的处理能力至少要达到10个请求/秒,平均数据量8KB/请求;
8用户可以通过不同的移动设备、操作系统和浏览器进行访问。
系统实现时,对成绩更新所用的SQL语句如下:
"UPDATE StudentScore SET score="+intCTientSubmitScore+"WHERE Stuent_ID='"+strStudentID+"';"
设计1个测试用例,以测试该SQL语句是否能防止SQL注入,并说明该语句是否能防止SQL注入,以及如何防止SQL注入。

查看答案

相关问题推荐

  • Why Have Formal Documents
    Finally, writing the decisions down is essential. Only when one writes do the gaps appear and the (71) protrude(突出). The act of writing turns out to require hundreds of mini-decisions, and it is the existence of these that distinguishes clear, exact policies from fuzzy ones.
    Second, the documents will communicate the decisions to others. The manager will be continually amazed that policies he took for common knowledge are totally unknown by some member of his team. Since his fundamental job is to keep everybody going in the (72) direction, his chief daily task will be communication, not decision-making, and his documents will immensely (73) this load.
    Finally, a manager’s documents give him a data base and checklist. By reviewing them ( ) he sees where he is, and he sees what changes of emphasis or shifts in direction are needed.
    The task of the manager is to develop a plan and then to realize it. But only the written plan is precise and communicable. Such a plan consists of documents on what, when, how much, where, and who. This small set of critical documents (75) much of the manager’s work. If their comprehensive and critical nature is recognized in the beginning, the manager can approach them as friendly tools rather than annoying busywork. He will set his direction much more crisply and quickly by doing so..
    A.periodically
    B.occasionally
    C.infrequently
    D.rarely
    查看答案
  • 当采用数据流图对银行客户关系管理进行分析时,()是一个加工。
    A.工作人员
    B.账户
    C.余额
    D.存款
    查看答案
  • 集成测试的集成方式不包括()。
    A.一次性集成
    B.自中间到两端集成
    C.自顶向下集成
    D.自底向上集成
    查看答案
  • 某些设计模式会引入总是被用作参数的对象。例如()对象是一个多态accept方法的参数。
    A.Visitor
    B.Command
    C.Memento
    D.Observer
    查看答案
  • 以下属于集成测试的是()。
    A.系统功能是否满足用户要求
    B.系统的实时性是否满足
    C.系统中一个模块的功能是否会对另一个模块的功能产生不利的影响
    D.函数内局部变量的值是否为预期值
    查看答案
  • 教育方针的特点主要包括
    查看答案
  • 全面建设社会主义现代化国家,最艰巨最繁重的任务仍然在()
    查看答案
  • 张三为自己投保意外伤害保险,保额10万,张三确定李四为受益人.如果张三因意外伤害死亡后,赔款10万元应支付给()
    A.
    张三的配偶
    B.
    张三的子女
    C.
    李四
    D.
    张三的父母
    查看答案
  • 设备监理阶段可分为()、安装调试阶段、试运行阶段监理
    查看答案
  • 关于基金风险指标的计算
    查看答案
  • 田顺郎歌诗词简繁体_译文_作者_创作背景
    查看文章
  • 田园杂兴回文用弋阳令杨云凤韵 其二诗词简繁体_译文_作者_创作背景
    查看文章
  • 田家杂兴 其二诗词简繁体_译文_作者_创作背景
    查看文章
  • 甲午岁丹阳道中即事 其三诗词简繁体_译文_作者_创作背景
    查看文章
  • 田生闻余浩然访于东郭花下酒集二首 其二诗词简繁体_译文_作者_创作背景
    查看文章
  • 由上海启行至长崎 其二诗词简繁体_译文_作者_创作背景
    查看文章