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...
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()
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>...
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...
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...
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...
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...
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...
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...
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"??
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...
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 ...
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)...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.