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...
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 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...
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...
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...
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...
Hi Everyone.
I have a web application and I want to limit it so only a set number of concurrent users can access the pages at the same time.
I want to allow the first 5 people that access the application to use it with no problem. But then when the 6th person attempts to access the...
Hi All,
I am having problems with my database connection. I have two computers, one running Win XP with MS Access 2002. The second computer is running Win 2000 with MS Access 2002.
My application works perfectly on my Win XP machine, but keeps giving me an error message on my Win 2000...
Hi Everyone,
I'm trying to get a grasp on what ASP Mail is and how it works. Is it an Active X component that I need to purchase or is it more like a protocol that ASP uses? And even more importantly, how do I get my hands on it?
Any help and information would be greatly appreciated...
I have the strangest problem.
I have a small web application that I wrote using a mix of JSP pages and Java Beans. In my index page I create the bean by using the following syntax:
<jsp:useBean id="Visitor" class="com.safeguard.safeweb.beans.VisitorBean"...
I am trying to find a way to get future dates and I'm stuck.
I am taking in a String which contains a set date
String myDate = "30/05/2003" (UK format)
How would I go about adding 3 weeks to this date to get:
myNewDate = "20/06/2003"
I also need to do the same for...
Is it not possible to add a double value to a Vector? This is what I'm trying (basically):
Vector vecTest = new Vector();
double mynumber = 1.1;
vecTest.add(mynumber);
I'm getting the following error:
method(add)double not found in class java.util.Vector
I am importing java.util.Vector and...
Hello out there ...
I have a servlet where I am invalidating my session objects using the following:
request.getSession().invalidate();
My problem is that it invalidates ALL of my session objects. I have multiple session beans in my application. How do I invalidate just one of them?
Thanks...
I want to update the value of an existing cookie, and I'm having problems. Here is my code:
// Get all the cookies
Cookie [] cookies = request.getCookies();
boolean foundCookie1 = false;
// If there are cookies (to avoid null pointer exception)
if (cookies != null)
{
// Loop through all...
Hi. I am hoping someone out there can help me.
I am querying on a date/time field in MS Access and receiving a value back that looks something like:
1899-12-30 15:45:00
I would like the above to return:
3:45 PM
I have looked up the Java Time class, but that doesn't seem to be getting me...
I have a web application written in Java and I need to be able to convert a standard date (dd/mm/yyyy) into Julian Date format. And then later in my application I will need to take a Julian Date and turn it back into a standard date. I am somewhat new to Java, so this is a very daunting task...
Hi. Our company would like to move from having our web site hosted by a 3rd party to hosting it ourselves. What exactly do we need to make this happen? We would be using Windows 2000 Server running IIS.
Thanks for the help!!
Rachel
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.