Gostaria de chamar o metodo no action como é feito no submit Cep, mas na função onblur do textfield Cep.
<%@ taglib prefix="s" uri="/struts-tags"%>
<html>
<head>
<title>Cadastro Empresa</title>
</head>
<body>
<h1>Cadastro Empresa</h1>
<table>
<tr>
<td>
<s:form action="empresa!cadastrar" method="post" enctype="multipart/form-data">
<s:textfield label="Nome" name="empresa.nome" size="20"></s:textfield>
<s:textfield label="Cep" name="empresa.cep" size="8" maxlength="8" onblur="javascript:alert('Busca CEP');"></s:textfield>
<s:textfield label="Endereco" name="empresa.endereco" size="45"></s:textfield>
<s:textfield label="Bairro" name="empresa.bairro" size="20"></s:textfield>
<s:textfield label="Cidade" name="empresa.cidade" size="20"></s:textfield>
<s:submit value="cadastrar" notifyTopics="" />
<s:submit action="empresa!buscaLogradouro" value="Cep" name="Cep" onclick="form.onsubmit=null"/>
</s:form>
</td>
</tr>
</table>
</body>
</html>