Best servlet tutorial

Hi every one
could any one have a good java servlet tutorial or documentation to recommend to me ?
If so, please just send me references or its hyperlink.
Thanks

Hello,
You can find good Documentation in following link :
http://java.sun.com/j2ee/1.4/docs/index.html
http://java.sun.com/developer/onlineTraining/index.html
also yuo can find good documentation in www.javaworld.com
Regards,
AaronN :)

Similar Messages

  • Where can I get the best guide(tutorial) on building a montage

    where can I get the best guide (tutorial)
    on building a montage in elements 10.
    I do not seem to explain myself correctly - sorry.
    My idea of a montage is to overlay one picture (or more) on top of another (background)
    Thanks

    See these Adobe video tutorials:
    http://tv.adobe.com/watch/learn-photoshop-elements-10/easily-create-a-photo-collage-effect /
    http://tv.adobe.com/watch/learn-photoshop-elements-9/creating-a-photo-collage/
    Ken

  • Problem with Servlet Tutorial

    I am going through the servlet tutorial with a specific end in mind. I found a section that I think relates exactly to what I want to do. I want to have servlet redirect the user to another URL. The following code is given as an example.
    public class Dispatcher extends HttpServlet {     
       public void doGet(HttpServletRequest request,      
          HttpServletResponse response) {     
          request.setAttribute("selectedScreen",     
             request.getServletPath());     
          RequestDispatcher dispatcher = request.     
             getRequestDispatcher("/template.jsp");     
          if (dispatcher != null)     
             dispatcher.forward(request, response);     
       public void doPost(HttpServletRequest request,      
    }The problem is that I can't compile this. There is no HttpServletRequest.getRequestDispatcher(String) method. Am I misssing something here? Am I even on the right track?

    An extract from one of my servlets that redirects to
    another URL is
    this:response.sendRedirect(response.encodeRedirec
    URL("NoLogon"));But it appears you want to
    forward, rather than redirect. There's a difference,
    but I don't exactly know what it is. The forwarding
    example in my servlets book looks like
    this:RequestDispatcher dispatcher =
    getServletContext().getRequestDispatcher(address);
    dispatcher.forward(request, response);
    I tried pasting your first example into my code and got the follwoing error:
    Method encodeDirectURL(java.lang.String) not found in interface javax.servlet.ServletResponse
    It seems like there is still something missing here. When I look at the API I only see four methods for this class.

  • Best Swing tutorial?

    I've always wanted to get into Swing, but I have two left feet.
    Okay, so in all seriousness I was wondering what you think the best Swing tutorial is? I'd prefer online to paper, but I'm open to any suggestions. As to what I want to do with Swing, I really can't say other than that I want to learn the basics. I've developed a lot of apps with user interfaces on the web and I want to try developing an app that doesn't require a web server or other overhead for a change.
    So, who would you Swing with?

    Hi everyone,
    If you ask me i would say
    If you ask me i would say sun's official swing
    tutorial. But if you find a better one let me know as
    well
    Richard WestNow if only you were smart enough to see that he posted the question in the swing forum (and properly provided a link to it by the way), you would have perhaps been apt to answer him over there instead of here, you idiotic troll you.

  • What is the best online tutorial to learn about iphone5?

    I'm looking for the best online tutorial to learn my new iphone5.  I've never used a smartphone before.  I don't see an online tutorial on Apple site or Verizon.

    iPhone User Guide (For iOS 6 Software)
    iPhone 5 Finger Tips - Quick Start Guide

  • Help compiling BookStore  SERVLETS tutorial classes

    I am new to Java. Please be patient with my errors. I need help with compiling the servlets given as part of the SERVLET tutorial. I have previously installed JDK1.3.1.01. I have also downloaded the JSDK2.1 as part of the tutorial. As part of the tutorial several servlet classes were provided. Almost all of them have these import statements.
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    However, the javac is unable to compile the classes. I think it is because javax.servlet is installed under /root/jsdk and JDK is installed under /usr/java/jdk1.3/bin. I can find the javax directory under /root/jsdk but not under /usr/java. I tried giving the classpath option to javac as:
    javac -classpath /root/jsdk BookStoreServlet.java
    But it did not work.
    I believe once the servlet classes are compiled it will be possible to view them from the JSDK browser. I was able to successfully start the jsdk browser with startserver script given with the distribution. And the example SnoopServlet worked fine.
    In summary, I believe the authors of the tutorial left out the details of compiling the classes and viewing from browser. I could be wrong about it.
    I will appreciate any help from the users of the tutorial and anyone who knows servlets.
    Many thanks.
    Murthy

    i found this info on how to set the classpath in linux
    http://java.sun.com/products/jdk/1.2/docs/tooldocs/sola
    is/classpath-linux.htmlThanks imp-cat. I could compile the BookStoreServlet.java into its corresponding class. I get the following error when I try to run it. What should I do? Thanks. Regards. Murthy
    java BookStoreServlet
    Exception in thread "main" java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
         at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)

  • Need a help for finding best online tutorial site

    Could you please post some best PLSQL online tutorial site .
    Advance thanks to all of you.

    Please check this site
    Always good to refer oracle official site for reference.
    http://docs.oracle.com/cd/E11882_01/server.112/e26088/toc.htm
    ~Lokanath

  • What is the best Flash Tutorial?

    I am looking for the best beginning flash tutorial.  Any suggestions?
    Regards, Tom Ashworth
    Tom Ashworth Real Estate

    Hello Tom,
    I find the tutorials at designprovideo.com simply fantastic! It's like having someone there with you, walking you through the software. I started with Photoshop and have since moved on to the beginner tutorial for Flash CS4 101:
    http://designprovideo.com/tutorial/flashcs4101
    I was finding Flash very intimidating. Now I am feeling more comfortable with the basics after watching the first 50 videos. I especially appreciate the way the training is organized into bite sized chunks and the trainers do not assume knowledge like in other tutorials I have seen.
    Best
    Samantha

  • What is the Best UML tutorial?

    Dear All,
    Can you till me what is the best step by step UML tutorial?
    Thanks in advance
    Abdulhamid Dhaiban
    Java Developer

    valooCK wrote:
    OnBringer wrote:
    you should first go back to the basics, and make sure you understand why you cannot create objects out of abstract classes. since you keep trying to bait duffymo with this, it must be troubling you very much that you don't know. perhaps if you ask your question directly and politely he will be kind enough to explain it to you. why always ask in such roundabout ways? people who ask proper questions usually get a proper answer on these forums. hope this helps!
    why should i ask him questions? if i did, he would have told me about abstract objects, purple fruit, hibernate daos, and references are passed by value.
    dont pretend that you know uml, you shorty crying dum bass, madafakar.ooooh, frustrated :-) maybe making another movie will make you happieri think i will make a movie about him running a public restroom in the village of valoo chickens. installing thoes shorty, fatty and sweety in his words toilets for chickens. yes, its a good idea. watch out, coming soon.Do you never get concerned that maybe you're a little bit obsessed with some people you've never even met? I mean, aside from devoting most of your forum time to stalking a select few with the express purpose of gainsaying whatever they post, you then step away from the forums and devote more time to making movies about these people, and posting it on YouTube. I'd be genuinely concerned if I was you

  • Best Illustrator tutorial sites...

    Besides the obvious, like tutsplus and lynda, what are some tutorial sites that update regularly. Also, are there other sites like graphicriver that sell things like styles and actions? Thanks!

    you want more tutorials? I think those two sites have plenty of them
    how about
    http://tv.adobe.com/search/?q=illustrator
    http://www.youtube.com/results?search_query=illustrator+tutorial&oq=illustra&gs_l=youtube. 3.0.0l10.77.1054.0.3477.5.3.0.2.2.0.267.743.2-3.3.0...0.0...1ac.1.11.youtube.WD2pBSC4E3k

  • Best Java tutorial

    Hi
    Can anyone recommend some really good online tutorial which teaches java from scratch?
    Theres so many out there don't know which is worth sticking to. Is it better to get a book or what? What do people think of suns tutorials or are third party tutorials more effective?

    And once you have the very basics, the Java Cookbook by O'Reilly is worth 10 times it's weight in gold, shows how to put Java to use in a number of applied solutions, excellent when you're trying to work out how to solve a particular problem.

  • Best Flex tutorial?

    Dear sirs,
    what are best tutorials for learning Flex?
    much thanks
    http://wei-wu-yi.blogspot.com/

    Hi,
    Video trainings suggested in the post above is an excellent
    start, also try to visit the URL below and find more resources.
    http://www.adobe.com/devnet/flex/learn/
    Hope this helps.

  • Best thread/tutorial on sync?

    I'm just getting started on using an iPad and iTunes.  The official support and most threads are confusing in that I can't seem to find out exactly what happens when you "sync."  I think of the term "sync" as synchronizing, as in making two things completely consistent, without removing anything from either, but this does not seem to be what is happening  in an iPod/iPad "sync" - there is always the possibility of wiping something out! 
    I think use of the term "transfer" would help - instead of saying "sync the iPad to iTunes" or "sync iTunes to the iPad", I would like to see "If you check this checkbox and click APPLY, then X will be transferred from the iPad to the computer and all X in iTunes on the computer will be overwritten.  On the other hand, if you want to add X from the iPad to X on the computer, then do this."
    Any suggestions for a simple unambiguous discussion?

    Download this and do a search for "sync."
    There have been some problems accessing pages on the Apple web site.  If the hyperlink gives you a "We're sorry" message, try again.

  • Best XQuery tutorial for OSB

    Hi,
    I am new to OSB 11g. I want to learn XQuery and how to use it Oracle Service Bus. Any good material so I can become a good expert in XQuery ?
    Thanks

    maybe the tutorials on w3schools are a good start
    http://www.w3schools.com/xquery/default.asp
    they will teach you the basics on how to start using the xquery language with easy to understand examples

  • Best Tutorial? Literature?...

    Does anyone have any suggestions about the best LiveType tutorial and/or literature regarding this application.
    I'm having a hard time moving through the help guide provided with the software by Apple.
    Thanks!
    Jim

    Hey David,
    I'm in your rear view mirror, but your back window is all frosted
    Jummpr2
    One of David's suggested links includes
    http://www.livetypecentral.com/cgi-bin/livetypecentral.cgi/tutorials.html
    which is really good

Maybe you are looking for

  • Free at Last, Free at Last... I Finally Left Verizon - Much Cheaper and BETTER Service!!

    I've been with Verizon over six years and I listened to their marketing of how they're the best and how the fees are higher but "we have better service".  Now that I left?  Noooooo greater feeling.  I know, I know... the fanboys will be all over me o

  • Exception when deploying application using admin console

    Whenever I deploy an application using the admin console window, I get a DistributedExcpetion, The application gets deployed though! so I am assuming that this is not very critical, but If somebody can tell me what this is then It would be really hel

  • I Cannot Watch Showtime Using The App

    Hi, So I have Fios HD Prime which includes Showtime for free. I am trying to use showtime's website, which I am linked to directly from Verizon's website when I go to "Channels." I follow the link to my shows and when asked to choose a providers and

  • OSB call to remote Web Service via https proxy and https CONNECT problem

    Hi I have a service that calls a web service on another server as a web service. This call is via https and the certificate validation raises no errors. I now want this call to go via a squid httpd proxy on port 3128 on some machine. So I would like

  • Help! Icons won't open

    I have a problem recurring on and off where when I turn my computer on, none of the icons open. I have to manually shut it down with the button, Then, when I start up again there is often just a black screen, or the same thing happens where the icons