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 strongm 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: 786snow
  • Content: Threads
  • Order by date
  1. 786snow

    LIKE related question

    Is it possible to have OR with LIke, I am trying to do the following , whcih is obviously wrong as it is not working select* from products, where category_id = 'ph100' and features_camera LIKE '%2%' or '%3%' order by auto_no desc LIMIT 0,10
  2. 786snow

    never seen this kind a syntax before

    Hi , I have never seen this kind a variable type UserAccountList.AccountData, whats is going on here ? UserAccountList.AccountData userAccountListData = UserAccountListProxy.setUserAccountList( req, res, userIDStr, sessionIDStr, null...
  3. 786snow

    IP address

    Hi, My machine is part of the network, how can find out what my ip address is? I am using XP Thanks
  4. 786snow

    basic constructor question

    Hi, what am i doing wrong here. I have couple of variable in the constructor but when try to print them i get errors public class HelloWorldApp2 { HelloWorldApp2 (String var1, int var2){ String instanceVariable1 = var1; int instanceVariable2 =var2; } public static void main(String...
  5. 786snow

    javascript to read a text file

    Hi, Is there a simple way read a simple text file using javascript? and then displaying the content of that file?
  6. 786snow

    need help in understanding exceptions

    Hi, I am trying to understand how exception work. I understand the code below. try { BufferedReader in = new BufferedReader(new FileReader("infilename.txt")); String str; while ((str = in.readLine()) != null) { //process(str)...
  7. 786snow

    simple javascript/css question

    How can I use javascript and css to change the background color of my text box I tried the following that did not work .textHilight { background:00BFFF; } <input type="text" class="textbox" name="toDate" id="toDate" size=10 maxlength=10 value=> document.getElementById('toDate').class=...
  8. 786snow

    need help in understanding exceptions

    I am trying to understand how exception work. I understand the code below. try { BufferedReader in = new BufferedReader(new FileReader("infilename.txt")); String str; while ((str = in.readLine()) != null) { //process(str); System.out.print("it did not...
  9. 786snow

    constructor basic question

    public class HelloWorldApp1 { //delaring constructor public HelloWorldApp1() { int grade1=7; } .... Hi, if I have a constructor in my programe now how can I access the value of grade1. When in my method if I do System.out.print(grade1); i get error
  10. 786snow

    java basic comiling question

    in my \jdk1.5.0_06\bin where I have javac I made another folder in bin called MySamples now in the bin folder i do the following javac \MySamples\HelloWorldApp.java I get the error saying "can not read \MySamples\HelloWorldApp.java what am i doing wrong here?
  11. 786snow

    radio button don't work properly

    what is wrong with the code here, no matter what radio button I pick, even if I don't pick any I get the value "by_date" <script> function submitRequest() { var test=document.getElementById('dateType').value; alert(test); } </script> <html> <head> <meta...
  12. 786snow

    regex in javascript validation

    Hi, i know a little about regex. Following Regex is for date to have the following patteren, mm/dd/yyyy or mm-dd-yyyy or mm.dd.yyyyy I want to have it only mm/dd/yyyy So i want to chnage it , i believe I have to change it at all place where it has (\/|-|\.)?? I did the following (\/)...
  13. 786snow

    simple date object question

    what this Date object suppose to have , when I alert , it gives me wrong month, gives me July instead of June. <script> birthday = new Date(2007,06,03) alert(birthday); </script>
  14. 786snow

    simple getElementById question

    Hi, I have a texbox called startdate in my HTML. How can I use variable in my document.getElementById, instead of hardcoding it. I tried the following but it did not work, saying object required var date= "startdate"; if ((document.getElementById('+date+').value.match(RegExPattern)) &&...
  15. 786snow

    what am I doing wrong in this form declaration

    Hi, what am I doing wrong here, i noticed even If I comment out code in my function, my form gets submitted> i am puting code for form delaration, submit button and my function. ******************** <FORM ACTION="/NASApp/EDocsCtx/EDocsConsentServlet" METHOD="POST" NAME= "DeliveryOptions">...
  16. 786snow

    simple id related question

    Hi, if I have an array of checkboxes, and I do not give them id. Is it true to say that their id will be automatically check_all[0] & check_all[1], or this has notning to do with id, this just way to use them, since it is an array 2. is it necessray to give id to text boxes, checkboxes etc...
  17. 786snow

    trying to understand this javascript code

    Hi, Briefly what the following function does, if all the check boxes in the array of check boxes are checked then it checks the "check_all" checkbox, and if any one of them is checked off then it checks off the "check_all" check box as well ********* function func_setSelectAll(){...
  18. 786snow

    java servlets accepts array of check boxes

    Hi, is it possible to send array of checkboxes to java sevlet. In my HTML I do the following *********** <TR> <td><INPUT TYPE=checkbox NAME=check_all VALUE=Eh id="check_all[0]"> <b>Select all documents</b></td> </TR> <tr> <td><div class="indent"><input type="checkbox"...
  19. 786snow

    simple checkboxes question

    Hi, I want to have an array of checkboxes, thats how I have declared them. but when I submit my form, on my javaservlet even thought I have boxes checked , values come as null. What am I doing wrong here? <TR> <td><INPUT TYPE=checkbox NAME=check_all VALUE=E ID="check_all" >...
  20. 786snow

    javaservlet req object question

    Hi, I am new to javaservlet. From the request object i do something like that to get the values. ios there a better way whete you can loop through and get the values. Do they come in a array? **************** String cStatement = req.getParameter("cStatement"); String cTradeCnf =...

Part and Inventory Search

Back
Top