Forums Register Login

JDBC connection using bean

+Pie Number of slices to send: Send
hi ranchers

i am trying to connect to the oracle database with the help of beans & jsp
i am not that familiar with and i am using netbeans as an interface
can you please help me with the procedure of connecting to the database

i have created a database in oracle of name emplyoee with first name ,last name and empno

this is my bean page


and this is my jsp page



ITS SHOWING ME AN ERROR in jsp page i have specifed it below
please help me with the procedure and rectify errors if any

<jsp:useBean id="db" scope="request" class="DbBean" /> //ERR CANNOT FIND SYMBOL

+Pie Number of slices to send: Send
What is the error ?
+Pie Number of slices to send: Send
+Pie Number of slices to send: Send
the error i am getting is cannot find symbol in the jsp page at the line 22
+Pie Number of slices to send: Send
I agree this is poor practice. That said, where is the code that sets DBBean in the request? It should be in a servlet somewhere. If it doesn't exist, that explains why the bean isn't in the request.
Do not set lab on fire. Or this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 8079 times.
Similar Threads
Error in JSP when using bean concept
JSP Error
Error is [Microsoft][ODBC SQL Server Driver]Connection is busy
Is it correct(Hashmap in jsp)
error due to accessing database connection using jsp
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 00:41:15.