Originally posted by Timy McTipperstan:
<jsp:useBean id="someclass" scope="page" class="com.fh.db.SomeClass" />
<jsp:getProperty name="someclass" property="var1" /></<br>
<jsp:getProperty name="someclass" property="var2" /><br><br>
and i tried
<%=category.getVar1()%><br>
<%=category.getVar2()%><br><br>
Originally posted by Jenn Person:
My problem is... when I start my application and it begins at index.jsp... I have no way of querying the database to get those category titles.
Originally posted by Timy McTipperstan:
Someid will be taken from the URL that is passed in from the previous page. somejsp.jsp?someid=5, I put 5 in the sql because I was trying to at least be able to get something out of the rs, ahh no luck with that.
I'm not even sure if this is a good way of doing it. Any thoughts?
Originally posted by Timy McTipperstan:
Here is what I updated it too, any thoughts?
public class SomeClass implements java.io.Serializable {
Originally posted by DC Dalton:
Thanks, Id actually like to see it ...... I was able to get the data back (im pulling data from a db) by using PrintWriter but MAN that seems weird sending it back that way! Maybe Im making too much of it but it just doesnt seem like the right way to do it!
Thanks Again!
Originally posted by pratap maha:
Hi -
I am in a dilema if I have to use a JApplet to build a rich GUI on the clinet side.
Originally posted by Daoyue Ming:
Currently I need to implement a web interface for search & enquiry of databases.
The senario is there is a page to provide search criterion, the criterion may comes from column A from Table 1, column B from table 2 (all thse tables can be joined). After speicified these criterion, the search result can display fields from various columns of various table.
Is there any framework does it?
Originally posted by grace chow:
if there is duplicate login, I wanna to logout the previous login.
I have the previous session ID, I wanna to know if it is possible to remove th previous session using this session id .so the the previous login will be invalidated.