• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Loosing my first job bcz of Servlets.....

 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am a new born fish in the servlets.
Could any body tell me about the basics of servlets.
How to run my first prog.? What are the free resources available on net?
What other things are required to apart from JDK1.3?
What are the things we have to know before starting this?
I am just loosing my first US job offer because of servlets.
I don't understand how can they expect a man to be perfect in all the fields?
Any way friends
I need your help....
Amit
 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi
apart from jdk1.3 you need jsdk2.0 this you can download from javasoft.com because
after you compile your prg the class file is stored in examples folder of the jsdk2.0 then start the servletrunner app from bin of the jsdk2.0 which acts as a server and it expects the class to be in the example folder and it connects at the port 8080
you have to buy a good book which is dedicated to servlets
such as INSIDE SERVLET OR SERVLET PROGRAMMING BY JAMES HUNTER
here is the smallest example of the servlet
import javax.servlet.*;
import java.io.*;
public class Hello extends GenericServlet
{
public void service(ServletRequest request, ServletResponse response) throws ServletException, IOException
{
PrintWriter pw;
pw=response.getWriter();
response.setContentType("text/html");
pw.println("<html> <b>Hello World <br>From Kishor </html>");
}
}
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
NO - don't get the JSDK, get the Tomcat server from
jakarta.apache.org
this is the official Sun reference implementation and is the version most in step with the current and future APIs
Bill

------------------
author of:
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Amit,
"Inside Servlets " bu Dustin Callaway is a very good book for servlets. Try reading it.
Are you by any chance A friend of Girija Shanker (of Wipro)? LEt me know.
Regds
Mamta
 
Amit Tyagi
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Hi,
thank you all guys.
I have started my journey.
thanks
Amit
 
reply
    Bookmark Topic Watch Topic
  • New Topic