User Profile

Collapse

Profile Sidebar

Collapse
sid0404
sid0404
Last Activity: Nov 7 '08, 10:29 PM
Joined: Jul 7 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • sid0404
    started a topic Send data from doPost() in servlet to AJAX
    in Java

    Send data from doPost() in servlet to AJAX

    Hi

    I need to send data from my servlet to my html(which contains AJAX), so as per the motivation of the AJAX, this should be done without my webpage reloading / refresh.

    my code on the ajax side is something like this:

    Code:
    var xmlHttp = false;
    
    function getXMLHttpRequest(val) {
        try{
        	xmlHttp = new XMLHttpRequest();
        }catch(err1){
            try{
    ...
    See more | Go to post

  • sid0404
    started a topic Accessing ArrayList of an ArrayList
    in Java

    Accessing ArrayList of an ArrayList

    Hi

    How do I print elements of an ArrayList of an ArrayList, I think it has to be something similar to a 2 D array, but with a difference, my child arraylist has different number of elements say I have 3 child lists and they have 2, 5, 4 elements when I add them to the parent arrayList, but the number of elements in each child list can vary from time to time, can any one suggest a modular approach towards it ?

    Clarification...
    See more | Go to post

  • My code looks like this:

    Code:
    
    
    import java.io.IOException;
    import java.util.*;
    import javax.servlet.*;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.http.HttpSession;
    
    /**
     * Servlet implementation class Controller
     */
    public
    ...
    See more | Go to post

    Leave a comment:


  • The server encountered an internal error () that prevented it from fulfilling this re

    Hi

    I am working with the Tomcat 5.5 on Eclipse, and is getting the error when my servlet calls the jsp using request dispatcher, the error is:

    HTTP status 500

    The server encountered an internal error () that prevented it from fulfilling this request.

    and the log of the exception is:

    Oct 27, 2008 9:41:15 AM org.apache.cata lina.core.Stand ardWrapperValve invoke
    SEVERE:...
    See more | Go to post

  • sid0404
    replied to Break tag in XML
    in XML
    Using CSS or through XSLT, it can be done.

    Thanks

    -Sid
    See more | Go to post

    Leave a comment:


  • sid0404
    replied to Tables in XML ?
    in XML
    Its done via XSLT in XML.

    Just got the solutions.

    -Sid
    See more | Go to post

    Leave a comment:


  • sid0404
    started a topic Tables in XML ?
    in XML

    Tables in XML ?

    Hi

    Could any one give example of how to create table s in XML ?

    Clarification appreciated.
    See more | Go to post

  • sid0404
    started a topic Break tag in XML
    in XML

    Break tag in XML

    Hi

    I am new to the XML , How do I use the conventional break tag in XML ?
    See more | Go to post

  • sid0404
    replied to System.Net.WebException
    in .NET
    I am talking about the line 120 in bold
    See more | Go to post

    Leave a comment:


  • sid0404
    started a topic System.Net.WebException
    in .NET

    System.Net.WebException

    Hi

    I am new to the programming in c#, I have an application where I need to get data from a website now I am getting an error message if I give the input as two strings, say Sun Microsystems while f I just give one input then I have the following error message:

    An unhandled exception of type 'System.Net.Web Exception' occurred in System.dll

    Additional information: The server committed a protocol violation....
    See more | Go to post
    Last edited by Curtis Rutland; Aug 1 '08, 12:59 PM. Reason: Added code tags -- Please use the # button

  • how to increase the response time of an application in c# ?

    Hi

    I have created a web application which retrieves the data from the webstie, but since the data is too much to grab so occasionally i get the response time out exception as the reason for the system.net.webe xception, could nay one tell me how to resolve this ?

    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------...
    See more | Go to post

  • Thanks !! Just got the output in .csv...
    See more | Go to post

    Leave a comment:


  • sid0404
    started a topic How to create a CSV file from the arrays in c#
    in .NET

    How to create a CSV file from the arrays in c#

    Hi

    I have a 2 dimensional array returned as my final output of the web application, now I need to create a .CSV file ? Could any one give me some idea on this ?

    Thanks.
    See more | Go to post

  • This is what my code look so far, I have issued all the values to the hidden parameters as well, but i think for some reason it is not able to get the response from the server , as i still get the system.net.webe xception, the code is

    ----------------------------------------------------------------------------
    Code:
        using System;
        using System.Collections.Generic;
        using System.ComponentModel;
    ...
    See more | Go to post
    Last edited by Curtis Rutland; Jul 7 '08, 08:41 PM. Reason: Added Code Tags - Please use the # button

    Leave a comment:


  • I changed my method to the POST and now I am getting the output as the source code of the http://patft.uspto.gov/netahtml/PTO/search-bool.html while I need the output as the HTML code of the web page which is generate when you click on the submit button of the "http://patft.uspto.gov/netahtml/PTO/search-bool.html" web page and not the form itself as this web page does not have any POST method so the code runs fine and gives the output as...
    See more | Go to post

    Leave a comment:


  • sid0404
    started a topic How to send data to GET method in HTML using c#
    in .NET

    How to send data to GET method in HTML using c#

    Hi

    I am new to the visualstudio.ne t

    I am trying to develop an application which requires me to send data to a HTML webpage - http://patft.uspto.gov/netahtml/PTO/search-bool.html

    and the user sendsd the data to the webpage and receives the response to that particular values from the webpage.

    I am trying to use httpwebrequest for this purpose, but I am receiving errors, kindly let me know...
    See more | Go to post
No activity results to display
Show More
Working...