Generic Servlet

Hi,I need to write a non-http servlet. Any ideas? PleaseMuch thanksilya
          

"ilya" <[email protected]> wrote in message
          news:3b1a7cce$[email protected]..
          > Hi,I need to write a non-http servlet. Any ideas? PleaseMuch thanksilya
          javax.servlet.Servlet || javax.servlet.GenericServlet. More specificity
          would be nice :-)
          ~Ryan
          

Similar Messages

  • How to return a httpservletresponse for generic servlets II

    I have a servlet that do a call service to another machine( the service
              can be so different), and I would like to know if there is possible to
              return the "servletresult" in the "httpservletresult" or somethiing
              similar,because
              I don´t know which are the parameters to return , and i would like to
              manipule these parameters in the client. So, i want don´t use
              "getParameterValues" of "servletresult".
              I would like to return a object java. It is like to say that the result of
              the service call ("servletresult") is passed directly to the
              "httpservletresponse" and not pass every parameter (read by name ) between
              "servletresult" and "httpservletresponse".
              Thanks
              

    I am not sure if I am answering your question fully but here goes:
              I have a pack of utilities that I use for handling servlet requests.
              One of them helps to transform an HTTPRequest object into a HashMap.
              The objective was to make the processing as web-independent as
              possible. So what you get is a generic java object which has all the
              data of the HTTP Request. You can use it any way you want. I am
              attaching the code below. It does the basic job but pls remember that
              it was designed for a slightly different purpose:
              * Converts an HTTPServletRequest object to an equivalent HashMap
              public boolean mapRequest(HttpServletRequest req, Map input)
              try
              Enumeration reqEnum = req.getParameterNames();
              String keystr;
              String valstr;
              while(reqEnum.hasMoreElements())
              keystr = (String)reqEnum.nextElement();
              valstr = req.getParameter(keystr);
              input.put(keystr, valstr);
              return true;
              catch(Exception e)
              return false;
              oscar alarcon wrote:
              >
              > I have a servlet that do a call service to another machine( the service
              > can be so different), and I would like to know if there is possible to
              > return the "servletresult" in the "httpservletresult" or somethiing
              > similar,because
              > I don´t know which are the parameters to return , and i would like to
              > manipule these parameters in the client. So, i want don´t use
              > "getParameterValues" of "servletresult".
              > I would like to return a object java. It is like to say that the result of
              > the service call ("servletresult") is passed directly to the
              > "httpservletresponse" and not pass every parameter (read by name ) between
              > "servletresult" and "httpservletresponse".
              >
              > Thanks
              

  • Doubt in Generic Servlet and Http Servlet

    Hi,
    I studied Genaric Servlet does not support state and session mengement and where as Http Servlet supports state and session mengement.
    Why Genaric Servlet does not support state and session mengement ?
    Can any one plz tell me reasons.

    GenericServlet is pretty much the most basic Java application that you can run server-side. It doesn't support much of anything except for the basic life cycle management and a couple other things. Go to Dictionary.com and lookup the word Generic. It's used a lot in software development. Go to http://java.sun.com/j2ee/1.4/docs/api/index.html to read more on the GenericServlet class.
    BalusC, because a thread hasn't been active in awhile doesn't mean it's dead. If it were dead it would not be editable. Moreover, the question was never answered (adequately).
    Edited by: wpafbuser1 on Jan 3, 2008 3:33 PM

  • How to return a "HttpServletResponse" for generic servlets (please Help me)

    I have a servlet that do a call service to another machine( the service
              can be so different), and I would like to know if there is possible to
              return to the client the "servletresult" in the "httpservletresult" or
              something
              similar("servletresult" is a class of "bea.jolt". and I utilizes for
              conectivity with TUXEDO).
              I am doing the call to the servlet in an application java(via URL and
              parameteres), not in browser.
              I don´t know which are the parameters to return , and i would like to
              manipule these parameters in the client. So, i want don´t use
              "getParameterValues" of "servletresult".
              I would like to return a object java. It is like to say that the result of
              the service call ("servletresult") is passed directly to the
              "httpservletresponse" and not pass every parameter (read by name ) between
              "servletresult" and "httpservletresponse".
              Thanks
              

    I have a servlet that do a call service to another machine( the service
              can be so different), and I would like to know if there is possible to
              return to the client the "servletresult" in the "httpservletresult" or
              something
              similar("servletresult" is a class of "bea.jolt". and I utilizes for
              conectivity with TUXEDO).
              I am doing the call to the servlet in an application java(via URL and
              parameteres), not in browser.
              I don´t know which are the parameters to return , and i would like to
              manipule these parameters in the client. So, i want don´t use
              "getParameterValues" of "servletresult".
              I would like to return a object java. It is like to say that the result of
              the service call ("servletresult") is passed directly to the
              "httpservletresponse" and not pass every parameter (read by name ) between
              "servletresult" and "httpservletresponse".
              Thanks
              

  • Questions on Servlets

    I don't know WHERE the Oracle team came up with my username (mine was TheWhiteKnight), but it's funny guys.... Thanks for the laugh.
    ANYwho....
    I have a question. I currently am creating some objects with getter and setter methods. For example, I have created a Department object that has 4 protected static variables that coincide with the database fields for the department table in a database. I have a getter and setter method for each variable, as well as a loader, saver, updater, and validator methods. I have the object auto-validate it's info before setting the variable's. Here is the code:
    (what happened to our tag?)
    public class Department {
         static final Logger Dept4j = Logger.getLogger(Department.class);
          * Each variable name lines up with the database fields.
          * Database Table - Departments
         protected static int DEPARTMENT_ID;
         protected static String DEPARTMENT_NAME;
         protected static int PARENT_DEPARTMENT_ID;
         protected static boolean STATUS;
         public static String validationErrorMessage;
         public Department() {
              super();
         public int getDepartmentId() {
              return DEPARTMENT_ID;
         public static void setDepartmentId(int deptId) {
              if (validateAllDepartmentIdFields(deptId))
                   DEPARTMENT_ID = deptId;
         public String getDepartmentName(){
              return DEPARTMENT_NAME;
         public static void setDepartmentName(String deptName) {
              if(validateDepartmentName(deptName))
                   DEPARTMENT_NAME = deptName;
         public int getParentDepartmentId() {
              return PARENT_DEPARTMENT_ID;
         public static void setParentDepartmentId(int deptParentId) {
              if (validateAllDepartmentIdFields(deptParentId))
                   PARENT_DEPARTMENT_ID = deptParentId;
         public boolean getDepartmentStatus() {
              return STATUS;
         public static void setDepartmentStatus(boolean deptStatus) {
              if (validateDepartmentStatus(deptStatus))
                   STATUS = deptStatus;
    Simple enough concept.  I'll not post the rest of the class as it's not relevant.  I want to be able to write a generic servlet to be able to pass all objects to (Department, User, Occupation, etc) and be able to get and set info from an HTML page reusing the same servlet to show all of the public get / set methods that I open up.  What I DON'T want to do is pass resultsets around grabbing metadata and use <% %> scriptlet tags in the front end.  I could go the custom route of writing my own tags and passing everything that way, but I'd like a different way to do this.  I'm wondering if there is any realistic way I can call a generic sort of "get all getters / setters" and populate a page of DDL's / fields with that.  I think I already have the answer, but I'd like to hear it from someone else to confirm it.  BTW, I'm using Tomcat 6.0.18 - 6.0.2x for this. Not sure if it actually matters. 
    Any insight is greatly appreciated.  And as always constructive criticism is always welcomed.
    - Josh                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Using a Map instead of that class might be a good alternative to a point, but i think I'll have to end up using a class like this for at least a few things. a Map might work for somethings, I'm trying to not use any scriptlets in the JSP pages if I can I help it.
    Clearing the static out of that class fixed the issues. Thank you.

  • Accessing a servlet from another class

    Not to confuse anyone too much, but here's the scenario.
    I have a servlet that calles other Java classes which perform various functions. Now can I have one of these classes access the servlet directly, without setting up a socket based connection. What I mean is can I just simply call its methods and have access to the HttpServletResponse/HttpServletRequest objects?
    Usually the servlet gets accessed via an HTTP client where then servlet will call classes it needs to access, where here I have a class accessing the servlet directly.
    I do not have the capability of running servlets at the moment so I cannot just do a quick and dirty test to see how it would be done.
    Any input would be appreciated.

    If you have a servlet that contains methods that
    aren't related to the processing of a request (except
    for initialization) then those methods are in the
    wrong place. I don't know where they should be
    instead, that depends on your design. Perhaps you
    should post some details about what you are trying to
    do here.Currently I have not written code for what I am attempting.
    What I am attempting is quite an unorthodox approach of getting server information via a servlet. However unlike your standard servlet the servlet will be accessed via a java class, rather than being invoked from a URL.
    If I had to use psuedo-code I would put it like this:
    class A{
    public void accessHeaders(){
    // access servlet HttpRequest object.
    // use the object.
    // display header info...etc.
    // main prog.
    class Test {
    public static void main(String[] a){
    A a = new A();
    a.accessHeaders();
    The servlet will be a generic servlet which overrides a doGet().
    That's right an app accessing a servlet. I have done this but using the java.net package but I don't want to use that in this case. Can I implicitely call the servlet?
    Now the more I think about doing something like this the more I feel that it cannot be done this way.
    I am new to servlets so I don't know all the ways they can be used.

  • Servlet filter that can differentiate between Filter and Servlet Writers

    Hey,
    I'm trying to build a Filter and HttpServletResponseWrapper that, when applied to a generic servlet, can differentiate between the output stream from the Servlet and the one from the Filters.
    So, say I have a servlet:
    PrintWriter pw = response.Writer();
    pw.write( "Output from servlet" );
    pw.close();And a filter that is applied to the servlet:
    PrintWriter pw = response.Writer();
    pw.write( "Output from filter" );
    pw.close();I want to be able to do this in my filter that is able to differentiate between the servlet and filter response:
    System.out.println( "Response from servlet: " + responseWrapper.servlet.toString() );
    System.out.println( "Response from filter: " + responseWrapper.filter.toString() );The responseWrapper.servlet and responseWrapper.filter can contain all filter responses from all the servlet(s) and filter(s), respectively.
    Can anyone give me guidance as to how to start with this - really I just need to know if I can differentiate between servlet and filter responses in a generic way (without having to modify the response specially in the filter or servlet files that write output)
    Thanks for your time.

    first thing's first..if the OutputStream if not closed Either a Filter or a ServletChain can write on to the stream.
    There could be cases where the servletoutputstream would be closed at servlet end itself.Therefore,its a valiant effort by acomplishing a responseheader in the response to indicate that.
    Now once the response/outputstream is not closed or flushed out there is not direct way by which you do this unless we indicate using response Headers as flags when we are implementing FilterChaning.
    Hope that might help :)
    REGARDS,
    RaHuL

  • How to run the servlet without getting message window?

    while running servlet,i got a message window that 'Do you want to save:val?'how to rectify this problem while running servlet.
    Actually i saved the servlet files as HTTP and Generic.java respectively.
    In web.xml file,the content is as follows
    <servlet>
    <init-param>
         <param-name>title</param-name>
         <param-value>GenericServlet Example</param-value>
         </init-param>
         <init-param>
    <param-name>heading</param-name>
    <param-value>Servlet Program</param-value>
    </init-param>
    <servlet-name>G</servlet-name>
    <servlet-class>Generic</servlet-class>
    </servlet>
    <servlet>
    <servlet-name>H</servlet-name>
    <servlet-class>HTTP</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>G</servlet-name>
    <url-pattern>/generic</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>H</servlet-name>
    <url-pattern>/http</url-pattern>
    </servlet-mapping>
    ======================================================
    The html file is as follows
    <html>
    <body>
    <form action="generic" method="get">
    User Name<input type=text name=t1><br>
    Password<input type=password name=t2><br>
    <input type="submit" value="GenericServlet Output">
    </form>
    <form action="val" method="get">
    User Name<input type=text name=t3><br>
    Password<input type=password name=t4><br>
    <input type="submit" value="HttpServlet Output">
    </form>
    </body>
    </html>
    ======================================================
    I executed the servlet as http://localhost:8080/stalin/sample.html
    and clicked the sumit button in the html page.
    During that time i got a problem but not getting the output.The problem is I got a message window?
    can anyone help me clarify my doubt plz

    That would occur if either the content type in the header is wrong (e.g. it is not text nor image, those content types with which the useragent used is associated), or if you have set content disposition in the header to attachment instead of inline.
    So, doublecheck the headers.

  • Servlet configuration setting

    I have a question on how to call a servlet from the HTML file under oc4j environment.
    I get the configuration on the default-web-app\WEB-INF\web.xml, as follows
    <servlet>
    <servlet-name>UIBroker</servlet-name>
    <servlet-class>com.attachmate.mcs.system.uibroker.UIBroker</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>UIBroker</servlet-name>
    <url-pattern>uibroker</url-pattern>
    </servlet-mapping>
    and I have following code to access the Servlet on my html file
    window.location.href="/mcs/uibroker?..."
    And the servlet-webdir is the default setting.
    The error I got is that server Can't downloae the servlet.
    Would you please give me some suggestion on how to modify the configuration to solve the problem
    Thanks
    null

    Hi Robert -
    Thanks for the clarification... While I think it should be possible to use SSO directly from UIX (as a partner application) - I don't have any experience with this - and I don't believe that we have any sample code which shows how to do this - so unfortunately I don't have any good suggestions at the moment. I did find some general purpose sample code which shows how to enable SSO for a generic Servlet:
    http://otn.oracle.com/docs/products/ias/doc_library/1022doc_otn/portals.102/a90343/examples.htm#1004074
    Perhaps this sample code could be applied to a UIX-based Servlet as well. I'm kind of swamped at the moment so I haven't been able to look at this code closely, but I'll try to take a closer look to see if I can figure out how we might be able to rehost this functionality inside of a PageFlowEngine. Of course, if you make any breakthroughs, it would be much appreciated if you could post your results to the forum...
    Andy

  • Java Servlet page not opening error 404

    Hi!
    I am working with servlets. I compiled the java file and the class file is been moved to
    c:\javawebserver2.0\servlets, and the html files moved to public_html. Html files r opening
    the classpath is mapped to jsdk.jar i.e
    set CLASSPATH=c:\javawebserver2.0\lib\jsdk.jar
    Built-in samples r working without any problem
    when i try to run the servlet
    Page Not Found error 404 occuring
    Please do the favour for me
    thanks

    404 Not Found means you didn't deploy the app properly.
    I think deploying an app like this is a terrible idea. If you have more than one app deployed on a production web server/servlet engine, you wouldn't want to put them all in the same place. "public_html" and the generic "servlets" directory shouldn't be used as dumping grounds for all your apps.
    Learn how to deploy using a WAR file. It'll keep all your apps separate and their constitutive parts together.
    Why Java Web Server? I don't think anyone uses it seriously anymore. Tomcat is the reference implementation of the servlet/JSP specs. I'd download that and use it instead of JWS. JMO, of course.

  • Problem while using servlets

    hello sir,
    I am having problem working with the hellosevlet example.I am not getting any error nor any response from the server. I have try this on JWS and weblogic appication server. but I have the same problem. do I have to make any setting in my server? or what else is the problem?
    midlet code
    import java.io.*;
    import javax.microedition.io.*;
    import javax.microedition.lcdui.*;
    import javax.microedition.midlet.*;
    public class FirstServlet extends MIDlet {
    private Display display;
    String url =      
    "http://localhost:8080/servlet/HelloServlet";
    public FirstServlet() {
    display = Display.getDisplay(this);
    public void startApp() {
    try {
    invokeServlet(url);
    } catch (IOException e) {
    System.out.println("IOException " + e);
    e.printStackTrace();
    public void pauseApp() { }
    public void destroyApp(boolean unconditional) { }
    void invokeServlet(String url) throws IOException {
    HttpConnection c = null;
    InputStream is = null;
    StringBuffer b = new StringBuffer();
    TextBox t = null;
    try {
    c = (HttpConnection)Connector.open(url);
    c.setRequestMethod(HttpConnection.GET);
    c.setRequestProperty("User-Agent", "Profile/MIDP-1.0 Configuration/CLDC-1.0");
    c.setRequestProperty("Content-Language", "en-CA");
    is = c.openDataInputStream();
    int ch;
    while ((ch = is.read()) != -1) {
    b.append((char) ch);
    t = new TextBox("First Servlet",
         b.toString(), 1024, 0);
    } finally {
    if(is!= null) {
    is.close();
    if(c != null) {
    c.close();
    display.setCurrent(t);
    servlet code
    import java.io.*;
    import java.util.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class HelloServlet extends GenericServlet {
    public void service(ServletRequest request,
         ServletResponse response)
    throws IOException, ServletException {
    response.setContentType("text/plain");
    PrintWriter out = response.getWriter();
    out.println("Servlet invoked!");
    out.println(new Date());
    firstserlvet.jad
    MIDlet-1: MyFirstServlet, , FirstServlet
    MIDlet-Description: My First Servelt
    MIDlet-Info-URL: http://java.sun.com/j2me/
    MIDlet-Jar-Size: 1068
    MIDlet-Name: MyFirstServlet
    MIDlet-Vendor: Sun Microsystems. Inc
    MIDlet-Version: 1.0.0
    MIDlet-jar-URL: firstservlet.jar
    MicroEdition-Configuration: CLDC-1.0
    MicroEdition-Profile: MIDP-1.0
    -------------

    Hi, in your MIDlet code, since you are opening up a HTTPConnection. So logically, your servlet should extend
    HTTPServlet as well instead of Generic Servlet.
    As for your URL address, try not to use localhost, instead use the IP address 127.0.0.1 if you want to connect to localhost or the actual IP address of your computer if you want to connect remotely.
    You can find the actual IP address this way if you are using Win 98
    1) Go to command prompt (MS Dos Prompt)
    2) Type "winipcfg"
    For Win 2000
    1) Go to command prompt
    2) Type "ipconfig"
    For Linux
    1) Go to terminal mode
    2) Type "ifconfig"

  • Servlet Calls another Servlet, Returns an Object

    Is it possible to call another servlet (which is loaded through
              Load-on-startup) from another servlet. The return should be an Object.
              I know I am kind of asking for a procedural way of programming.
              Example : Servlet "IamReady" is loaded and gets a request with binary
              data. It replies with a Binary Object.
              Servlet "serviceCall" calls IamReady to get the resoponse.
              I know that there are forward (using requestDispatcher) and "include"
              directives to have another servlet service calling servlet.
              Also, if I define a method in the (generic servlet) does each call to
              methos is executed in different thread (like doPost and doGet).
              Thanks.
              Chris
              

    "Michael Reiche" <[email protected]> wrote in message news:<[email protected]>...
              Thank you Michael,
              > It is possible to call a servlet from a servlet.
              >
              > You can 'return' an object by putting it in the httpRequest.
              You mean httpResponse.
              >
              > The call is NOT executed in a separate thread.
              >
              > From this post (and the other post about a connection pool) - I wonder if
              > you really need to be using servlets. I couldn't think of a good reason why
              > the connection pool needs to be a servlet.
              Are you suggesting I should just have a class. Reason I have it as
              servlet, b'caz I do a load-on-startup and do initialiazation etc. in
              the init method. May be if you suggest how I can do it otherwise, I
              would like to implement it that way.
              Thanks again.
              >
              > Mike
              >
              > "MOL" <[email protected]> wrote in message
              > news:[email protected]...
              > > Is it possible to call another servlet (which is loaded through
              > > Load-on-startup) from another servlet. The return should be an Object.
              > > I know I am kind of asking for a procedural way of programming.
              > >
              > > Example : Servlet "IamReady" is loaded and gets a request with binary
              > > data. It replies with a Binary Object.
              > >
              > > Servlet "serviceCall" calls IamReady to get the resoponse.
              > >
              > > I know that there are forward (using requestDispatcher) and "include"
              > > directives to have another servlet service calling servlet.
              > >
              > > Also, if I define a method in the (generic servlet) does each call to
              > > methos is executed in different thread (like doPost and doGet).
              > >
              > > Thanks.
              > >
              > > Chris
              

  • EJB Calling a Servlet

    Can I make a call to a servlet from within an EJB method ?
              If so how ?
              Anil
              RealPrompt, Inc.
              575 Harrison Street, Suite 206
              San Francisco, CA 94105
              415.546.5600 ext. 204
              415.546.0202 fax
              510.526.6508 Res.
              http://www.realprompt.com
              

    If all else fails, I would suggest using for the page that contains the
              applet dynamically gen'd HTML (JSP or servlet or xsl or whatever) and
              dynamically encoding an applet parameter that it can pass to the servlet to
              figure out which session it is.
              Cameron Purdy
              [email protected]
              http://www.tangosol.com
              Consulting Services Available
              "Albert Chow" <[email protected]> wrote in message
              news:[email protected]...
              > Hi Alex,
              >
              > I'm writing an application which using applet-servlet communication, I
              > would like to know how I can pass the session-related information between
              an
              > applet and a servlet. Thanx in advance.
              >
              > Albert
              >
              > "Alex" <[email protected]> wrote in message news:[email protected]...
              > > While it is possible by explicitly openning a URL connection,
              > > and open and read from an associated stream, this would be at best
              > > a hack, in my opinion. If you take this approach, make sure
              > > that you take care to send client-side
              > > session-related infomation to the servlet (e.g. Cookies ) as well.
              > >
              > > -Alex
              > > "Anil Kumar Kona" <[email protected]> wrote in message
              > > news:[email protected]...
              > > > we r just doing a sort of proof of concept..
              > > > we need to integrate with one of our partner sites.. and they have a
              > > servlet
              > > > thru which we can connect to their site.. our site is built on EJB..
              so
              > we
              > > r
              > > > thinking of two options:
              > > > a generic servlet that can make calls to partner servlet
              > > > EJB making a call to partner servlet.
              > > > so which one do u think is the best way to do ??
              > > >
              > > > "Kumar Allamraju" <[email protected]> wrote in message
              > > > news:[email protected]...
              > > > > Never tried it.
              > > > > why do you want to do this?
              > > > > EJB's are not meant for presentation, they are here to handle
              business
              > > > > logic.
              > > > >
              > > > > --
              > > > > Kumar
              > > > >
              > > > >
              > > > >
              > > > > Anil Kumar Kona wrote:
              > > > >
              > > > > > Can I make a call to a servlet from within an EJB method ?
              > > > > > If so how ?
              > > > > >
              > > > > > Anil
              > > > > >
              > > > > > --
              > > > > > RealPrompt, Inc.
              > > > > > 575 Harrison Street, Suite 206
              > > > > > San Francisco, CA 94105
              > > > > >
              > > > > > 415.546.5600 ext. 204
              > > > > > 415.546.0202 fax
              > > > > > 510.526.6508 Res.
              > > > > > http://www.realprompt.com
              > > > >
              > > >
              > > >
              > >
              > >
              >
              >
              

  • Parameter to servlet

    Hi, somebody can tell me how a generic servlet can get a parameter from a JSP/JSF/ADF page?
    Thanks

    Thanks Shay. But I´m work with login and psw. If I use servlet url, I show psw in the url. I would like a sample code kind:
    public void doPost(HttpServletRequest request,
    HttpServletResponse response) throws ServletException, IOException {response.setContentType(CONTENT_TYPE);
    FacesContext fc = FacesContext.getCurrentInstance();
    ExternalContext ec = fc.getExternalContext();
    HttpServletRequest request1 = (HttpServletRequest)fc.getExternalContext().getRequest();
    String nome = request1.getParameter("username");
    String psw = request.getParameter("password");
    etc, etc, etc...
    Is it exist? When I try use that code, I receive a nullPointException...
    Any idea?

  • How many types of Servlets exists?

    Hi!
    I have heard that there are 5 types of servlets. I know 2 of them: Generic Servlets and Http Servlets. What about the other three? What is that purpose of these servlets?
    Bye!
    Sj

    Hi,
    Please refer this URL's
    http://home.columbus.rr.com/ggeoffre/java/servlets/pp_cojug_servlet/tsld010.htm
    http://www.smartbooks.com/bw712enterprisejavachp.htm
    I hope this will help you.
    Thanks
    Bakrudeen

Maybe you are looking for

  • Error -1950678991 saving LV8.2 library of shared variables

    I used to be able to programmatically save my library of shared variables using "ProcessToLib.vi" (set to Process mode) after changing properties of some or all variables.  Now, and I don't know what has changed, I get this error: Error -1950678991 o

  • How to install 1 xserve and 2 xserve RAID ??

    Hi i'm new at fiber world. Could anyone tell me how can i install 2 xserve raid on 1 xserve? In this moment i have 1 Xserve and 1 Xserve RAID conected directly with 2 fiber cables. I need to buy other xserve RAID but how can i conect it? i have to us

  • I haven't dropped or damaged my Ipod, but it suddenly won't connect to the comp. to charge. Anybody help?

    One day my Ipod just wouldn't charge for some reason. I got my daughters cord to see if there was something wrong with mine, but it still wouldn't charge. A couple days later, I was wiggling the cord and it connected and charged, and when I disconnec

  • CRIO-9067 Real-time unexpected error restart (Hex 0x661)

    Hi all, I recently moved to LV2014 SP1 and NI-RIO 14.5 to support development of a cRIO-9067 Linux RT controller. The past two days of development have seen LabVIEW crash numerous times (eight at last count), along with numerous VIs being in an undep

  • "Could not purchase" iTunes Store Error

    I keep getting the error message: "Could not purchase (insert songname here) the network connection was reset" whenever I try to buy this one song I want. Does anyone know why or have a way to help me with this?