Server Side Validation Progress Problem - Advanced Installer Community
Aniki
Posts: 9
Joined: Thu Jun 28, 2018 8:25 am

Server Side Validation Progress Problem

Hello,

I am using server side validation with java spring framework. I managed to connect my web server with Advanced Installer. It finds the serial number if it is valid or not. My problem is ; installer does not process even though it valides when I click next button. Document says server needs to give "AnswerCode\nMessage" answer and answer code needs to be 601. In the demo it just uses out.print(isValid) to print if its valid with "AnswerCode" but does not use an HttpServletResponse object. So it just prints out if it is valid or not.

Am I missing someting ? This "answer" thing document talking about is JspWriter or HttpServletResponse object ?
Aniki
Posts: 9
Joined: Thu Jun 28, 2018 8:25 am

Re: Server Side Validation Progress Problem

Well I found the answer. I used response.getWriter().out("601") instead of out.print("601").
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Server Side Validation Progress Problem

Thank you for your follow up on this. I am glad you got this working.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”