jQuery in Action, 3rd edition
The moose likes Servlets and the fly likes How to hide a particular page on all friday's Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic

How to hide a particular page on all friday's

Malli Raman
Ranch Hand

Joined: Nov 07, 2001
Posts: 312
Hi friends,
In an interview, the interviewer asked me that he wants to hide a web page on every fridays.
I replied that once if we know the Server date and checking the day == friday, we can redirect the page using response.sendRedirect option. But he was not happy with my anser. Is there any other possible solutions are available.
Thanks & Regards,
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17271

Well, maybe he wanted the link to disappear on friday's instead of it remaining there and it just redirecting?
Just a guess.

Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: How to hide a particular page on all friday's
It's not a secret anymore!