This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
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 agree. Here's the link:
subject: How to hide a particular page on all friday's
It's not a secret anymore!