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: DB2Problem
  • Order by date
  1. DB2Problem

    Javascript onChange Textbox

    Thanks a lot
  2. DB2Problem

    Javascript onChange Textbox

    Hello ALL I have this select drop down <select name="title" class="form" onChange="javascript:addField();"> <option value="Mr">Mr</option> <option value="Mrs">Mrs</option> <option value="Others">Others</option> </select><br> This is somewhere in my JSP page. On Change of title as Other, I...
  3. DB2Problem

    Regular Expression Pattern Match

    I CAN NOT BELIEVE IT - THIS IS THE BEST ANSWER I EVER EVER GOT FROM THIS FORUM - THANKS A TONS AMAZING AND EXTREEMLY HAPPY THAT YOU HAVE HELPED ME - I UNDERSTAND THE PATTERN AS WELL AND THANK YOU SOO MUCH
  4. DB2Problem

    Regular Expression Pattern Match

    Hello ALL, I have to come up with a pattern to match with fulfilling my following criteria for a password field 1. It must have to be at least 8 characters long 2. It must have atleast one number (digit) 3. It must have one capital letter (character) please advise how should i form a pattern...
  5. DB2Problem

    Setting and Getting Header from Servlet to JSP

    I appologize if my previous comments have offended you or anyone in any ways. That's not my nature or intention in this serious discussion borad. Please except my appology and execuse me if being impolite. You are absolutely correct and that's how I understood the problem. But the issue is that...
  6. DB2Problem

    Setting and Getting Header from Servlet to JSP

    No Sir that's not even close and that's the reason I wrote for a precise answer in the first place. I guess people use this message board for some serious issue they may not find PRECISELY from textbooks. Think, why the API gives you the method to setHeader from response object and then get...
  7. DB2Problem

    Setting and Getting Header from Servlet to JSP

    I have a very typical and conceptual problem. I want a precise answer and I request everyone to provide me the answer to the best of their understanding. The problem seems simple but it's not working. Question Summary - I am trying to set headers from my Servlet and forwarding to the JSP...
  8. DB2Problem

    File parsing

    No that's not what I want, I want to separate these all by pipe delimited field and store them separately. Return that datastructure back to calling method for further processing. The design should be modular rather then storing in separate variable types. I tried to separate them using...
  9. DB2Problem

    File parsing

    Hello ALL I need to create a hashMap or some kinda data structure of name=value pair after reading these contents from a file abcd@email.com|1|2|3|4|n|y efgh@email.com|1|2|3|4|n|y ijkl@email.com|1|2|3|4|n|y mnop@email.com|1|2|3|4|n|y How can i do this in JAVA Please advise Thanks a lot
  10. DB2Problem

    How to reuse value from &lt;bean:write&gt; tag

    That works Venu, but then I get an undefined error when I try to use the same variable as parameter in one of the constructor call to java something like <% Country usacountry = new Country (country); %> Now as long as i keep using this variable something like <%= country %> it displays value...
  11. DB2Problem

    Prepared Statement Insert issue

    I guess what my problem is that I am using preparedStatement and is doing an insert based on values that are dynamic, now when i am doing an insert, I want to check if the value is already in the database, if so i don't want to do an insert, if the value is not there then only i wan to do an...
  12. DB2Problem

    Prepared Statement Insert issue

    How can i be more precise then what i explained ? Which part of the issue you could not understand. It's as clear as possible, read it again and you will understand.
  13. DB2Problem

    Prepared Statement Insert issue

    Hello ALL I am using a preparedStatement and is passing values dynamically. Now I want to "insert" values in the table based on condition - Insert only if a particular value is not present else do not perform insert below is query - insert into CUSTOMER (EMAIL_ADDRESS,ZIPCODE) values...
  14. DB2Problem

    How to reuse value from &lt;bean:write&gt; tag

    How can i get the value from <bean:write> tag. I have this bean write tag that gives me the value. I can see that coming up on the JSP page I need to use this value in other parts of JSP page using something like <% =country %>/imgs/help.jpg My bean tag is something like <bean:write...
  15. DB2Problem

    Integer Array and Vector iteration and Look up

    Hello ALL, I have some values in vector say {501, 502}. Now I have an array of Integer that gets SOME, ALL or NONE values that are in the above vector. My problem is to check if the values coming from this dynamic array exits in the vector. Based on presence and absence I have to do some...
  16. DB2Problem

    Struts Problem

    Well thanks for the post - It did help. Here's the full solution (may help anyone else) function refresh(f) { var MainForm = this.f; var i = document.MainForm.subscrIds.length if(document.MainForm.checkbox.checked) { for (i=0; i< document.MainForm.subscrIds.length;i++) {...
  17. DB2Problem

    Struts Problem

    Yes you are correct, but then I thought may be a javascript function will be an alternative solution as well. Anyhow, as per your suggestion, the same posting is now in struts
  18. DB2Problem

    Struts Problem

    Hello ALL {STRUTS GURUS} I have this struts driven JSP page that has a checkbox - Named as "Unsubscribe" having value of on/off depending on property = checkbox. When you check the box I call a javascript function go(). I need to implement this function "or" if you have a better Idea you can...
  19. DB2Problem

    Struts Problem

    Hello ALL {STRUTS GURUS} I have this struts driven JSP page that has a checkbox - Named as "Unsubscribe" having value of on/off depending on property = checkbox. When you check the box I call a javascript function go(). I need to implement this function "or" if you have a better Idea you can...
  20. DB2Problem

    Struts &lt;html:multibox&gt; problem

    ...page with values retrieved after a database look up. I am using STRUTS framework. The DAO retrieves the values by doing something like "select * from where blah blah blah". Everything is fine till i get the values. Now, I have to populate a bean or something (i don't know for sure ??) that...

Part and Inventory Search

Back
Top