User Profile

Collapse

Profile Sidebar

Collapse
abhishek92
abhishek92
Last Activity: Jul 19 '07, 06:25 AM
Joined: Jul 2 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • abhishek92
    replied to how to write a file to a different pc
    in Java
    my code is here:::----

    Code:
    <%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %>  
    <%@ page import="java.util.List"%>  
    <%@ page import="java.util.Iterator"%>  
    <%@ page import="java.io.File"%>
    <%@ page import="org.apache.commons.fileupload.*"%>
    ...
    See more | Go to post

    Leave a comment:


  • abhishek92
    started a topic how to write a file to a different pc
    in Java

    how to write a file to a different pc

    I am doing a file upload program...
    here I have my program running on tomcat server ..
    when the file is to be uploaded I create a FILE object pointing to a folder on that server and upload it .. this works fine..

    BUT now i have to store that file on some other server..

    I have ip of that server ...

    HOw can i write to another server....

    the other part of problem is that my...
    See more | Go to post

  • abhishek92
    started a topic how to make JSP page interactive....
    in Java

    how to make JSP page interactive....

    I have written a code for file upload...
    Now here is a problem...
    Before file is uploaded it checks whether the file with that name already exists..
    If it is so then it should ask the user whether to overwrite it or not..
    how can this be done in JSP..
    Simple is there any way I can ask him for a yes or no and then on the basis of this answer I can go ahead with the processing ....
    See more | Go to post

  • abhishek92
    started a topic how can a normal user behave as root

    how can a normal user behave as root

    I want to know is there any way by which a normal user can temporarily behave as root user..
    This privilege should not be given by root...
    I was asked this question in an interview.. I could not find out
    See more | Go to post

  • abhishek92
    started a topic how to uplaod a file
    in Java

    how to uplaod a file

    can anybody tell me the way in which to upload a file..
    I don't the have any idea as to how this is done..

    I want to do it in JSP..
    in my project I want to add a functionality that the user can upload some file for future reference..
    also guide me where these files will be stored...
    See more | Go to post

  • To access textbox added to div tag using innerHTML

    I have created a dynamic HTML page using div tag in which when a drop down is selected that number of text boxes appear.
    This I did by calling a function disp() wherein a new div tag is created, and then the number of text boxes I made, I put them in innerHTML code of the newly created tag and then I appended this div tag to the main div tag of HTML page..

    Now the problem is that when the user clicks on submit a validate()...
    See more | Go to post

  • thanks
    and my code is now working fine...
    instead of adding textboxes I used different strategy..

    I created div tag.. added needed number of textboxes to that tag and then add that tag to the main tag..

    next time I just removed the old div tag and then created new div tag and add it..

    Thanks again...
    See more | Go to post

    Leave a comment:


  • thanks ....
    the method is working but there is a problem...
    For first change in selected value this works fine...
    And the text boxes gets displayed..

    but when I again change the value in the <select> tag new textboxes get appended to earlier made textboxes...


    For this firstly I have to delete earlier added elements , but how?
    Please guide me further.....
    See more | Go to post

    Leave a comment:


  • add textbox to already created page using javascript

    I have made a page. I need a provision that when a person selects the number of items from dropdown box ... that number of textboxes should be displayed so that he can enter description about all items...

    I think this can either be done by -
    1. displaying that number of boxes on the same page..
    or
    2. By popping a window with selected number of text boxes..

    I want...
    See more | Go to post
No activity results to display
Show More
Working...