This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Getting started with JSP and Servlets

 
Amy Phillips
Ranch Hand
Posts: 280
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Could you give me some tips on the best way to get started with these topics. I know there were more important features and keywords that I learn first for java and then the other stuff later, is it the same with JSP and Servlets?
Also I am wondering about JSP, how similar to JScript and ASP is it?
Thanks
Amy
 
Andrea Steelman
Author
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you already know the Java language, you should be able to learn JSP and Servlets quite easily. Rather than focusing on the language, you can focus on how to use Java for web programming. This, in my opinion, is much more fun than trying to learn object-oriented programming!
A servlet is just a special class, so the code looks like regular Java code. JSPs use their own tags, so you'll have to learn how to work with them. However, they're not difficult to use.
JavaScript is not the same as JSP. In our book, we cover how to use JavaScript for simple data validation on the client. There, you'll find that the syntax is similar to Java, but they are not the same. Compared to ASP, I believe JSP/Servlets is similar. Rather than using VB classes in the background, you use servlets.
To get started, I'd (obviously!) recommend our book. This will get you started. In fact, you'll actually learn quite a bit. If you have background in web programming, you'll speed through much of the book since you already know the basics of web programming.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic