entre as aulas 7 e 8 a uma mudança no codigo dom formulario e é colocal o actios usando o spring
<form:form action="${s:mvcUrl('PC#gravar').build() }" method="post" commandName="produto"> só que da erro no eclipe , note eu inclui a taglib <%@ taglib uri="http://www.springframework.org/tags" prefix="s"%>
o que pode estar causando esse erro ??
abaixo esta o codigo da form.jps
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@ taglib uri="http://www.springframework.org/tags" prefix="s"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Produtos </title>
</head>
<body>
<form:form action="${s:mvcUrl('PC#gravar').build() }" method="post" commandName="produto">
<div>
<label>Título</label>
<form:input path="titulo" />
<form:errors path="titulo" />
</div>
<div>
<label>Descrição</label>
<form:textarea rows="10" cols="20" path="descricao" />
<form:errors path="descricao" />
</div>
<div>
<label>Páginas</label>
<form:input path="paginas" />
<form:errors path="paginas" />
</div>
<div>
<label>Data de Lançamento</label>
<form:input path="dataLancamento" />
<form:errors path="dataLancamento" />
</div>
<c:forEach items="${tipos}" var="tipoPreco" varStatus="status">
<div>
<label>${tipoPreco}</label>
<form:input path="precos[${status.index}].valor" />
<form:hidden path="precos[${status.index}].tipo" value="${tipoPreco}"/>
</div>
</c:forEach>
<button type="submit">Cadastrar</button>
</form:form>
</body>
</html>
o ERRO QUE APARECE NO APACHE QUANDO MANDO RODAR É ESSE
Type Exception Report
Message An exception occurred processing [/WEB-INF/views/produtos/form.jsp] at line [18]
Description The server encountered an unexpected condition that prevented it from fulfilling the request.
Exception
org.apache.jasper.JasperException: An exception occurred processing [/WEB-INF/views/produtos/form.jsp] at line [18]
15: <form:form action="${s:mvcUrl('PC#gravar').build() }" method="post" commandName="produto">
16: <div>
17: <label>TÃtulo</label>
18: <form:input path="titulo" />
19: <form:errors path="titulo" />
20: </div>
21: <div>
Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:613)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:505)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:172)
org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:303)
org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1228)
org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1011)
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:955)
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:877)
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:961)
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:852)
javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:837)
javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)