User Profile

Collapse

Profile Sidebar

Collapse
devikacs
devikacs
Last Activity: Jan 7 '09, 08:13 PM
Joined: Jun 19 '07
Location: India
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • devikacs
    started a topic Export a list to xml, excel
    in Java

    Export a list to xml, excel

    I have a ArrayList containing some data. I want to export this data to excel, csv and xml format.
    I am using a web application using jsp and java.
    How can I do the export?
    See more | Go to post

  • devikacs
    replied to input from a text box
    I tried doing this, but it did not work..
    <td><input type='text' name=<%="text["+i+"]"%> disabled ></td>

    which is why i changed it to
    <td><input type='text' name=<%="text"+ i%> disabled ></td>...
    See more | Go to post

    Leave a comment:


  • devikacs
    replied to input from a text box
    Ya. I need some textboxes.. the number of textboxes is dynamic. So right now, i have put them in a loop and called them text1,text2,etc

    SO jsp puts the values in sepearate strings, text1,text2,etc .. Would it be possible to change this to an array or list.....
    See more | Go to post

    Leave a comment:


  • devikacs
    started a topic input from a text box

    input from a text box

    I am trying to input a set of text values to a form.i am using jsp. I would like to store them in say a list or array. is it possible to do that?
    See more | Go to post

  • devikacs
    started a topic escaping strings
    in DB2

    escaping strings

    My query mails because some of my data [varchar fields] contains characters like / , '
    Can i do something about it?
    See more | Go to post

  • devikacs
    replied to Variable as column or table name
    in DB2
    Thanks a lot. .............
    See more | Go to post

    Leave a comment:


  • devikacs
    started a topic Variable as column or table name
    in DB2

    Variable as column or table name

    Can I use a variable as the column name or table name in a stored procedure. I want to use it for update and insert statements
    See more | Go to post

  • devikacs
    replied to overhead in creating a new table
    in DB2
    Thanks a lot for the information
    See more | Go to post

    Leave a comment:


  • devikacs
    started a topic overhead in creating a new table
    in DB2

    overhead in creating a new table

    I wanted to know the overhead in creating a new table. What i mean is, is it better to have more tables or redundant columns in a single table.
    See more | Go to post

  • devikacs
    replied to query select as input to next query
    in PHP
    <code=php>

    $query="select * from search";
    $result=mysql_q uery($query);
    $num=mysql_numr ows($result);
    echo $num;
    $i=0;
    while ($i < $num)
    {
    $name=mysql_res ult($result,$i, "name");
    $rollno=mysql_r esult($result,$ i,"rollno");
    echo"<p><b>$rol lno $name</b></p>";
    $i++;
    }

    $year=3;...
    See more | Go to post

    Leave a comment:


  • devikacs
    started a topic query select as input to next query
    in PHP

    query select as input to next query

    I wanted to use the select of a mysql query as the input to the next mysql query.
    The output of the first query is stored in $result.
    Can I do select * from $result.
    If not is there any other way.
    See more | Go to post

  • devikacs
    started a topic configuring phpMyAdmin
    in PHP

    configuring phpMyAdmin

    i get this error when i try to access domain/phpMyAdmin

    Forbidden

    You don't have permission to access /phpMyAdmin on this server.
    Apache/2.2.0 (Fedora) Server at 172.16.32.14 Port 80

    does anyone know why? pls help
    See more | Go to post

  • devikacs
    started a topic mysql setup

    mysql setup

    i am trying to set up a mysql server on my system.
    i yum installed mysql and mysql-server
    i also ran mysql_install_d b
    but when i try mysqladmin -u root password 'xxxx', i get error
    /usr/bin/mysqladmin: connect to server at 'localhost' failed
    error: 'Access denied for user 'root'@'localho st' (using password: NO)'
    can someone pls help me
    See more | Go to post

  • devikacs
    started a topic deleted f: drive

    deleted f: drive

    the f drive of my computer was accidently deleted.
    is there any way to recover it.
    i tried active recovery and it allowed me to create a .DIM image. but i dont know how to read those images. pls help
    See more | Go to post

  • devikacs
    started a topic view code
    in PHP

    view code

    how can i view the php code of a web page. i'm able to see only the html from the browser
    See more | Go to post

  • devikacs
    replied to CD/DVD writers in Linux
    Why dont u use a program like k3b to burn?...
    See more | Go to post

    Leave a comment:


  • devikacs
    replied to SQL Server problems
    Are you sure you have write permissions to the database? check in users...
    See more | Go to post

    Leave a comment:


  • devikacs
    replied to fin.open function
    in C
    There is no such function as fin.opn
    I suppose you mean that fin is a ifstream[or ofstream] object.

    Files in c++ are treated as streams. ifstream is input stream and ofstream is for output. These objects are used while reading or writing to a file. the are under the fstream header and i suggest you look that up too.

    open is a function used to open a file.
    The syntax is like this
    void open ( const...
    See more | Go to post

    Leave a comment:


  • devikacs
    replied to char* and char
    in C
    Well. c++ does use char* v

    Looks like you haven't learnt about pointers. i suggest you read about them.
    When you declare a character as char v, you declare a variable v which hold a single character in it.
    For eg- char v='c';

    char *v is how you declare a pointer to a character. here *v will contain the memory location[and not the value of the character]. This memory location will contain a single character....
    See more | Go to post

    Leave a comment:


  • devikacs
    replied to Variable check
    in C
    Hi
    to check if the input is an integer, you could either check if the character entered is between '0' and '9' or check using isdigit function.
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...