Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Jsp Or JavaScript  RSS feed

 
Bala Krishniah
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
My web page is static, except for a small user interaction part. It's just like a temperature conversion programe. ie when the user enters a temp in Fahrenheit, display the result in Celsius.
If I use JavaScript to make the conversion how can I display the result in the same page. (Not in a textbox but as a statement, ie as a text, like, 'Equivalent temperature in Celsius is: 26 Degree Celsius'.)
If I use JSP, should the Web Server support server side programming?
I really appreciate your help!
Thanks
 
Diomedes Casiraghi
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I recomend you to use JavaScript for some dynamic content in your page. The JSP/servlets are useful when you have to do some complicated applications like Database acces or something like that. Besides, with JavaScript you don't need any server side configuration. Here is one link you can visit to search for JS examples. Maybe in these site you can found what you are looking for.
http://javascript.internet.com/ http://www.hotwired.com/webmonkey/javascript/


Originally posted by Bala Krishniah:
Hello,
My web page is static, except for a small user interaction part. It's just like a temperature conversion programe. ie when the user enters a temp in Fahrenheit, display the result in Celsius.
If I use JavaScript to make the conversion how can I display the result in the same page. (Not in a textbox but as a statement, ie as a text, like, 'Equivalent temperature in Celsius is: 26 Degree Celsius'.)
If I use JSP, should the Web Server support server side programming?
I really appreciate your help!
Thanks

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!