This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
The Footer of this WEB Application there is a note saying that "All times above are in your local time zone & format. The current ranch time (not your local time) is Thursday 0:57, US Mountain time (GMT-7)."
We need the implementation of the same. Can you help us in this regard with java Code?
Thanks in Advance, KMR [ February 15, 2008: Message edited by: Bear Bibeault ]
FYI:Moderator... Is it right way of contacting you?If not please guide us.
No. Moderators (here we call them "bartenders") are not responsible for answering questions. Our job is to enforce JavaRanch's single rule: Be Nice. By addressing your question directly to the moderators you are deliberately excluding the 100's of other helpful members of this forum. Of course, since moderators are picked from the most helpful, attractive and brilliant of the JavaRanch's members, they tend to answer more than their share of questions. So to your questions, I will say, your web browser has a "view source" button which will reveal how the JavaRanch knows your local time. [ February 14, 2008: Message edited by: Joe Ess ]
For your information i have pasted the code below. here there is something called <noscript> tag. i'm not aware of that too.. could you help me in this regard!!!
To Explain the Problem in brief.. The Server for the JavaRanch is located in the US, and When the users from different country post their questions they will be saved in US database of the US Server time, but while displaying them in the JSP page the current local Time of the user is displayed. How is this implemented, it would be great if you could help me in this regard.
Well, as to not being aware of NOSCRIPT, that is something you should first remedy isn't it? This will be a good place to start.
As for checking out scripts written in external JS files, you can go about it in 2 ways: 1 => Check out which all script files are getting included in this page from the source. Then enter the URLs into your browser (you might have to take care of relative paths here). And voila! the whole script in plain text in your browser. 2 => Use Firefox, install Firebug, check out the "script" tab. You'll have all referenced scripts downloaded for your leisure perusal.
And lastly, just out of curiosity, why do you think that JSPs are in use here at JavaRanch? Is it because that's what you're also working on?
Joined: Jan 24, 2008
First i've to thank you for guiding me in NOSCRIPT and getting the JS. i used the first way to get the JS file. Thanks for it. Thanks a lot....
And the question you have asked in the last, i'm not properly getting what do you mean by that. I'm using JSP's in my application is to have ease of maintenance and mostly its to decouple the view and business logic. hopefully JavaRanch also would have implemented for the same reason.
Anyways thanks for your valuable information at this point.