If you want to redirect but still show errors to the user then use the
session.

httpSession.setAttribute(WebConstants.OPENMRS_ERROR_ATTR,
"some.spring.messages.properties.key");

Ben

2011/11/8 Mario Giraldo Londoño <[email protected]>

>  Hola buenos dias, tengo la aplicacion funcionando con certificado
> deseguridad y se me esta presentando un erroral correr el modulo de
> request account, cuando hay errores al crear la cuenta y va aretornar
> los errores dice que no encuentra la
> pagina"https://module/requestaccount/requestAccount.form"; se esta
> perdiendola raiz y que hay datos no seguros en la pagina.
> Sin el https funciona bien.
> Como puedo solucionar esto?
> En el controller donde esta:if (result.hasErrors()) {
>       return "/module/requestaccount/requestAccount";le coloco:if
> (result.hasErrors()) {
> return"redirect:/module/requestaccount/requestAccount";
> funciona redirecciona pero se pierden los mensajes de error no los muestra
> ****
>
> Hi good morning, I have the application running on certificate
> security and is presenting me an error
> running the account request module, when errors occur while creating
> the account and will
> return the error says can not find the page
> "https://module/requestaccount/requestAccount.form"; are missing
> the root and that data is not safe on the page.
>
> Without the https works fine.
>
> As I can fix this?
>
> In the controller where it is:
> if (result.hasErrors ()) {
>  return "/ module / requestaccount / requestAccount";
> I put it:
> if (result.hasErrors ()) {
>  return
> "redirect: / module / requestaccount / requestAccount";
>
> Redirection but it loses the error messages do not
>  sample.
>
> Gracias
>
> --
> Mario Alberto Giraldo
> Cel: (+ 57) 316 829 99 69
> Tel: (+ 57 4) 460 07 27 Ext. 5557
> VitalBox.co | MyVitalbox.co
>
> _________________________________________
>
> To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to
> [email protected] with "SIGNOFF openmrs-devel-l" in the  body
> (not the subject) of your e-mail.
>
> [mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l]
>

_________________________________________

To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to 
[email protected] with "SIGNOFF openmrs-devel-l" in the  body (not 
the subject) of your e-mail.

[mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l]

Reply via email to