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

    Fetch info from two tables

    I have two Access 2003 tables: TableMain MID PO TE INFO 1 2 3 ABC 2 2 1 EREER 3 1 3 OIUOI 4 3 3 PERE 5 2 2 DFE TablePerson PID FIRSTNAME LASTNAME 1 Joe Smith 2 Cal Jones 3 Bill Carson I would like to...
  2. dreampolice

    Perl pages not working from cgi-bin

    We just got a new Solaris server with Solaris 10 and now all my Perl CGI pages that were on the old Solaris server with Solaris 7 dont work in the new Solaris 10 server cgi-bin. I get a generic error saying "Internal error". Please advise any suggestions I can suggest to Server Admins to make...
  3. dreampolice

    Shorten PreparedStatement lines

    I have a PreparedStatement with alot of values to insert into an Oracle Database. Anyway to shorten the setString lines in a loop or any other way to shorten this?? //Database connection part here //...... private PreparedStatement stmt; public void houseMethod(BeanInfo theObject)...
  4. dreampolice

    Keeping radio selection

    How do I keep Radio button values and not lose them after a Form is submitted? I have no problem keeping text values where a form is submitted and if there is a validation issue with the text value it takes me back to the Form and shows the Form text value that was submitted. With Radio buttons...
  5. dreampolice

    Check for Database leaks

    I am always checking if any of my Java Web applications have any Database leaks with our Oracle 9i database. Here is what I use in SQL Plus: select username, program from v$session where username = 'myUserSchemaName'; If I dont close my connections and do alot of inserts and updates in my...
  6. dreampolice

    Prepared Statement and select max id issue

    I have a method that has a prepared statement that executes before a SQL select max id query. The Prepared statement works great where I call it in another method in my Java Helper Class file. Now I want to move the method with the prepared statement into another class and call in in my Java...
  7. dreampolice

    Put repeated ResultSet into a method

    I have methods that call the same ResultSet statement and was wondering if I can put the ResultSet into a method and call it instead: public int mymethod(MyBean theobject) { //db connection part here String query = "SELECT EmailAddress FROM UserT " + "WHERE firstname = '" +...
  8. dreampolice

    Schema set up

    Here is what I have for creating a Schema: - Point of Contact Name - Point of Contact Phone - Expert Name - Expert Phone - Project Name - Project Location On some occasions the Point of Contact Name will be the same person as the Expert Name. For the Schema I am looking at this: ContactTable...
  9. dreampolice

    Use Link to forward session info instead of RequestDispatcher

    I have objects that I pass from a Servlet to JSP using RequestDispatcher type. Now, I was wondering if I can do the same with a link but not sure how I do that: Servlet called MyServlet.java (or MyServlet in web.xml mapping): String firstname = request.getParameter("firstname"); String...
  10. dreampolice

    Using real database instead of fake content

    I have this part of a java program that outputs fake data. Now I want to substitute that for database that fetches something called lastname records from the databse, but not sure how? public static final int INIT_SIZE = 32; private String[] strs = null; public MyContentGenerator() { strs =...
  11. dreampolice

    Forgot password

    I have an Oracle 9i developer database on my Windows workstation. I havent used it in a couple weeks and forgot my Sysdba login password. Please advise how I can reset it or get into the database?
  12. dreampolice

    Call setters from another class

    I have alot of lines that call setter methods. Anyway to put this all in another class and call it so I dont have to list all these in my current class? PersonClass chalk = new PersonClass(); chalk.setHeight(request.getParameter("height")); chalk.setWeight(request.getParameter("weight"))...
  13. dreampolice

    Session ends way before it should

    I notice sometimes for my MX 7 web pages with user login and passwords will lose their sesssion after 5 minutes even though I set it up in the Administration.cfm file for 60 minutes. I was wondering why a session would end earlier than the 60 minutes? I checked with System Admins and the CF...
  14. dreampolice

    Advantage of free PHP over not free Cold Fusion

    I have an area that doesnt want to continue to spend money on Cold Fusion license which we have used for the past 7 years. Instead they want free PHP. My arguments for keeping CF is simpler to get out web applications, simpler to train people and saves time and quicker development time...
  15. dreampolice

    Arguments for Cold Fusion over PHP

    I have an area that doesnt want to continue to spend money on Cold Fusion license which we have used for the past 7 years. Instead they want free PHP. My arguments for keeping CF is simpler (and quicker) to develop web applications and easier to train people to learn CF. Quicker development...
  16. dreampolice

    JSP Form Validation

    I want to create a JSP Form page (first.jsp) on Tomcat 4.1.27 with a form that has about 20 input entries where the form will validate all 20 fields and show validation errors on the same page as the original form page (first.jsp). For example, if someone has a blank entry on the Firstname field...
  17. dreampolice

    Server Side connection works but Client sometimes doesnt

    Many times my JSP Web applications on the Windows Web server connects to the Oracle Database server but my local Oracle Client connection goes down for about an hour or two. What is the reason for this? Is this something to do with Listener service on the Oracle Server not working or what is...
  18. dreampolice

    Video Stream on Web Server

    I have a Flash site that has some video streaming and the site seems to have problems on my server where it takes down other programs on our Windows 2000 Web server. The System admin says he needs to increase the Network bandwidth from 10MB to 1 GB by increasing something called a pipe? Please...
  19. dreampolice

    Flash crashing other programs on web server

    I have a Flash site that has some video streaming and the site seems to have problems on my server where it takes down other programs on my Windows 2000 Web server. The System admin says he needs to increase the Network bandwidth from 10MB to 1 GB by increasing something called a pipe? Please...
  20. dreampolice

    Tomcat System Admin

    For Tomcat 4.1.3 what are some of the things a System Admin should be concerned about. I assume the Startup.bat Control window with the startup info should not be scrolling endlessly with info. What other issues should I be concerned with? I know on occasion I did something wrong with a...

Part and Inventory Search

Back
Top