zxczxczxcgfsdfg 2010-10-31 21:52
浏览 310
已采纳

编程英语好的大侠们 给翻译一下 关于 struts2api中的 inputConfig 中的一段话

Marks a action method that if it's not validated by ValidationInterceptor then execute input method or input result.

Annotation usage: The InputConfig annotation can be applied at method level.

Annotation parameters:

Parameter  Required  Default  Notes 
methodName no  execute this method if specific
resultName no  return this result if methodName not specific

红色部分

这个翻译有关于 InputConfig中 methodName 和resultName的使用方法 本小菜尝试各种翻译方法 都觉得翻译出来的语义不对

  • 写回答

1条回答 默认 最新

  • oyj7454103 2010-10-31 22:49
    关注

    我试试看哈!
    [quote]marks a action method that if it's not validated by ValidationInterceptor then execute input method or input result. [/quote]
    当一个action的方法 没有通过验证 或者别拦截的时候 执行默认的方法或者 跳转到 错误页面!

    [quote]Annotation usage: The InputConfig annotation can be applied at method level. [/quote]
    这个 注解的用法是 InputConfig 注解能用在方法级别!

    [quote]methodName no execute this method if specific [/quote]
    如果无效则不执行方面名称对应的方法!

    [quote]resultName no return this result if methodName not specific [/quote]
    无效的返回值是 不返回!
    我E 文也比较烂! 呵呵! 希望对你有帮助!

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥20 测距传感器数据手册i2c
  • ¥15 RPA正常跑,cmd输入cookies跑不出来
  • ¥15 求帮我调试一下freefem代码
  • ¥15 matlab代码解决,怎么运行
  • ¥15 R语言Rstudio突然无法启动
  • ¥15 关于#matlab#的问题:提取2个图像的变量作为另外一个图像像元的移动量,计算新的位置创建新的图像并提取第二个图像的变量到新的图像
  • ¥15 改算法,照着压缩包里边,参考其他代码封装的格式 写到main函数里
  • ¥15 用windows做服务的同志有吗
  • ¥60 求一个简单的网页(标签-安全|关键词-上传)
  • ¥35 lstm时间序列共享单车预测,loss值优化,参数优化算法