当前位置:SCDCD(310-081)题库

问题:

[单选] Assume the tag handler for a st:simpletag extends SimpleTagSupport. In what way can scriptlet code be used in the body of st:simple?()

A .  Set the body content type to JSP in the TLD
B .  Scriptlet code is NOT legal in the body of st:simple
C .  Add scripting-enabled= “true” to the start tag for the st:simple element
D .  Add a pass-through Classic tag with a body content type of JSP to the body of st:simple, and      place the scriptlet code in the body of that tag.

申报企业高新技术产品(服务)收入审计的对象是申报企业编制的()。 高新技术产品(服务)收入明细表。 高新技术产品(服务)费用明细表。 资产负债表。 利润表。 The tag handler for n:recurse extends SimpleTagSupport.Assuming an n:recurse tag can either contain an empty body or another n:recurse tag, which strategy allows the tag handler for n:recurse to output the nesting depth of the deepest n:recurse tag?()    It is impossible to determine the deepest nesting depth because it is impossible for tag handlers that extend SimpleTagSupport to communicate with their parent and child tags。  Create a private non-static attribute in the tag handler class called count of type int initialized to      oIncrement count in the doTag method. If the tag has a body, invoke the fragment for that body. Otherwise, output the value of count。  Start a counter at 1. Call getChildTags(). If it returns null, output the value of the counter.      Otherwise, increment counter and continue from where getChildTags() is called. Skip      processing of the body.。  If the tag has a body, invoke the fragment for that body. Otherwise, start a counter at 1. Call      getParent(). If it returns null, output the value of the counter. Otherwise, increment the counter      and continue from where getParent() is called.。 因结构不良,局部应力过高而产生疲劳裂纹的压力容器,()。 可继续使用。 铲除裂纹后可继续使用。 补焊后可继续使用。 不能继续使用。 A developer is designing a web application which extensively uses EJBs and JMS.  The developer finds that there is a lot of duplicated code to build the JNDI contexts to access the beans and queues. Further, because of the complexity, there are numerous errors in the code.  Which J2EE design pattern provides a solution for this problem?()  Command。  Transfer object。  Service locator。  Session Façade。  Business delegate。  Data access object。 女性,67岁,走路滑倒后,左手掌着地,X线片显示Colles骨折。关于colles骨折的治疗,下列哪项是错误的() 复位重要的是要恢复正常的掌倾角和尺倾角。 多数需要手术治疗。 复位时需要充分的牵引。 应早期进行手指的屈伸活动。 4~6周后可去除外固定开始腕关节活动。 Assume the tag handler for a st:simpletag extends SimpleTagSupport. In what way can scriptlet code be used in the body of st:simple?()
参考答案:

  参考解析

本题暂无解析

在线 客服