Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Beans > Re: Confused ab...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 3 Topic 1331 of 1403
Post > Topic >>

Re: Confused about setting up Bean

by Clive_S <cliveswan@[EMAIL PROTECTED] > Nov 26, 2007 at 08:20 AM

It does not complie with page1, but does compile with
<jsp:usebean id="db" scope="request" class="SqlDB" />

(SqlDB is the file that creates a database connection)

It compiles when I use:

<td> <select class="rfcoverten" name="rfcoverten">
 <option value="-1">-</option>
</td>
<td> <%= rs.getString("rfcoverten") %></td>
<td> <%= rs.getString(3) %> </td>
</tr>

I get a java.sql.exception: try without catch or finally
when I use an if selection??

<option value="1" <%if(page1.getrfcoverten() == 1){%>selected<%}
%>>Yes</option>

Thanks

clive
 




 3 Posts in Topic:
Confused about setting up Bean
Clive_S <cliveswan@[EM  2007-11-26 02:37:05 
Re: Confused about setting up Bean
Clive_S <cliveswan@[EM  2007-11-26 08:20:07 
Re: Confused about setting up Bean
Clive_S <cliveswan@[EM  2007-11-27 03:04:31 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Dec 4 0:08:20 CST 2008.