I have been reading a lot about springs exceptions, but i cannot make it
work.
My code is :
protected Map referenceData(HttpServletRequest request) throws Exception {
Map<String,Object> data = new HashMap<String,Object>();
data.put("bloque", this.getBloqueManager().encontrar(new
Long(request.getParameter("bloque_id"))));
data.put("enmienda", this.getTipoConcreto()); //The template
method !!!
return data;
}
So, when bloque_id is not set i need to redirect to a page. The manual
says about to indicate on the exceptionResolver, but this is not working
for me. i'm a little lost.
Any idea?
Thanks in advance.
--
Leo Barrientos C.
Responsable de operaciones - OpenSistemas Madrid.
www.opensistemas.com
Madrid: 902 10 73 96
Móvil: 662319448
España.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]