Não estou conseguindo rodar o codigo:
<%@taglib uri="/struts-tags" prefix="s"%>
<%@page contentType="text/html; charset=UTF-8"%>
<html>
<head>
<title>Meu primeiro formulário em Struts2</title>
</head>
<body>
<h4> Escreva seu nome: </h4></br>
<s:form action="helloName" method="post">
<s:textfield name="nome" label="Seu nome"/>
<s:submit/>
</s:form>
</body>
</html>
Se eu mudo p/ (funciona com o .action)
<%@taglib uri="/struts-tags" prefix="s"%>
<%@page contentType="text/html; charset=UTF-8"%>
<html>
<head>
<title>Meu primeiro formulário em Struts2</title>
</head>
<body>
<h4> Escreva seu nome: </h4></br>
<s:form action="helloName.action" method="post">
<s:textfield name="nome" label="Seu nome"/>
<s:submit/>
</s:form>
</body>
</html>
Pelo que já vi deveria rodar sem o .action, porém nao funciona! Alguem sabe pq?
