You can see the full screen, high resolution tutorial, here:
http://www.thebookonhibernate.com/j2ee/index.jsp?link=01creatingservlets
Creating a Simple Servlet Using IRAD
This free, multimedia tutorial shows you how to use IBM's Rational Application Developer (IRAD) to create a J2EE project, a Servlet, and a WebSphere Test Server on which you can proudly run your newly birthed Servlet.
If you found something helpful here, please do your part and help support the site. Link to us, buy some books, support our sponsors, tell your developer friends about us, and remember: Happy Java!
package com.examscam.servlet;
import java.io.IOException;
import javax.servlet.Servlet;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
public class CountrySnooper extends HttpServlet implements Servlet {
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
String country = request.getLocale().getCountry();
if (!country.equals("CA")){
response.getWriter().print("Hey, lets go for a Tim Hortons coffee!");
}
else {
response.getWriter().print("Ugh...Guess we settle for Starbucks");
}
}
}
http://www.thebookonhibernate.com/j2ee/index.jsp?link=01creatingservlets
Please check out my SCJA Java Certification Mock Exam website:
http://www.scja.com/associate/
And for Hibernate and JPA tutorials, check out: http://www.thebookonhibernate.com
Thank you Caren (sorry if I spell wrongly your name), this is just exactely what I need to learn j2ee, I was looking for your videos for a epriod :)
TheDjomed 9 months ago in playlist JSP Tutorials
there is some tutorials to download??? I am very interested in using RAD
jcarlosse 3 years ago