File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
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: 17276

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 - iOS Apps
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!