Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. kavi98

    java servlets!! please Help

    Hi , How do i run a servlet on a unix server,the import that do to the servel are suppose to have my company path like com.company.java etc. Please help as i am totally new to this. Thanks
  2. kavi98

    creating a file

    When i try to create a file and write it to the path given it generates an error and the file is not created ,is it the directory rights or the way i am doing it the reason for its failure ,as i have checked the rights on the directory and there is a write access on it. $filename =...
  3. kavi98

    Jsp environment

    Hi I am a totally new at the jsp stuff,I am using a unix envronment for writting the .jsp application ,Please can you tell me how i can go about this environment . I have tomcat installed on my desktop ,do i need to put in the server address in it or it just needs to know where my java files...
  4. kavi98

    cwd

    i get 0 as the value of $ENV{'DOCUMENT_ROOT'} but i still can't seem to transfer the file. Thanks For all the help kavi98
  5. kavi98

    cwd

    I still can't get the script to run ,i have assign the chdir to another variable is that the reason it breaks i tried debug and it shows no error on it. $newFile = chdir $ENV{'DOCUMENT_ROOT'} . "/home/kavi98/textDir/"; Thanks Kavi98
  6. kavi98

    cwd

    can you give me an example of $ENV as i have never used it Thanks
  7. kavi98

    cwd

    I am running my script in the cgi-bin but i am storing files generated in the script three directory structure up to the location of the script i am giving absolute paths ,but when i run the script it generates an error. I am using Cwd and then chdir to change to directory i want to store the...
  8. kavi98

    need to put data of a file in an element

    it is a xml file which needs to be inserted in the element of a table. thanks
  9. kavi98

    the symbol for a round bullet

    I think this is a very silly question ,but do you know the symbol for round solid bullet .
  10. kavi98

    need to put data of a file in an element

    Hi , I need to put in the contents of a file in an element, How can i do it ,as i have tried to create a .sql file with a update in it ,but it gives an error. the contents of the file are large. Thanks for the help.
  11. kavi98

    need to pass on a file from a form to cgi script to perl program

    The code that works I want to thank you all for helping me make it work. #!/opt/ZDperl/bin/perl -w use CGI; $query = new CGI|| die("$!"); print $query->header; print $query->start_html(-title=>"UPLOAD THIS"); $fileID = $query->param('UPLOAD'); @pathName =...
  12. kavi98

    need to pass on a file from a form to cgi script to perl program

    goboating , I have tried to check for synatax mistakes i might have made ,but this error keeps comming. used only once: possible typo at (eval 18) line 5. Can't use an undefined value as a HASH reference at /zd/home/karora/cgi-bin/try2.cgi line 23. @pathName = split(/\\/,$fileID); it just keeps...
  13. kavi98

    need to pass on a file from a form to cgi script to perl program

    go boating , I have a question for you the snippet you have pasted above, I am using it in the script and it keeps giving me an error of unintialised variable. how do you set a variable to null or 0 before you use it. Thanks
  14. kavi98

    need to pass on a file from a form to cgi script to perl program

    #!/opt/ZDperl/bin/perl -w # CGI routines use CGI_Lite; use Fcntl qw(:flock); my $cgi = new CGI_Lite; $cgi->set_file_type ('UPLOAD'); my %in = $cgi->parse_form_data(); # get the file from the input stream my $upload = $in{"UPLOAD"}; my $filename =...
  15. kavi98

    need to pass on a file from a form to cgi script to perl program

    I did try it on another machine maybe the parse_form data is not working as when i type on the command line i give the contents of the file it does not have to get it from the file. it still transfers the filename,can i work some thing around it. Please help. Thanks
  16. kavi98

    need to pass on a file from a form to cgi script to perl program

    I have changed the name to UPLOAD but I transfer the name of the file and not the contents the code that works is #!/opt/ZDperl/bin/perl -w # CGI routines use CGI_Lite; use Fcntl qw(:flock); my $cgi = new CGI_Lite; my %in = $cgi->parse_form_data(); # get the file from the input stream my...
  17. kavi98

    need to pass on a file from a form to cgi script to perl program

    my html form <!Form to upload a text file to generate a script .> <HTML> <HEAD> <TITLE>Uploading File</TITLE> </HEAD> <BODY> <FONT size=6 type=&quot;ariel&quot; color = #0000FF align =&quot;center&quot;>Please click browse to Upload the File</FONT> <TABLE width=&quot;510&quot...
  18. kavi98

    need to pass on a file from a form to cgi script to perl program

    If i type in the contents of the file on the command line it transfers then to the file given in the path,but when i try to run the same script as above i get a file not loaded error which is in the code,it does not get the contents of the file which i am trying to upload. it is just not...
  19. kavi98

    need to pass on a file from a form to cgi script to perl program

    No it actually does on the command line it transfers perfectly but then when i use it from the browser it just does not load. Any reasons you can think why it does that.
  20. kavi98

    need to pass on a file from a form to cgi script to perl program

    Thanks for all the help,the script works fine.

Part and Inventory Search

Back
Top