mysql seems to be hanging on my linux server. it takes a good 5+ minutes to bring up any jsp page that makes a localhost connection to the db. restarting, stopping, starting, nothing seems to fix this problem. it's running at it's normal amount of memory used. anybody have any idea what...
You replied as I was typing my correction, my first reply I had title=<%...%> what i meant was value=<%...>. It was uncalled for since what you showed me is what I needed. Thank you for your help, sorry for the confusion.
because the text on the button is driven from the db as well as the description blurb on the other side of the page. (which I'm assuming would be something like:)
String item = result1.getString("item");
...
<input type="button" title="<%= item %>" value="my button"/>
but I dont want to use...
Hi all, I'm having problems trying to explain this, but I have a page with text driven from a DB. I'm using stylesheets to create a box around the text to make it look like a button. You have to click the "button" to bring the description up on the other side of the screen. I think the...
Hi all, I was wondering how I could make this js password prompt NOT case sensitive.
<HTML>
<HEAD>
<SCRIPT language="JavaScript">
<!--hide
var password=prompt('Enter password:','');
var mypass="fish";
if (password==mypass)
{
window.location="continue.html";
}
else
{...
Hi all,
I have a query that returns all the room numbers in a hotel. What would be the proper syntax for a query to return one instance of each room. e.g. i want 1 2 3 4, etc. instead of 1 1 1 1 1 2 2 2 2 2 3 3 3 3 3, etc.)
Thanks
Hi all, I was wondering if there was a way to have a button have 2 functions at once.
Basically, I have a form a user fills out as well as a picture file for them to upload all on one page. What I want is at the bottom of the screen to click a submit button and have the value do a "submit" and...
is there a method to get the size of a result set after executing a query? I have the following code after the query is executed:
...
int rsSize = rs.length(); //<-- length(), size()?
int counter = 0;
while(rs.next()){
String name = rs.getString("first");
if (counter == rsSize -1){...
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.