第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

年齡輸入字符串時(shí)出現(xiàn)錯(cuò)誤

誰幫我看下這個(gè)問題:?

<action name="loginAction" method="login" class="com.imooc.strtus.loginAction">

? ? ? ?<result name="success">/success.jsp</result>

? ? ? ?<result name="input">/login.jsp</result>

? ?</action>

年齡:<input type="text" name="age"/>

public class User {

private String userName;

private String password;

private int age;

public int getAge() {

return age;

}

public void setAge(int age) {

this.age = age;

執(zhí)行出錯(cuò):

警告: Could not find action or result: /helloword/loginAction.action

No result defined for action com.imooc.strtus.loginAction and result input - action - file:/F:/Program%20Files/apache-tomcat-6.0.44/webapps/helloword/WEB-INF/classes/a.xml:15:83


正在回答

4 回答

你這個(gè)代碼怎么看?錯(cuò)誤的代碼都不貼、、、、

0 回復(fù) 有任何疑惑可以回復(fù)我~

看一下你的Action返回的值是不是result name=" "里的值。

0 回復(fù) 有任何疑惑可以回復(fù)我~

對(duì)的吧,不然年齡輸入數(shù)字,是不會(huì)跳轉(zhuǎn)成功的,


0 回復(fù) 有任何疑惑可以回復(fù)我~

你的Action呢?看看你的Action有沒有問題!

0 回復(fù) 有任何疑惑可以回復(fù)我~
#1

哈哈111111111111111 提問者

對(duì)的吧,不然年齡輸入數(shù)字,是不會(huì)跳轉(zhuǎn)成功的,
2016-03-21 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消

年齡輸入字符串時(shí)出現(xiàn)錯(cuò)誤

我要回答 關(guān)注問題
微信客服

購課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)