User Profile

Collapse

Profile Sidebar

Collapse
JagPeram
JagPeram
Last Activity: Nov 3 '08, 07:14 AM
Joined: Jan 24 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • JagPeram
    started a topic Log4j file location problem
    in Java

    Log4j file location problem

    How to change the location of the log file in log4j.propertie s dynamically?
    See more | Go to post

  • Thank You.

    I removed the onreadystatecha nge() method and directly used req.status. it worked well. Thanks for the reply. It really helped me in right time.
    See more | Go to post

    Leave a comment:


  • problem in using ajax in firefox when asynchronous is false

    Hi,

    I have a problem in running ajax in firefox.
    when i give asynchronous as false, the ajax code is not working. but the same code works fine in internet explorer

    here is my code:

    [CODE=javascript]var url = "<%=request.get ContextPath%>/AjaxTest.do";
    var req = initRequest();
    req.onreadystat echange = function()
    {
    if(req.readySta te==4)
    {
    ...
    See more | Go to post
    Last edited by gits; Jul 24 '07, 10:37 AM. Reason: added CODE tags

  • JagPeram
    started a topic File Upload Using Ajax

    File Upload Using Ajax

    Can Anyone tell me how to upload file using ajax with struts framework?
    See more | Go to post

  • Problem While returning a xml object from a jsp using java code

    Is it possible to return a xml object from a jsp using java code?

    here is my code:

    <html>
    <head><title>Pa ge Title</title></head>
    <body>
    <table width="100%">
    <tr>
    <td>

    <!-- here is where i return a xml object -->
    <%
    String testOne = request.getPara meter("HeyYou") ;
    response.setCon tentType("appli cation/xml");...
    See more | Go to post

  • JagPeram
    started a topic Problem in returning a xml object
    in XML

    Problem in returning a xml object

    Is it possible to return a xml object from a jsp using java code?

    here is my code:

    <html>
    <head><title>Pa ge Title</title></head>
    <body>
    <table width="100%">
    <tr>
    <td>

    <!-- here is where i return a xml object -->
    <%
    String testOne = request.getPara meter("HeyYou") ;...
    See more | Go to post

  • JagPeram
    replied to Problem in Using Ajax within JSP
    Dear Moderator,

    Thanx again for replying.

    Now i have figured that the problem is in returing a xml object from another jsp file instead of java file. And there is no problem with implementing ajax, coz i'm getting a response object. but it is null.

    As per ur suggestion,I 'll post my question in jsp or java group.

    - Jagadesh
    See more | Go to post

    Leave a comment:


  • JagPeram
    replied to Problem in Using Ajax within JSP
    Dear moderator,
    thanx for the reply.
    Actually i have worked with ajax. In the jsp, i 'll be writing the script that forms the xmlhttprequest object, and i 'll call a url wich corressponds to java code, where i 'll do my server side activities and then return it to jsp as a xml object. and in the jsp again i 'll parse the responseXML and i'll put it in the form.

    But for the application, which i'm trying now is to
    ...
    See more | Go to post

    Leave a comment:


  • JagPeram
    started a topic Problem in Using Ajax within JSP

    Problem in Using Ajax within JSP

    Is it Possible To return a xml object from a jsp file?
    i tried. but i get an error. i have pasted the code & error below.

    Code :
    <body>
    <table width="100%">
    <tr>
    <td>
    <%
    String testOne = request.getPara meter("HeyYou") ;
    response.setCon tentType("appli cation/xml");
    response.setHea der("Cache-Control",...
    See more | Go to post

  • JagPeram
    replied to displaying odds only
    in Java
    try this friend,

    public class oddNumberDispla y
    {
    public static void main(String[] args)
    {
    int num = 10; /* enter the number here */
    for(int i=1;i<=num;i++)
    {
    if((i%2)!=0)
    {
    System.out.prin tln(i);
    }
    }
    }
    }
    See more | Go to post

    Leave a comment:


  • JagPeram
    started a topic how to register driver class
    in Java

    how to register driver class

    how to register a driver class?

    i need to connect to oracle db using java,
    here is my code,
    Connection con = null;
    String url = "jdbc:oracle:th in:@localhost:1 521:";
    String db = "dbname";
    String driver = "oracle.jdbc.dr iver.OracleDriv er";
    String user = "oracle";
    String pass = "oracle";
    ...
    See more | Go to post

  • JagPeram
    started a topic Migrate Data from ms excel to db using Java codes
    in Java

    Migrate Data from ms excel to db using Java codes

    I need to migrate data from a ms excel sheet to db. what has to be done? this entirely new application for me. help me with this.
    See more | Go to post

  • JagPeram
    started a topic Data Migration From Excel to PostgreSQL

    Data Migration From Excel to PostgreSQL

    i need to migrate data from a excel to db using java codes. if there is any site where i can find a solution for this?
    See more | Go to post
No activity results to display
Show More
Working...