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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by bunnyweb

  1. bunnyweb

    CSS absolute positioning problem

    Hi everyone. I'm going bonkers trying to figure out this problem. I have some simple CSS <DIV> tags on my page to position linked images. I'm using absolute positioning, specifying the left and top pixels. This looks great in IE on my PC, but on my Mac which runs both IE and Safari the...
  2. bunnyweb

    Problem with ListBox Control

    Ok, how do I default one one my entries? I currently have this: adapter.SelectCommand = cmd adapter.Fill(dataSet) ' Bind the data to the site drop down list Sites.DataSource = dataSet Sites.DataBind()
  3. bunnyweb

    Problem with ListBox Control

    Well, my list box is literally just a list of sites. If you were to look at the rendered HTML it would look like: <select name="Sites" size="1" id="Sites"> <option value="1">LONDON</option> <option value="2">DUBLIN</option> <option value="3">MADRID</option> <option value="4">PARIS</option>...
  4. bunnyweb

    Problem with ListBox Control

    Hi. I have just started transitioning from ASP to ASP.NET and I have run into a problem I need help with. I have a listbox control on my .aspx page: <ASP:LISTBOX ID="Sites" RUNAT="server" DATAVALUEFIELD="SiteID" DATATEXTFIELD="SiteName" ROWS="1"> This works fine. My listbox populates from my...
  5. bunnyweb

    Proxy server problem

    I don't have a whole lot of experience with Tomcat, but I was thinking about something like a redirectPort from 8090 to 80 like so: <Connector port="80" redirectPort="8090"/> I thought that would allow traffic to go through port 80 instead of port 8090. But now that I think about it, wouldn't...
  6. bunnyweb

    Proxy server problem

    Hi sedj, Thank you so much for answering my questions! In regards to this particular proxy server problem (I know this isn't specifically a Tomcat question, sorry) I am installing my JSP application at a company with hundreds of web browsers. I can't change every single browser setting...
  7. bunnyweb

    Proxy server problem

    I have another Tomcat question! I have Tomcat installed and using port 8090 (I'm not sure how relevant the port is). When I tried to run my JSP pages I was getting an error message saying something along the lines that the proxy server was not allowing access to the gateway. I then went into...
  8. bunnyweb

    Help with context path needed!

    I'm hoping and praying that this is possible. I have a Windows 2000 server. I have Tomcat installed and running on the C drive. I want to be able to put my JSP pages on the D drive of the same machine. I'm not all that familiar with Tomcat, but I found that I can add a context path in my...
  9. bunnyweb

    checking if double is null

    I'm having a problem. I am reading a double value out of my database like so: double VisitDate = rsReport.getDouble("VisitDate"); My database allows nulls values so I want to check if this value is null. I tried quite a few things, but keep getting error messages. I remember something I saw...
  10. bunnyweb

    Auto Increment Possible?

    Amazing info! It worked perfectly. Thank you so much! There is only one thing that's not clear, which is SELECT your_sequence.NEXTVAL FROM sys.dual; What exactly is "sys.dual"??
  11. bunnyweb

    Auto Increment Possible?

    Hello. Our application currently works with SQL Server, but we are attempting to move it over to Oracle. In SQL Server we can use the "Identity" feature to auto increment an ID field by 1 each time a record is added. Is the same feature available in Oracle? I can't figure out how to do it...
  12. bunnyweb

    Time help needed

    Thank you sedj! A bit of tweeking and it worked. For anyone else with this same problem, here is my solution: java.text.SimpleDateFormat formatTime = new java.text.SimpleDateFormat("HH:mm"); java.sql.Timestamp ArrivalTime = null; String strArrivalTime = ""; ... query database ...
  13. bunnyweb

    Time help needed

    Thanks for the suggestions! I tried: java.sql.Timestamp ArrivalTime = rsVisitor.getTimeStamp("visitarrivaltime"); but I get an error message: C:\Tomcat\work\Standalone\localhost\SafeWebV21\bookconf_jsp.java:1797: cannot resolve symbol symbol : method getTimeStamp (java.lang.String)...
  14. bunnyweb

    Time help needed

    Hello Everyone. I am attempting to create a JSP application and having problems with formatting a time field. I have a time stored in my database (SQL Server) as a Date/Time field and when I query the field I get somthing like: 1900-01-01 06:00:00.000 Below is how I'm getting the time value...
  15. bunnyweb

    Add a month to a date

    Hello. I'm trying to do something quite simple. I have a date that I want to add a month to. So for 21/9/2004, add 1 month to get 21/10/2004. My concern is with the year changing. So for 16/12/2004 I want to get 16/1/2005, not 16/13/2004. I'm sure that there is some class available that...

Part and Inventory Search

Back
Top