participate


JavaServer Pages (JSP) and JSTL - How do I check whether the browser support javascript by using JSP?
<<   Back to Forum  |   Give us Feedback
10 Duke Stars rewarded for this thread
This topic has 2 replies on 1 page.
Parameshwaran.Ve
Posts:5
Registered: 3/13/07
How do I check whether the browser support javascript by using JSP?   
Mar 23, 2007 12:49 AM

 
Hi.
I am Parameshwaran working as Programmer. I have a doubt that
Can We check the browser settings by means of JSP, whether it supports javascript . so that if the javascript console is disabled or the browser doesn't support javascript . It should prompt the user to enable javascript or to use a javascript enabled browser
 
BalusC
Posts:29,784
Registered: 4/26/06
Re: How do I check whether the browser support javascript by using JSP?      
Mar 23, 2007 1:17 AM (reply 1 of 2)  (In reply to original post )

 
HTML:
<script>
    doSomething();
</script>
<noscript>
    <p>Please enable JavaScript.</p>
</noscript>
 
Parameshwaran.Ve
Posts:5
Registered: 3/13/07
Re: How do I check whether the browser support javascript by using JSP?   
Mar 27, 2007 9:50 PM (reply 2 of 2)  (In reply to #1 )

 
Thank u. 4 replying me.
it works well.. i have a doubt again.
if the meta- refresh is disabled in the browser .. how can i redirect
Is there any possibility of getting it.
 
This topic has 2 replies on 1 page.
Back to Forum
 
Read the Developer Forums Code of Conduct

Click to email this message Email this Topic

Edit this Topic
  
 
 
Forums Statistics
    Users Online : 24
  • Guests : 127

About Sun forums
  • Sun Forums is a large collection of user generated discussions. It is here to help you ask questions, find answers, and participate in discussions.

    Check out our guide on Getting started with Sun Forums for a full walkthrough of how to best leverage the benefits of this community.

Powered by Jive Forums