You can make a DB connection thru JDBC.
Class.forName("oracle.jdbc.driver.OracleDriver");
connection=DriverManager.getConnection(myUrl,myUserid,myPassword);
i.e. if your DB name is "abc", your port number is 1521, and your host name is "xyz" then...
Wushutwist,
I want to right-justify the content of the 8 input boxes.
It has been resolved. The answer is:
<TD><INPUT TYPE="text" STYLE="text-align:right" NAME="qty" SIZE="20"></TD>
Thanks.
Dove85
Greg,
You can see that in my code, I have already tried that. Unfortunately, that only works for the "labels", not for the INPUT cells.
Dove85
Does any one know how to line up (right justify) these input objects?
Your help would be appreciated.
Dove85
-----------------------------------------
<HTML>
<BODY>
<FORM NAME="OrderedItemsForm" METHOD="post" ACTION="SUBMITxyz.jsp">
<TABLE>
<TR>
<TD...
Does any one know how to line up (right justify) these input objects?
Your help would be appreciated.
Dove85
-----------------------------------------
<HTML>
<BODY>
<FORM NAME="OrderedItemsForm" METHOD="post" ACTION="SUBMITxyz.jsp">
<TABLE>
<TR>
<TD...
Your help would be appreciated.
1) How to line up (right justify) these numbers?
2) If "13.5" is the value, I want to display "13.50".
I wrote some JavaScript functions to parse the input objects as strings and then pad with zeors. Is there a better way to handle it?
3)...
Wushutwist,
I am a bit confused now.
I was trying to find a way to associate the ResultSet (which is "vendor" of type String[][]) with the session. I just picked the name "vendorList" randomly.
So, if I have a ResultSet named "vendor" of type String[][], how do...
Thanks, wushutwist and Leon.
How do I store the ResultSet into session? I tried
<% session.setAttribute(vendorList, vendor); %>
where "vendor" is the ResultSet with type String[][], but session.setAttribute only takes type String.
Dove85
Wushutwist,
Thanks. Your explanation is very clear.
I am interested in learning this "some type of persistent storage (Session, EJB) to retain the query results between requests". Could you elabrate?
Thank you again.
Dove85
Your help would be appreciated.
------------------------------------------------------------
QUESTION 1:
I need to display a list of vendor info in a tabular format (the data is
from an Oracle database). The list is rather long. Right now I have it
displayed on 1 page with scroll bars on the...
A form object "vendor_id" is passed to a pop-up window thru a JavaScript function. I retrieved the value of the passed object in the pop-up window fine, but failed to put the var into a JSP statement.
Your input would be appreciated...
A form object "vendor_id" is passed to a pop-up window thru a JavaScript function. I retrieved the value of the passed object in the pop-up window fine, but failed to put the var into a JSP statement.
Your input would be appreciated...
A form object "vendor_id" is passed to a pop-up window thru a JavaScript function. I retrieved the value of the passed object in the pop-up window fine, but failed to put the var into a JSP statement.
Your input would be appreciated...
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.