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

  1. bthale

    How to retrieve results from DB in sections

    No - using IBM DB2
  2. bthale

    How to retrieve results from DB in sections

    I have a query that sometimes returns a ResultSet that is too large for memeory (yes, I have added the java params to set the memory as high as possible, but still crashes). Is there a way to limit the size and still retrieve everything in segments or sessions? Example, the full results will...
  3. bthale

    Setting environment variable at startup

    According to the documentation for context.xml configuration in Tomcat6, I should be able to use <Environment/> element in the context.xml file under the /conf folder to set an environment variable. I do not want to use web.xml and set per app. I need to set for the whole server. I tried this...
  4. bthale

    Can I reference external js from inside another external js?

    HI folks. I finally got Selenium to load my js file, and then I discovered there is Selenium forum here. Sorry I should have asked the question there. Thanks for all help
  5. bthale

    Can I reference external js from inside another external js?

    I am using Sellenium for automated test script and there is a feature where you can write your own commands in javascript. My problem is it gives me an error saying the Sellenium object is not defined. It is defined elsewhere so I wanted to include or reference this js file in my external js...
  6. bthale

    Can I reference external js from inside another external js?

    I know this can be done with the script tags in html pages, but can it be done from one js file to another without html code or page?
  7. bthale

    Need to cache slow loading page

    Thanks for the input. We work from what is given us as far as looks. The design is as good as we can get with what we have. The site is behind a corporate firewall, so I can't give you a url. There is simply a lot of data and not much can be done about that. I was just wondering if there is a...
  8. bthale

    Need to cache slow loading page

    I have a JSP/HTML page that loads slowly because of the amount of data being presented. This slowness is acceptable, but the presentation includes links that give more information about the particular data line. When a link is clicked, the details page is shown, and there is a Back button that...
  9. bthale

    Problem with using float or doule in math operation

    I fixed it, but in my opinion, not a great way. I had to do the math in a database function so that I would get the proper results. I can't believe that after all these years, java (or for that matter any language that has this problem) has not come up with a way to fix this. I bet this one has...
  10. bthale

    Problem with using float or doule in math operation

    I have to make elemtary calculations on a double, but it is not working. I have 4 variables of type double. I need a 'balance' by taking the first and subtracting the other three. I display Owed, Overpaid, or Balanced depending on the out come. Variable 'balance' shows in Eclipse debugger as...
  11. bthale

    ClassNotFoundException hell for applet

    I found out that it is necessary to put the applet jar file(s) in a place where the client can find it, which is not under WEB-INF. I have the follwing directory structure under Tomcat webapps/myapp/applets I placed the applet jar file there and used the following tags but still doesn't work...
  12. bthale

    ClassNotFoundException hell for applet

    You were right about removing .class, but it still doesn't work. I found the exception is cause by IOException. Not sure what this means. Caused by: java.io.IOException: open HTTP connection failed:http://localhost/group/dc/WEB-INF/classes/tarrant/civil/applets/PrinterApplet.class at...
  13. bthale

    ClassNotFoundException hell for applet

    The class name is tarrant.civil.applets.PrinterApplet which is what I have specified in the code parameter. Are you saying remove the .class?
  14. bthale

    ClassNotFoundException hell for applet

    I have tried about everything. Here is my applet tag. I have tried the code parameter with forward slashes and dot notation. Any help appreciated. The class is in the WEB-INF/classes folder under the webapp on the server, so That should be the spot. <object...
  15. bthale

    Can't get my applet to run

    I found I had a couple of syntax problems and changed <param name="selectedIds" value=""> to <param name="selectedIds" value=""/> and removed the mayscript attribute, but still not loading. Any help appreciated
  16. bthale

    Can't get my applet to run

    I have an applet in a jsp page and logging code to see when it init(), start(), etc. but nothing seems to happen. It is not visible so I can't tell if it's loading or not. Here is my tags <object name="printerApp" codebase="tarrant.civil.applets.PrinterApplet" width="0" height="0"...
  17. bthale

    Accessing select input in servlet

    How would I go about getting the contents of a <select> field in request.getParameter()?
  18. bthale

    Strange behaviour - Foxfire vs IE

    That's probably it. Most of my elements have 'name' instead of 'id'. Thanks
  19. bthale

    Strange behaviour - Foxfire vs IE

    I ran across a situation I thought was strange and wanted to know if anyone else has seen this. In Foxfire, document.getElementById("someElem") returns null if this element is a child of <form>. I had to use something like document.myForm.someElem to get the object. In IE...
  20. bthale

    Can't trim spaces from data in java

    Ok - might try the second option as cleaning the DB is not an option.

Part and Inventory Search

Back
Top