Hi,
i am new in struts and panic in this problem.
<html:select property="prodRef" >
<html:options collection= "selectedList" property="prodRef" labelProperty= "name" />
</html:select>
i have this selection list in my JSP, this JSP can only displays one value - "name". but i want to display 2...
i have a string that need to display in the report and also need to break it to the next line
could anyone can help me to solve this problem?
Since i am not familirize with vba, i just want to have the same result just like letter literal int java
string stra = "XXXX\nXXXX"
result...
i have used Mike Pastore's method
and i found that it's no use for my query>_<
anyway, thanks
Also, i don't understand Bob Scriver's method. can u explain to me? thanks.
poporogue
oh i've forgotten to explain what's contained in the query.
qust_bnk, exam_paper_no are tables
q1 is a query
the questions(results) are needed in order which predefined in q1, they are in random ordered, so it's no use to order by auto_no
what ever the order in q1, the result is not in q1.1...
thx all~
i'm trying to understand the solutions.
Anyway i post may query here.
SELECT qust_bnk.*, q1.max_no, exam_paper_no.*
FROM qust_bnk, q1 INNER JOIN exam_paper_no
ON (q1.exam_no = exam_paper_no.exam_no)
AND (q1.paper_code = exam_paper_no.paper_code)
WHERE...
i have a query that get data from three tables in a specific order.but the outcome is not what i expected.so i want to add a field which is a number from 1 to X in the query and ordered by it. Just like below example.
cnt | XXX | XXXX | XXXX
----------------------------------------------...
there is one columne name in the database called "section", and when i use a sql to run a query in vba, it occurs errors. i found that "section" is a reserved word in vba. so when i change the "section" to "section1", there is no errors then.
the problem...
i'm doing web-based system which needs to print an Access report.
Is it possible to call out and print the report in the browser?
i really have no idea on it.
thanks.
oh..i found what problem that i've got..
it seems to that can't connect to the database
but i've already set the odbc driver, the path is correct and the the dns is correct too...
i'm using nt4.0 with iis and tomcat 4
i've already set the odbc bridge
i don't know where is the mistake...
Unable to connect
java.sql.SQLException: [Microsoft][ODBC ???????] ????????????????????
at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6879)
at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:7036)
at...
i'm using win2k, j2sdk1.4, iis, tomcat 4 and using ms access as database.
i can run my jsp in my computer,
but it had problems when running in server
the server is nt4, iis, j2sdk1.4, tomcat 4..
the error log said that the prepared statments occurs errors.
i found that the server hasn't...
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.