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 bkrike 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: *

  • Users: preethib
  • Content: Threads
  • Order by date
  1. preethib

    export flatfile to Mysql db

    I need help to export data from a flatfile to Mysql DB. My Flatfile has about 5000 records, and one record can have any number of lines in the text file. record1 field1: <value> field2:<value> field3:<value> <value of field4> <value of field5> <value of field6> field7:<value> record2 field1...
  2. preethib

    pattern match problem

    Hi, I have a text file, which (A#,B#) pairs, that looks like&quot; &quot; A1: http://www.abc.com B1: &quot;rank&quot; A2: http://www.abc.com B2: &quot;rank term&quot; A3: http://www.abc.com B3: &quot;rank term A4: http://www.abc.com B4: rank all A5: http://www.abc.com B5: rank all true...
  3. preethib

    Hi, I have a perl script that I

    Hi, I have a perl script that I want other to be able to execute by clicking on the link from the WEB UI. My idea/method on this. Have a HREF link on a intranet web site. When the user clicks on the link, I want to open a dos(on NT)/UNIX terminal pop-up window, login with my account...
  4. preethib

    append lines from a text file

    Hi, Is there a single system/awk/sed command, if I want to append a file to a list of exzisting configuration files. I have 10 lines in a 1 text file, that I want to append to the contents of 10 existing files. Any help would be great. Thanks,
  5. preethib

    foreach problem

    Hi, I have a problem stripping lines of an xml file. I have a xml file, were I want to strip of individual tags from the file. My input xml file has lines: <feedid>2</feedid> <pagetype> <action>add</action> <attribute>freehosting</attribute> <id>48611</id>...
  6. preethib

    get Web Page problem

    Hi guys, I have this peice of Java code inherited. I can make a web page request by using the compiled Page.class file, and get the results from the host:port, without the intervention of any Browser cookie settings. The results are stored in page.txt. Now I want to send cookie information...
  7. preethib

    Break one file into multiple

    Hi, I have a file in the following format. I want to break the file into seperate files based on [Local], [Global]...... These separators are predefined. I tried getting line number for the variables using awk. But did not work. regards, [Local] JDoe12345,John Doe,,Product Division -...
  8. preethib

    substitute with ^M with ^N

    Hi All, How could I write a shell script to substitute ^M with ^N. The file is huge almost 5mb. I want to automate the procedure, hence, i assume vi commands won't be helpfule. Regards,
  9. preethib

    Form processing on resubmit

    Hi, Below is the HTML form, with few form fields. on 'submit' of HTML form, I call the servlet. Basically what I want the servlet to do is if all the fields are filled return 'Thank You' information. Else the servlet should show an incomplete form as &quot;**** FieldName = <text box>&quot...
  10. preethib

    Question on servlet

    Since A Java servlet is implemented within a Java class. What requirements are imposed on this class?
  11. preethib

    Undefined variable or class name: session

    Hi, How do you define session object in a method. I have a method to track user count and count the times the user has visited the page in the current session. p5.jsp -------------------- ... <body> <%@ page import=&quot;javax.servlet.http.HttpSession,javax.servlet.http.*&quot; %> <%@ page...
  12. preethib

    Enumeration method in JSP

    Hi teks, I am having a problem with using 'Enumeration&quot; method in the below JSP: I am trying to print HEADERS in a table format. Please help, preethib ------------ //GETHEADERS.jsp ------------ <html> ... <%! static class RequestHeader extends HttpServlet { public void...
  13. preethib

    using boolean, returns incorrect boolean value

    Hi JSP techys, I am stuck in getting a good boolean result using servlet. My program is doing some error checking with the form input information entered. If not all the information is entered,I am trying to print string &quot;Please enter all the information&quot;, if all the values are...
  14. preethib

    I have little problem with compilin

    I have little problem with compiling this bean to work with JSP. I use tomcat, and have all the below files in the jsp directory(/tomcat/jakartha/webapps/root/jsp/) I have a html file 'FruitOrder.html' that basically takes the input for no. of punds and using the 'confirm.jsp', compiles using...
  15. preethib

    append to a file

    Hi teks, I am trying to copy many log files to a single log file. Is there a good way in perl to do it. thanks, preethib@yahoo.com
  16. preethib

    Javascript with Databases

    Hi, I have little experience with JavaScript. Few questions: 1. Is it possible to retreive data from a Mysql database using Javascript. 2. Should I use perl with HTML and Javascript to access data. Please reply ASAP. preethi (preethib@yahoo.com)
  17. preethib

    count number of lines that matches

    Hi I have been reading your newsletters for some time. I would like to know some information on counting the repeating lines in a file. I currently have a script that grabs all URL address to a file, what I am trying to find is count the no. of times the URLs are found in that output file...
  18. preethib

    socket

    Hi, I have a small socket program that basically opens a socket executes a command and gets results. The problem I have is my program just prints the first line of the results. I would like to see all lines in the result. Here is my program: ---------------------------------------------...
  19. preethib

    telnet package

    Hi, I am trying to write a script that simple executes a command on the telnet to a host and port and saves a 'result.txt' in the same directory. ------------- Example: ------------- test>telnet test.host.com 9999 Trying .. Connected to test.host.com Escape Character '^]'. <command to...
  20. preethib

    Get &quot;http://......&quot; address from a HTML file&quot;

    HiTeks, I am trying to get a list of all actions(http anchors) into text file from an HTML file. HTML file: ............. <A href=&quot;http://www.yahoo.com&quot;>http://www.yahoo.com/index/in=1&login.html</A> ............. <A...

Part and Inventory Search

Back
Top