Bookmark Topic Watch Topic
  • New Topic

How to hide a particular page on all friday's

 
Malli Raman
Ranch Hand
Posts: 312
  • Mark post as helpful
  • send pies
  • Report post to moderator
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,
M.S.Raman
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Report post to moderator
Well, maybe he wanted the link to disappear on friday's instead of it remaining there and it just redirecting?
Just a guess.
Mark
 
    Bookmark Topic Watch Topic
  • New Topic