Hi,
To handle errors, I've this concept :
Depending on the exception type, I redirect either to the error
handling page (error.jsp) or the page where the error occured.
So, my problem is to know how to get Maverick to redirect dynamicaly and
programaticaly to a given page ?
I've tried this java code in my controller :
public String go(ControllerContext cctx) throws ServletException {
...
cctx.getResponse().sendRedirect(out);
...
}
where out is the URL of the given page. It seems to work...
What's your opinion ? Is it the right way to develop ?
Best regards
Oliver
**********************************************************************
Ce message et ses �ventuels fichiers attach�s sont confidentiels
et sont uniquement � l'attention de la personne physique ou morale
destinatrice. Si vous avez re�u ce message par erreur, merci d'en
avertir l'exp�diteur.
Ce bas de page assure �galement que ce message a �t� v�rifi� par un anti-virus
**********************************************************************
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Mav-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mav-user
Archives are available at http://www.mail-archive.com/