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. 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...
  16. bunnyweb

    Server.Execute maintain state

    Hi Simon, It is not possible to pass parameters with the server.execute command. As far as I know you have two options. First, you could make your sLetter variable a session variable, making it available on the executing page. Second, you can pass variables using the response.redirect...
  17. bunnyweb

    Sending emails using asp

    What platform are you using? Win 2000? Win XP? The methods of CDO are different for different versions on Windows (odd, I know, but true). An alternative is to use a 3rd party product. We use W3Jmail and it works great for our needs. And it has a free download. It may be worth a look...
  18. bunnyweb

    Writing PHP for multiple platforms &amp; database question

    Thank you ingresman for responding to my post. Let me explain my mad reasoning for my questions, and hopefully you can help enlighten me a little further. My company developes client/server applications and we are building web modules that work along side these applications (they basically...
  19. bunnyweb

    Writing PHP for multiple platforms &amp; database question

    Thank you picklefish for answering my questions. Forgive me, but I just need to be clear on this... So I can write a script, call is mypage.php. I can place the mypage.php file on both a UNIX box running Apache and a Windows machine running IIS and it will work on both platforms? That seems...
  20. bunnyweb

    Writing PHP for multiple platforms &amp; database question

    Hello Everyone, I am hoping someone can help me out. I have 2 questions. Question 1: We have two web servers. Server 1 is a UNIX box running Apache. Server 2 is a Windows machine running both IIS and Apache. If I write a PHP script, will I be able to run that same script on both my UNIX...

Part and Inventory Search

Back
Top