HTTP Status 404 - There is no Action mapped for action name login.帮忙看一下
struts.xml中:<struts><packagename="login"namespace="/login"extends="struts-default"><a...
struts.xml中:
<struts>
<package name="login" namespace="/login" extends="struts-default">
<action name="toLogin" >
<result name="success">
/jsp/common/login.jsp
</result>
</action>
<action name="login" class="action.LoginAction">
<result name="ok">
/jsp/common/index.jsp
</result>
<result name="fail">
/jsp/common/login.jsp
</result>
</action>
</package>
</struts>
jsp中:
<form action="login" method="post">
Action中:
public class LoginAction extends BaseAction{
//
private User user;
//
private String errorMsg;
public String execute(){
ILoginDao dao = DaoFactory.getLoginDao(); 展开
<struts>
<package name="login" namespace="/login" extends="struts-default">
<action name="toLogin" >
<result name="success">
/jsp/common/login.jsp
</result>
</action>
<action name="login" class="action.LoginAction">
<result name="ok">
/jsp/common/index.jsp
</result>
<result name="fail">
/jsp/common/login.jsp
</result>
</action>
</package>
</struts>
jsp中:
<form action="login" method="post">
Action中:
public class LoginAction extends BaseAction{
//
private User user;
//
private String errorMsg;
public String execute(){
ILoginDao dao = DaoFactory.getLoginDao(); 展开
展开全部
I am using msp430c1121 and I need to generate *.bin from *.out,
I set the post-build step as:
"${CCE_INSTALL_ROOT}/utils/tiobj2bin/tiobj2bin.bat" "${BuildArtifactFileName}" "${BuildArtifactFileBaseName}.bin" "${CG_TOOL_ROOT}/bin/ofd430.exe" "${CG_TOOL_ROOT}/bin/hex430.exe" "${CCE_INSTALL_ROOT}/utils/tiobj2bin/mkhex4bin.exe"
However, it gives me error that:
'Finished building target: memtest_ccs2.out'
' '
C:/ti/ccsv5/utils/bin/gmake --no-print-directory post-build
"C:/ti/ccsv5/utils/tiobj2bin/tiobj2bin.bat" "memtest_ccs2.out" "memtest_ccs2.bin" "C:/ti/ccsv5/tools/compiler/msp430_4.1.2/bin/ofd430.exe" "C:/ti/ccsv5/tools/compiler/msp430_4.1.2/bin/hex430.exe" "C:/ti/ccsv5/utils/tiobj2bin/mkhex4bin.exe"
Unexpected target: unknown at script/mkhex4bin.pl line 261.
error: -image requires ROMS directive
I have check the mkhex4bin.pl line 261
it is:
I set the post-build step as:
"${CCE_INSTALL_ROOT}/utils/tiobj2bin/tiobj2bin.bat" "${BuildArtifactFileName}" "${BuildArtifactFileBaseName}.bin" "${CG_TOOL_ROOT}/bin/ofd430.exe" "${CG_TOOL_ROOT}/bin/hex430.exe" "${CCE_INSTALL_ROOT}/utils/tiobj2bin/mkhex4bin.exe"
However, it gives me error that:
'Finished building target: memtest_ccs2.out'
' '
C:/ti/ccsv5/utils/bin/gmake --no-print-directory post-build
"C:/ti/ccsv5/utils/tiobj2bin/tiobj2bin.bat" "memtest_ccs2.out" "memtest_ccs2.bin" "C:/ti/ccsv5/tools/compiler/msp430_4.1.2/bin/ofd430.exe" "C:/ti/ccsv5/tools/compiler/msp430_4.1.2/bin/hex430.exe" "C:/ti/ccsv5/utils/tiobj2bin/mkhex4bin.exe"
Unexpected target: unknown at script/mkhex4bin.pl line 261.
error: -image requires ROMS directive
I have check the mkhex4bin.pl line 261
it is:
Storm代理
2023-08-29 广告
2023-08-29 广告
"StormProxies是全球大数据IP资源服务商,其住宅代理网络由真实的家庭住宅IP组成,可为企业或个人提供满足各种场景的代理产品。点击免费测试(注册即送1G流量)StormProxies有哪些优势?1、IP+端口提取形式,不限带宽,I...
点击进入详情页
本回答由Storm代理提供
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询