标签归档:Java

Struts问题



login.jsp


把默认的文件换成login.jsp,并在其中使用了s标签,报错:
The Struts dispatcher cannot be found.
This is usually caused by using Struts tags without the associated filter.
Struts tags are only usable when the request has passed through its servlet filter,
which initializes the Struts dispatcher needed for this tag.

经查是filter问题

struts2
/*

/*就可以了