0

The server is temporarily out of service. (syntax error (SyntaxError))

asked 2013-12-04 12:06:39 +0800

UmaSathya gravatar image UmaSathya
1

updated 2013-12-04 12:09:36 +0800

Hi

I'm using the following code to redirect to another page on a button click. Once the button is clicked the events were processed, but on redirection its showing the following error

The server is temporarily out of service. Would you like to try again?

(syntax error (SyntaxError))

Execution exec = Executions.getCurrent();
HttpServletResponse response = HttpServletResponse)exec.getNativeResponse();
response.sendRedirect(response.encodeRedirectURL("test.zul"));
exec.setVoided(true);
delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-12-09 08:12:37 +0800

dis gravatar image dis flag of Switzerland
140 4

Hi

Wild guess: you must set the full path to your test.zul page. This is the context path and the path to your test.zul page.

  • Dieter
link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2013-12-04 12:06:39 +0800

Seen: 17 times

Last updated: Dec 09 '13

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More