Using servlet in a frame of webpage

There is a webpage with two frames, left and right. In the left frame, there is a submit button to responsing action. The problem is that I want to display information in the right frame, not left frame. How to do?
Thanks a lot
Forest

Use Where FrameName will be the name of your right hand frame.
Regards ,
Karan

Similar Messages

  • How to define target window when redirecting within frames using servlet?

    Howdy:
    Is there a way to define target window when redirecting within frames using servlets?
    How to do it in JSP as well?
    T.I.A.
    Oriental Spirit

    Your servlet (or JSP) can't decide where it is going to be displayed. The browser has already decided that when it makes the request to your servlet.

  • Outputting JPEG using servlets

    hi
    Im trying to output the JPEG created by the StockGraphProducer class i found on Javaworld to a webpage using a servlet output stream.
    The original code used a file output stream i have included a snippet of it below. I have also included my servlet where i have tried to amend it to render JPEG to the webpage but im not usre abotu it or what bits i need to change in the StockGraphProducer
    I woudl be very grateful if someone could take a quick look at this .
    thanks
    public class StockGraphProducer implements ImageProducer
      private static int ImageWidth = 300;
      private static int ImageHeight = 300;
      private static int VertInset = 25;
      private static int HorzInset = 25;
      private static int HatchLength = 10;
       *  Request the producer create an image
       *  @param stream stream to write image into
       *  @return image type
    // i want to try and use a servlet output stream to send the JPEG to the user insteadof outputstream.
    public String createImage(Outputstream stream) throws IOException
        plottedPrices = new Point2D.Double[5];
        int prices[] =  {105, 100, 97, 93, 93};
        JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(stream);
    //do i remove the stream paaremter from createiamge and above function???
        BufferedImage bi = new BufferedImage(ImageWidth + 10,
                                             ImageHeight,
                                             BufferedImage.TYPE_BYTE_INDEXED);
        graphics = bi.createGraphics();
        graphics.setColor(Color.white);
        graphics.fillRect(0, 0, bi.getWidth(), bi.getHeight());
        graphics.setColor(Color.red);
        createVerticalAxis();
        createHorizontalAxis();
        graphics.setColor(Color.green);
        plotPrices(prices);
        encoder.encode(bi);
        return "image/jpg";
    public final class GraphRenderer extends HttpServlet
         public void doGet(HttpServletRequest request,
                               HttpServletResponse response)
           throws IOException, ServletException
              HttpSession session = request.getSession(true);
                   response.setContentType("image/jpeg");
              ServletOutputStream sos= response.getOutputStream();
      //the original code
       /* try
           FileOutputStream f = new FileOutputStream("stockgraph.jpg");
           StockGraphProducer producer = new StockGraphProducer();
           producer.createImage(f);
           f.close();
        catch (Exception e)
          e.printStackTrace();
    //i want to try and use a servlet output stream so that the JPEG is sent to the webpage     i tried the following butim not sure about it. I got rid of the outputstream parameter from StockGraphProducer and left it empty and tried .
              try
                   StockGraphProducer producer = new StockGraphProducer();
                          producer.createImage();
                   //i dont think i need this part.      
                   /*Dimension size= producer.getPreferredSize();
                   BufferedImage image = new BufferedImage((int)size.getWidth(),                (int)size.getHeight(), BufferedImage.TYPE_INT_RGB);
                   Graphics g= image.createGraphics();
                   gp.paint(g);*/
                   // Send back image i dont think this is correct
                   JPEGImageEncoder encoder= JPEGCodec.createJPEGEncoder(sos);
                   JPEGEncodeParam param = encoder.getDefaultJPEGEncodeParam(image);
                   param.setQuality(1.0f, false);
                   encoder.setJPEGEncodeParam(param);
                   encoder.encode(image);
              catch(Exception ex)
              {

    Hi,
    I need to create a program where I get an Image from DB and then display it in Browser using servlets.
    I was looking at the StockGraphProducer, but it seems the code is not fully posted.
    I would greatly appreciate anyone who has this StockGraphProducer program would email me or post it.
    Thanks in advance.
    my email address is [email protected]
    Again Thanks

  • Open Jasper Report in new page using servlet

    Guys,
    Looks very simple but i am having problem making this process work. I am using 11.1.1.4
    This is my use case:
    - From a employee page, user clicks on a menu item to open report for current employee. I need to pass appropriate report parameters to servlet and open report into new page.
    I can successfully call servlet using commandmenuitem and set request parameters and call servlet from backing bean.... but that doesn't open report in a new page.... any way i can do this?
    Another option i tried was that using gomenuitem and setting target=blank but in that case i need to pass the parameter using servlet url which i like to avoid.(in case i need to pass many parameters in future) (also values will be set on page so i need to generate url when then click the menuitem...... so there are some hoops and loops i need to go through) I don't know a way to pass the request parameter using backing bean to servlet... i don't think it is possible.
    Those are the two approaches i tried.
    If you have any better approach...I would appreciate if you can let me know. (i have searched on internet for two days now.... for the solution)
    -R
    Edited by: polo on Dec 13, 2011 7:22 AM

    Hi,
    Hope following will useful
    http://sameh-nassar.blogspot.com/2009/10/using-jasper-reports-with-jdeveloper.html
    http://www.gebs.ro/blog/oracle/jasper-reports-in-adf/

  • Using servlet to generate XML file

    What I want to do is simple but can't work. Hope you guys can give me a hint.
    I succesfully generate XML file in command line using Oracle XML parser and class generator. Then I was trying to do it using servlet. it compiles fine but generate NullPointer exception at the line:
    Emp e1= new Emp(); //Emp is the root of XML
    I suspect the Emp constructor can't correctly find the globalDTD in its superclass -CGDocument. Please note this only happens in servlet setting, not is command line setting. Any suggestion to get arounf this?
    Another unrelated question is that when I create a XML file using the Oracle XML parser, it seems all the elements a file has to be added once, otherwise the compiler will compalain about the missing element. this will be inconvinient when I constructing a big XML file, which I 'd liek to split into small piece and add them up. Maybe there is a good way but I just don't know it.
    my email: [email protected]

    Hi,
    I'm running into the same problem deploying the classes generated by the class generator. Code works fine from JDeveloper, but had to put my DTD in the directory where my classes are. Deploying the classes with Apache's JServ gives me a NullPointer exception on the first addNode method. I guess it can't find the DTD. I tried to put the DTD in many locations but this didn't fix the problem. Any suggestions?
    Steve,
    Did you fix this problem? Thanx!
    null

  • How do i call the method in a class using servlet

    i am doing a project which need to use servlet to call a few methods in a class and display those method on the broswer. i tried to write the servlet myself but there are still some errors .. can anyone help:
    The servlet i wrote :
    package qm.minipas;
    import java.io.*;
    import java.util.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class test extends HttpServlet {
    Database database;
    /** Initializes the servlet.
    public void init(ServletConfig config) throws ServletException {
    super.init(config);
    database = FlatfileDatabase.getInstance();
    /** Destroys the servlet.
    public void destroy() {
    /** Processes requests for both HTTP <code>GET</code> and <code>POST</code> methods.
    * @param request servlet request
    * @param response servlet response
    protected void processRequest(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, java.io.IOException {
    response.setContentType("text/html");
    java.io.PrintWriter out = response.getWriter();
    out.println("<html>");
    out.println("<head>");
    out.println("<title>Servlet</title>");
    out.println("</head>");
    out.println("<body>");
    out.println("this is my class wossname"+FlatfileDatabase.getInstance()); // this is calling the toString() method in the instance of myJavaClass
    out.println("this is my method"+FlatfileDatabase.getAll());
    out.println("</body>");
    out.println("</html>");
    out.close();
    /** Handles the HTTP <code>GET</code> method.
    * @param request servlet request
    * @param response servlet response
    protected void doGet(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, java.io.IOException {
    processRequest(request, response);
    /** Handles the HTTP <code>POST</code> method.
    * @param request servlet request
    * @param response servlet response
    protected void doPost(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, java.io.IOException {
    processRequest(request, response);
    /** Returns a short description of the servlet.
    public String getServletInfo() {
    return "Short description";
    my methods which i need to call are shown below:
    public Collection getAll() {
    return Collections.unmodifiableCollection(patientRecords);
    public Collection getInpatients() {
    Collection selection=new ArrayList();
    synchronized(patientRecords) {
    for(Iterator i=patientRecords.iterator(); i.hasNext();) {
    PatientRecord next=(PatientRecord) i.next();
    if(next.isInpatient())
    selection.add(next);
    return Collections.unmodifiableCollection(selection);
    public Collection getByAdmissionDate(Date dateOfAdmission) {
    List selection=new ArrayList();
    for(Iterator i=patientRecords.iterator(); i.hasNext();) {
    PatientRecord next=(PatientRecord) i.next();
    if(dateOfAdmission.equals(next.getDateOfAdmission()))
    selection.add(next);
    return Collections.unmodifiableCollection(selection);
    public Collection getByAdmissionDates(Date from,Date to)
    throws IllegalArgumentException {
    if(to.before(from))
    throw new IllegalArgumentException("End date must not be before start date");
    List selection=new ArrayList();
    for(Iterator i=patientRecords.iterator(); i.hasNext();) {
    PatientRecord next=(PatientRecord) i.next();
    Date nextAD=next.getDateOfAdmission();
    if((nextAD.after(from)||nextAD.equals(from))
    &&(nextAD.before(to)||nextAD.equals(to)))
    selection.add(next);
    return Collections.unmodifiableCollection(selection);
    public Collection getByDischargeDates(Date from,Date to)
    throws IllegalArgumentException {
    if(to.before(from))
    throw new IllegalArgumentException("End date must not be before start date");
    List selection=new ArrayList();
    for(Iterator i=patientRecords.iterator(); i.hasNext();) {
    PatientRecord next=(PatientRecord) i.next();
    Date nextAD=next.getDateOfDischarge();
    if(nextAD==null)
    continue;
    if((nextAD.after(from)||nextAD.equals(from))
    &&(nextAD.before(to)||nextAD.equals(to)))
    selection.add(next);
    return Collections.unmodifiableCollection(selection);
    public Collection getByConsultant(String consultant) {
    List selection=new ArrayList();
    for(Iterator i=patientRecords.iterator(); i.hasNext();) {
    PatientRecord next=(PatientRecord) i.next();
    if(consultant.equalsIgnoreCase(next.getConsultant()))
    selection.add(next);
    return Collections.unmodifiableCollection(selection);
    public Collection getByDischargeDate(Date dateOfDischarge) {
    List selection=new ArrayList();
    for(Iterator i=patientRecords.iterator(); i.hasNext();) {
    PatientRecord next=(PatientRecord) i.next();
    if(dateOfDischarge.equals(next.getDateOfDischarge()))
    selection.add(next);
    return Collections.unmodifiableCollection(selection);
    public Collection getBySurname(String surname) {
    List selection=new ArrayList();
    for(Iterator i=patientRecords.iterator(); i.hasNext();) {
    PatientRecord next=(PatientRecord) i.next();
    if(surname.equalsIgnoreCase(next.getSurname()))
    selection.add(next);
    return Collections.unmodifiableCollection(selection);
    public Collection getByWard(String ward) {
    List selection=new ArrayList();
    for(Iterator i=patientRecords.iterator(); i.hasNext();) {
    PatientRecord next=(PatientRecord) i.next();
    if(ward.equalsIgnoreCase(next.getWard()))
    selection.add(next);
    return Collections.unmodifiableCollection(selection);

    please provide a detail description of your errors.

  • How to invoke a jsp page from java which does not use Servlets?

    Hello,
    I am working in Documentum. I am trying to invoke a jsp page from another java page which does not use Servlets.
    I tried doing this by just instantiating the java class related to the jsp page from my present java class.In my java class related to the jsp page, I have defined onInit() and onRender() methods.
    Now, I am trying to call the jsp page from my present java class by just instantiating the java class related to the jsp page. This throws a java.lang.NullPointerException.
    Any comments or suggestions on this.Any help would be appreciated.
    Thanks,
    Ranjith M.V

    RanjithM.V wrote:
    Hello,
    Thanks for the reply. One important thing I forgot to mention. I am also using xml component.And?
    As this is the standard way used for coding in Documentum, I do not want to use Beans.Well, JSP's should, in and of themselves, contain no functional code. It should all be only display.
    Without that is it not possible?What did I say? I said,
    masijade wrote:
    It is possible, but I very, very, very, much doubt, that it would be worth the effort.And, if you don't know how, a forum is not truely going to be able to help you implement it (at least not in less than a few years time, at which point it would be outdated).
    >
    Appreciate your understanding and help.
    Thanks,
    Ranjith M.V

  • Uploading a file to server using servlet (Without using Jakarta Commons)

    Hi,
    I was trying to upload a file to server using servlet, but i need to do that without the help of anyother API packages like Jakarta Commons Upload. If any class for retrieval is necessary, how can i write my own code to upload from client machine?.
    From
    Velu

    <p>Why put such a restriction on the solution? Whats wrong about using that library?
    The uploading bit is easy - you put a <input type="file"> component on the form, and set it to be method="post" and enctype="multipart/form-data"
    Reading the input stream at the other end - thats harder - which is why they wrote a library for it. </p>
    why i gave the restriction is that, i have a question that <code>'can't we implement the same upload'</code>
    I was with the view that the same can be implemented by our own code right?

  • Displaying results from a database query using servlets

    I have this HTML form where users can search a MS Access database by entering a combination of EmployeeID, First name or last name. This form invokes a Java Servlet which searches the database and displays the results as an HTML page. I am giving the user the choice of displaying 3, 5 or 10 results per page. I want to know how to do that using servlets. If a particular search results in 20 results, the results should be displayed in sets of 3, 5 or 10 depending on the user's choice. If the user makes a choice of 5 results per page then 4 pages should be displayed with a "next" and "previous" button on each page. I want to know how this can be done.

    Arun,
    I'm not sure how to do this using JSP as I have not worked on JSP.
    But I can give you a hint on how to do this within normal java class as I've used this in my current project.
    In your core class/bean that generates the entire resultset, you need to run a loop that will scan through the desired number of records in the resultset.
    To do this, you have to have skip and max parameter in your URL.
    Somthing like http://server.com/myservlet?skip=0&max=10 to display first 10 records, http://server.com/myservlet?skip=10&max=10 to display next 10 records. The <next>parameter would be fed in by the user by a simple form in your web-page. If you need to hold this <max-num-of-recs-per-page> param, you can store it in a cookie (since this is nothing crucial piece of info, don't need to use session obj etc...cookie will do) and get the value each time you display the resultset.
    So, essentially, suppose you are at the first page and you wish to show 10 recs at a time. The link for "Next" button would be http://server.com/myservlet?skip=10&max=10
    when at the second page, you'll have
    "priv" button as http://server.com/myservlet?skip=0&max=10 and
    "next" button as http://server.com/myservlet?skip=20&max=10 and so on...
    hope this makes sense..
    Shantanu

  • Cache file(pdf) in user's browser using Servlet -Cookie, or Session

    How can I save a file (pdf) in the cache of a browser (IE 6) in a user's computer? I am using Servlet and Tomcat 4.1.24. PDF file is sitting in server (remote computer) under a URL space.
    The idea is to NOT to download the pdf file on user's computer (from the remote server) if the user has a cached copy of the pdf file and pdf file in the server is the same as the pdf file in the browser. If cached pdf is different from pdf in browser, or, if the user does not have that pdf file in cache, then download pdf file from the server.
    Can I come up with a way to use Cookie class? Cookie class does not have an API which will let me save a file in it. I could have saved the pdf file in the Cookie with 999999999 setMaxAge. Is storing that pdf file in session the only choice? I do not see session serving my purpose - session should not be valid for a longgg duration e.g. week or month.
    Also, how would I create a file whne I am given a URL to that file.
    URL fileInServer = new URL("http://www.myDomain.com/myWebApp/PDF/my.pdf);
    URLConnection conn = fileInServer.openConnection();
    Does getContent() help and what are the steps after that?
    Any help with the source code will be appreciated.
    Thanks,
    Sam
    [email protected]

    I am NOT creating this PDF file on the fly. This pdf file is sitting in the server (remote machine) under URL e.g. http://10.10.10.xxx:8081/myApp/PDF/my.pdf
    I need to check if this pdf file is in the cache in user's computer (differnt machine than the server) and if the cached pdf is the same as the pdf in the server. If that file is not in the cache, or if they are not the same, then, I need to save the pdf file from the server into user's browser cache.
    I am writing all that code in Servlet. I can save the file in session. I do NOT know how else can I cache the file, other than saving it in session. I can not think of any setHeader() which will let me save a file in user's browser cache. Headers like If-Modified-Since are of no help, as it does not let me compare file in browser cache with the file in server.
    Also, how would I create a file, given a URL to that file.
    URL fileInServer = new URL("http://www.myDomain.com/myWebApp/PDF/my.pdf");
    URLConnection conn = fileInServer.openConnection();
    Do I use getContent()? What are the steps after that?
    Thanks,
    Sam
    [email protected]

  • Accessing postgresql record using servlet

    Hello every body,
    I am trying to access the postgresql database using servlet. But I found the error of ClassNotFound exception: org.postgresql.Driver. One thing more I am using eclipse ide. I have used the postgresql-8.1-404.jdbc3 driver. And I have set it on class path in eclipse.
    package dbservlet.example;
    import java.io.*;
    import java.sql.*;
    import java.text.*;
    import java.util.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class DbServletExample1 extends HttpServlet{
         public String getServletInfo() {
              return "Servlet connects to PostgreSQL database and displays result of a SELECT";
         private Connection dbcon; // Connection for scope of DbServletExample1
         public void init(ServletConfig config) throws ServletException { // "init" sets up a database connection
              String loginUser = "ali";
              String loginPasswd = "ali";
              String loginUrl = "jdbc:postgresql://127.0.0.1:5432/ali"; // Load the PostgreSQL driver
              try{
                   Class.forName("org.postgresql.Driver");
                   dbcon = DriverManager.getConnection(loginUrl, loginUser, loginPasswd);
              catch (ClassNotFoundException ex){
                   System.err.println("ClassNotFoundException: " + ex.getMessage());
                   throw new ServletException("Class not found Error");
              catch (SQLException ex){
                   System.err.println("SQLException: " + ex.getMessage());
         // Use http GET
         public void doGet(HttpServletRequest request, HttpServletResponse response)
                             throws IOException, ServletException {
              response.setContentType("text/html"); // Response mime type
              PrintWriter out = response.getWriter(); // Output stream to STDOUT
         out.println("<HTML><Head><Title>Db Servelt Example</Title></Head>");
         out.println("<Body><H1>Example of Servlet with Postgres SQL</H1>");
         try {                // Declare our statement               
              Statement statement = dbcon.createStatement();
              String query = "SELECT empid, name, dept, "; // Perform the query
              query += " jobtitle ";
              query += "FROM employee ";
              ResultSet rs = statement.executeQuery(query);
              out.println("<table border>");
              while (rs.next()) {      // Iterate through each row of rs
                   String m_id = rs.getString("empid");
                   String m_name = rs.getString("name");
                   String m_dept = rs.getString("dept");
                   String m_jobtitle = rs.getString("jobtitle");
                   out.println("<tr>" +
                                       "<td>" + m_id + "</td>" +
                                       "<td>" + m_name + "</td>" +
                                       "<td>" + m_dept +"</td>" +
                                       "<td>" + m_jobtitle + "</td>" +
                                  "</tr>");
              out.println("</table></body></html>");
              statement.close();
         catch(Exception ex){
              out.println("<HTML>" +
                             "<Head><Title>" +
                             "Bedrock: Error" +
                             "</Title></Head>\n<Body>" +
                             "<P>SQL error in doGet: " +
                             ex.getMessage() + "</P></Body></HTML>");
              return;
         out.close();
    and web.xml file is
    <web-app>
              <database>
                   <driver>
                   <type>org.postgresql.Driver</type>
              <url>jdbc:postgresql://127.0.0.1:5432/ali</url>
              <user>ali</user>
              <password>ali</password>
                   </driver>
              </database>
              <servlet>
              <servlet-name>DbServletExample1</servlet-name>
              <servlet-class>dbservlet.example.DbServletExample1</servlet-class>
              </servlet>
              <servlet-mapping>
              <servlet-name>DbServletExample1</servlet-name>
              <url-pattern>/db11</url-pattern>
              </servlet-mapping>
    </web-app>
    Thanks in advance

    That web.xml doesn't look right to me.
    what's that <database> tag? I would only expect to see a <resource-ref> in the web.xml.
    I would not touch the server.xml. Create a context.xml and put it in your META-INF directory. That should look like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <Context path="/your-path" reloadable="true" crossContext="true">
        <Resource name="jdbc/your-jndi"
                  auth="Container"
                  type="javax.sql.DataSource"
                  username="your-username"
                  password="your-password"
                  driverClassName="your-driver-class"
                  url="your-url"
                  maxActive="10"
                  maxWait="60000"
                  removeAbandoned="true"
                  removeAbandonedTimeout="60000"/>
    </Context>%

  • How to fetch data from DataBase using Servlet ?

    Hi all,
    Till now, i was just sending values from web page and receive the data in excel format using servlets.
    But, now, i want to fetch data from data base. I will be giving inputs in the web page(for the query)....ON click of submit button,
    Servlet should be called.
    Depending on the input, query has to be executed, and response should be sent to the user.
    How to do it?
    Code
    import java.text.*;
    import java.sql.*;
    import java.util.*;
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.OutputStream;
    /** Simple servlet that reads three parameters from the html
    form
    public class Fetchdata extends HttpServlet
              String query=new String();
              String uid="ashvini";
              String pwd="******";
              try
                   Connection con=null;
                   Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");     
                   String url = "jdbc:odbc:Testing";     
                   con = DriverManager.getConnection(url, uid, pwd);
                   Statement s = con.createStatement();
                   query = "select * from gowri.msllst1";
                   ResultSet rs = s.executeQuery(query);
              public void doGet(HttpServletRequest request,HttpServletResponse response)
              throws ServletException, IOException
                        response.setContentType("application/vnd.ms-excel");
                        ServletOutputStream out=response.getOutputStream();
                        out.println("<HTML>" +"<BODY BGCOLOR=\"#FDF5E6\">\n" +
                        "<H1 ALIGN=CENTER>" + title + "</H1>\n" +
                        "<table>" +" <th>ITEM Code</th>");
                        while(rs.next())
                        out.println("<tr><td>" rs.getString(1).trim()"</tr></td>");
                        }//end of while
                        out.println("</table></BODY></HTML>");
                   }//end of doGet method
         }catch(Exception e)
                        System.out.println(e);
    It is giving error message as:
    C:\Program Files\Apache Tomcat 4.0\webapps\general\srvlt>javac Fetchdata.java
    Fetchdata.java:17: illegal start of type
    try
    ^
    Fetchdata.java:48: <identifier> expected
    ^
    2 errors
    Is this format is correct? am i placing this doGet method at the right place? is my program's logic is correct?
    Please help me?
    Regards
    AShvini

    There is some mistakes in ur code.....how can try catch exists outside a function???
    make use of try catch isde ur doGet method and put
    Connection con=null;
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    String url = "jdbc:odbc:Testing";
    con = DriverManager.getConnection(url, uid, pwd);
    Statement s = con.createStatement();
    query = "select * from gowri.msllst1";
    ResultSet rs = s.executeQuery(query);
    isdie doGet method, for the time being,
    i think u get me..
    regards
    shanu

  • Sort function in web report using servlet

    Dear all
    Please help me this out. I'm doing an online report using servlet. When the report is displayed as a table on the web, is there a way to have a sort function-when you click on the tabs, it will sort the data accordingly.
    If I didn't state my question clearly, please let me know.
    Thank you all for your kind help!
    Grace

    You could probably do that using Javascript, but it's beyond my competence to even suggest how. Alternatively you could make the tabs behave as buttons that send a "sort me" request to the server, which would send out new, resorted, HTML.

  • How can I use Servlets on Sun Java System WebServer 6.1

    Hi
    This is Khurram,
    I have just downloaded, and installed "Sun One Java System Web Server 6.1" on WindowsXP. This is installed and working properly on my system. But I want to use Servlet technology on this server, even I did download it just for working on servlets. Before it, I was using typical JavaWebServer2.0 for this purpose.
    Any ways.
    Can any one tell me, how can I do this on "Java System Web Server 6.1".
    Thanks
    any help will be appriciated
    regards
    Khurram

    Thanks for your such action.
    Actually I have installed it since 2 days, and have read throughly the documentation of WebServer, But Only the Link for this purpose is provided "Programmer's Guide to Web Applications", Now I have just searched for it and found only "Programmer's Guide" .PDF format. I have just read it out now, But here also provided a small refference to see "Programmer's Guide to Web Applications". Now I have just the problem that where to find it.
    Please, tell me if you have some solution to my problem
    or atleast tell me where to find the refference "Programmer's Guide to Web Applications". I tried but only found "Programmer's Guide" for Sun Web Server 6.1.
    Thanks any way to give some time.
    Khurram

  • How to get XML value using servlet?

    how to get values from a XML file using servlet ? Thank you.
    for example: how can I get the location value (aaa) from this XML file?
    abc.xml:
    <business>
    <location>aaa</location>
    </business>

    Try to use XML Parsers to do the job.
    Use DOM or SAX Parsers that are freely available.
    Some of the popular ones are xerces, DOM, SAX.

Maybe you are looking for

  • Application Item Not Working as Bind Variable in Region Source

    I've created an application variable - APP_AC_CODE - a value for which - PA1 - I set as part of the column link on page A that branches to page B. I use APP_AC_CODE as part of a region title on page B - &APP_AC_CODE. Parameters - which evaluates succ

  • Uploading of Vendor Cleared items from Legacy

    Hi We have a requirement for uploading of vendor/Customer Cleared Items I would like to know if vendor/Customer Cleared Items can be uploaded from the legacy to SAP. I have tried my level best and ended up with no ways. Can any one suggest if there i

  • How to handle screen resolution in ME21 fro a bdc programme

    I need to use BDC program for ME21 for that how to handle the screen resolution, i know CTU_PARAMS structure is there ,but how to use them, please send the model code. Thanks & Regards krishna

  • Nokia 5800 Expressmusic New Message Display proble...

    Hi All, I don't get any alert when I recieve SMS: no ring and no display. I do get the messege in the messege folder, but I need to check all the time manualy if I recieved any messeges. Kindly Help Thanks, Nans Solved! Go to Solution.

  • Opening of Excel files in SAP

    Hi I have a custom program which displays data in an ALV (Non OO) format. There is this excel button that the user can click to display the spreadsheet in the same SAP screen. However, some users are reporting an empty spreadsheet when they clicked o