Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

java script  RSS feed

 
Mike Southgate
Ranch Hand
Posts: 183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm just learning jsp and servlets and I've got Murach's book on it - it's a great intro. One question though - how does java script fit with this and how important is it to web development? Should I learn them simultaneously, or do jsp and servlets first and then add jscript?
Also, what is the suggested architecture for editting fields collected by the html/jsps?
ms
 
ib idris
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
you could learn them simultaneously. Java is more powerful and better suited to run on the server than javascript. Javascript is most commonly used for tasks on the client such as form validation, creating popups and other neat tricks. Javascript is browser dependent and there are a lot of people who just turn it off. I hope this answers your questions.
http://galileo.spaceports.com/~ibidris/
 
Thomas Paul
mister krabs
Ranch Hand
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When designing a site I normally use JavaScript as a convenience but my sites always work without it. So I might do some data validation with JavaScript but I still do it on the server as well.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!