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 wOOdy-Soft 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: luckydexte
  • Content: Threads
  • Order by date
  1. luckydexte

    Cannot insert 12:00 PM into database

    Hello all, I am running into a problem trying to insert 12:00 PM into a DB2 database TIME field. I have a jsp page that has a select box with the values 1:00 to 12:00 and a select box with the values of AM and PM. I am using SimpleDateFormat and everything works with the exception of 12:00...
  2. luckydexte

    Checking for null objects

    Hello everyone, Do you have to use a try/catch block to check for a null object? I know this is a pretty simple question but it has been bothering me for a while. An example: I have a class called RoadCond that is a bean. So the following code throws a Null Pointer Exception if I get a...
  3. luckydexte

    Help with limiting what is being selected from database

    Hello all, I am trying to write a query to select data from a database but do not know how to limit what is being selected. I need to use the SUM function to get the total from all of the records that are returned in the where clause but only want the DATE when records have a TRANS_TYPE of 0...
  4. luckydexte

    Printing multidimensional ArrayList or List

    Hello all, I am stuck on what is probably a simple problem. I have an ArrayList (which could be a List of need be) and am trying to print the values of the list which is multidimensional. Here is a result set: 7425 46 46 21146 25 25 21445 -10 0 I am getting this information from a database...
  5. luckydexte

    Selecting from multiple tables

    Hello All, I am not an SQL expert by any means and I am getting stuck when trying to select multiple fields from two different tables. I understand why I am not able to do what I want to do but I am not sure how to get around it. Here is the SQL statement I have working so far: SELECT...
  6. luckydexte

    Converting Long type to Integer

    Hello all, Does anyone know how to convert type of Long to an Integer? Long count = function(); // Returns a long Integer factor = (Integer) count; This obviously does not work but I am not sure how to get around this. Hibernate only returns a type of Long when using an aggregate count...
  7. luckydexte

    Problem using innerHTML

    Hello all, I am trying to create a popup div tag on the fly (which is working) but I need to create a list of links and call a javascript function with a parameter. The values I am trying to send in are being sent in as strings and not the variables. Has anyone come across this before? A...
  8. luckydexte

    Java Iterate Problem

    Hello all, I am running into a problem that I cannot seem to solve. I have an ArrayList of a object called roads and the iterate function is not working the way it should (or at least the way I think it should). Here is the code: ArrayList roads = new...
  9. luckydexte

    Hibernate Problem using subselect set

    Hello all, I am new to Hibernate and I am getting an error that I cannot seem to resolve. Below is the hbm.xml file, the java class, and a little utility to run the code. I am printing the SQL code and when I run it in SQL plus I get the expected results but it will not load when I call my...
  10. luckydexte

    onmouseover Error

    Hello all, I am sure this is very easy but I am stumped. I am getting the error "object doesn't support this property or method" when using the onmouseover event. The error is triggered as soon as my mouse goes over the href tag. The code is really simple but I am not sure why I am getting...
  11. luckydexte

    Reset Form Dropdown Problem

    Hello, I have a form with a dropdown list and text box. I also have a reset button. I am trying to reset the dropdown list to the first value but I am not having any success. The text box is clearing so I know that I am getting to the Javascript function. My form and Javascript function are...
  12. luckydexte

    Change value of dropdown list on post back

    Hello, I am struggling with this problem for several days now and cannot find a solution. I have a web form, when I enter a value it does a query on the value entered. I have several dropdown lists and need to populate the values. Some of these lists are dynamic and some are static...
  13. luckydexte

    Staying connected with SQL?

    Hello All, My perl scripts are being run on a Windows 2000 server and are connecting to another machine running Microsoft's SQL. My programs work fine using the Perl DBI/DBD module. However, each perl script needs to re-connect to the SQL database. Is there anyway to pass the connection...
  14. luckydexte

    cscript.exe or .vbs

    Hello, Has anyone ever used cscript.exe or called a .vbs file from a Perl script on a web page? When I run my Perl script from the command line I place a system("cscript.exe") call with some parameters and it works fine. When I try to do this from a browser I get the following...
  15. luckydexte

    Using system in IIS5.0 on 2000 Server

    Hello All, I am running into a problem using a Windows 2000 server running IIS 5.0. The following code works when it is run from a Perl program run at the command line but not run over the Internet. ## Start of code $to = "brandon\@email.com"; $from = "server\@email.com&quot...
  16. luckydexte

    Limit space on ftp site.

    Hello All, I am using a Windows 2000 server that is running IIS 5.0. My ftp site is using Windows account to allow access to the site, there is no anonymous access. What I would like to do is limit the size of space each user has. I have set up disk quotas on the drive but when a user...
  17. luckydexte

    Limit space on ftp site.

    Hello All, I am using a Windows 2000 server that is running IIS 5.0. My ftp site is using Windows account to allow access to the site, there is no anonymous access. What I would like to do is limit the size of space each user has. I have set up disk quotas on the drive but when a user...
  18. luckydexte

    Perl script in IIS

    Hello All, I am running IIS 5.0 on a Windows 2000 server. A web server has been running using Perl scripts. We were have security problems so I ran the Permission Wizard included in IIS 5.0. After running this wizard I am unable to run Perl Scripts. I get the following message: Error...
  19. luckydexte

    Allow Anonymous Access with IIS 5.0

    Hello All, I am running IIS 5.0 on a Windows 2000 server. A web server has been running using Perl scripts. We were have security problems so I ran the Permission Wizard included in IIS 5.0. After running this wizard I am unable to run Perl Scripts. I get the following message: Error...
  20. luckydexte

    Allowing Anonymous Access with IIS 5.0

    Hello All, I am running IIS 5.0 on a Windows 2000 server. A web server has been running using Perl scripts. We were have security problems so I ran the Permission Wizard included in IIS 5.0. After running this wizard I am unable to run Perl Scripts. I get the following message: Error...

Part and Inventory Search

Back
Top