vendredi 20 février 2015

Java Spring - Redirect page to "outage" based on db cell value.

I'm looking to setup a "dynamic" outage page for my site, which is based on Spring and sitting on an Oracle 11g db.


In the DB, I have a one cell table, with a flag of "Up" or "Down" that can be manually updated.


so When a user clicks the "action" button, I would like it to check said flag, if value = "up" to go page1, if value = "down" go to page2.


My java is pretty weak however, and surprisingly, Google has been of little help.


Thanks a million.


Aucun commentaire:

Enregistrer un commentaire