61阅读

you and for me-No result defined for action and result

发布时间:2017-11-07 所属栏目:微软 Office for Mac Home and Student 2011简体中文版

一 : No result defined for action and result

这种错误的产生原因可能如下:

1、validate方法没有通过;

2、页面元素中有重命名时,但后台action类的对应的接收此同名参数的是变量而没有写成数组,这个极有可能,我就碰到过,搞了好久才发现是这个原因

要检查这种错误时,可以
1,在后台action类中重写ActionSupport中的
void addActionError(String anErrorMessage)
void addActionMessage(String aMessage)
void addFieldError(String fieldName, String errorMessage)
这三个方法,在并在其实现代码中设置断点,监控传入的参数,并可获知页面的相关报错具体原因.
2,在页面中加入以下标签,将错误显示出来:
<div style=”color:red”>
<s:fielderror />
</div>

struts2.1.8 必须配置namespace
在2.0中一切OK,没有问题,但是在2.1中确出现了No result defined for action的异常,郁闷了好半天,经过多方查找,原来是在2.1中有一个插件struts2-convention-plugin-2.1.8.jar,这个插件是2.1版本中新添加的默认核心包,这个插件是实现Struts2的零配置,但是这样问题就来了,如果引入就必须引入namespace命名空间,否则就会出现刚才的No result defined for action的异常

解决办法:

1、在stuts.xml中加上以下代码:

<result name="input"></result>

这种办法并不是从根本上解决问题。因为No result defined for action and result其实是一种执行失败的情况,他需要一个名为input 的result来处理这种操作失败的情况

,现在它找不着,所以就报了No result defined for action and result的异常。

2、应该从根本上去找导致这种情况的失败原因。

如:在JSP中写上<s:hidden name="id" value="id"></s:hidden>,这时加入你Aaction里面写的是一个Long或者其他整数型的id,那么就肯定会抱着个错误。

扩展:no result defined / user defined result / actionresult

二 : 阅读理解。 Are you looking for some new and exciting pl

阅读理解。
Are you looking for some new and exciting places to take your kids (孩子) to? Try some of these
places
Visit art museums. They offer a variety of activities to excite your kids' interest. Many offer workshops
for making land-made pieces, traveling exhibits, book signings by children's favorite writer, and even
musical performances and other arts.
·Head to a natural history museum. This is where kids can discover the past from dinosaur(恐龙)
models to rock collections and pictures of stars in the sky. Also, ask what kind of workshops and
educational programs are prepared for kids and any special events that are coming up.
·Go to a Youtheater. Look for one in your area offering plays for child and family visitors. Pre-show
play shops are conducted by area artists and educators where kids can discover the secret about
performing arts. Puppet (木偶) making and stage make-up are just a couple of the special offerings you
might find.
·Try hands-on science.Visit one of the many hands-on science museums around the country. These
science play-lands are great fun for kids and grown-ups alike. They'll keep your child mentally and
physically active the whole day through while pushing buttons, experimenting, and building. When
everyone is tired, enjoy a fun family science show, commonly found in these museums.
1. If a child is interested in the universe, he probably will visit
A. a Youtheater
B. an art museum
C. a natural history museum
D. a hands-on science museum
2. What can kids do at a Youtheater?
A. Look at rock collections.
B. See dinosaur models.
C. Watch puppet making.
D. Give performances.
3. What does "hands-on science" mean in the last paragraph?
A. Science games designed by kids.
B. Learning science by doing things.
C. A show of kids' science work.
D. Reading science books.
4. Where does this text probably come from?
A. A science textbook.
B. A tourist map.
C. A museum guide.
D. A news report.
题型:阅读理解难度:中档来源:海南省高考真题

1-4: CCBC


考点:

考点名称:日常生活类阅读

日常生活类阅读的概念:

日常生活这一话题主要涉及人们衣食住行等方面的活动。这一话题的选材主要针对人们日常的工作,生活以及学习情况。做这一类题时,最主要的是要把握好人物的活动内容,时间和地点。

日常生活类阅读题答题技巧:

【题型说明】
该类文章内容涉及到人们的言谈举止、生活习惯、饮食起居、服饰仪表、恋爱婚姻、消遣娱乐、节日起源、家庭生活等。文章篇幅短小,追根溯源,探索各项风俗的历史渊源,内容有趣。命题也以送分题为主,如事实细节题、语义转换题、词义猜测题和简单推理判断题等。虽然这类文章读起来感觉轻松,试题做起来比较顺手,但绝不能掉以轻心。因为稍不留神,就会丢分。   
【备考提醒】
为了保证较高准确率,建议同学们做好以下几点:   
1、保持正常的考试心态。笔者在教学中发现,越是容易的试题,同学们越是容易失分。为什么呢?因为在这种情况下,同学们极易产生麻痹思想,认为题目好做,就不引起高度重视,于是思维不发散、不周密。而命题人就是利用同学们的这一弱点,设计陷阱题。所以,无论试题难易与否,我们都要保持正常的考试心态。试题容易,不欣喜;试题难,不悲观。   
2、根据前面讲到的方法,认认真真、细细心心做好事实细节题。   
3、做好语义转换题。这类题是根据英语中一词多义和某些词语在文中能表达一定的修辞意义的原则而设计的。要求同学们解释某生词的含义,确定多义词或短语在文中的意思,确认文中的某个代词所指代的对象,或者对英语中特有的表达、格言、谚语进行解释。这种题要求同学们一定要根据上下文猜测词义或理解句子,切不可望文生义。   
4、做好简单推理判断题。简单推理判断题要以表面文字为前提,以具体事实为依据进行推理,做出判断。这种推理方式比较直接,只要弄清事实,即可结合常识推断出合理的结论。

三 : for you and for me是哪首歌的歌词

for you and for me是哪首歌的歌词

for you and for me是哪首歌的歌词的参考答案

Dark Is the Night For All

专辑名称:Memorial Beach

查看本专辑其他歌词

出版年代:2002年

发行公司:Wea International

语言类别:英语

歌手名称:A-ha

歌手类别:欧美乐队

词曲:

It's time we said goodbye

Time now to decide

O' don't you feel so small

Dark is the night for all

It's time we moved out West

This time will be the best

And when the evenings fall

Dark is the night for all

It's time...yeah,to break free

It's time to pull away

-------------------

For you and for me

-------------------

It's time...yeah,to break free

We need to celebrate the mystery

It's time we said goodbye

Time for you and I

O' don't you feel so small

Dark is the night for all

-----------------------

----------------------

我帮你把网址复制下来了,这里面所有歌里都有for you and for me

四 : These flowers are for ______.填you and me还是you and I

These flowers are for ______.填you and me还是you and I

为什么?这两种形式我都有见过啊.但分不清楚.

These flowers are for ______.填you and me还是you and I的参考答案

you and me,此处是介词宾语的成分,所以用宾格,要是YOU AND I,应用在主语里头

本文标题:you and for me-No result defined for action and result
本文地址: http://www.61k.com/1088208.html

61阅读| 精彩专题| 最新文章| 热门文章| 苏ICP备13036349号-1