初学struts2 遇到一点小问题

在用struts2 写一个小的web程序的时候,jsp页面是这样的:
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">


输入要求代数和的两个数字



/s:textfield
/s:textfield
/s:submit
/s:form

struts.xml的配置文件是这样的:



/pages/positive.jsp
/pages/negative.jsp


用tomcat 6 运行的时候出现了这样的错误:
type:Status report

message :/FirstWeb/sum

description: The requested resource (/FirstWeb/sum) is not available.

我的jsp中的form action的名字和 config中的action名字一样 而且class路径完全正确,为什么总是说The requested resource (/FirstWeb/sum) is not available。新手请勿见笑。谢谢!

[code="java"] [/code]
改成:
[code="java"] [/code]

很明显
namespace="/mystruts
设置了命名空间
所以 你需要访问的格式是
http://xxx.xxx.xxx.xxx/你的程序名/mystruts/...(可选的任意扩展路径)/X.action