Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=2884152 By: ann04
Hello, I am trying to write a simple application where the user needs to log in with username and password which are stored in db. I get this error message:" cannot resolve symbol symbol : variable searchFieldNames_customer location: class org.apache.jsp.ex_jsp searchFieldNames_customer.get("first_name") );" where 'customer' is tableName in my db, and 'first_name' is the columns name in that table. I checked the classpath, it contains the dbfroms.jar file. Here is te whole .jsp: <%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %> <html> <head> <db:base/> </head> <body> <h1>Menu</h1> <table border="1" cellspacing="0" cellpadding="2"> <db:dbform followUp="/menu.jsp"> <db:header> <TR> <td valign="top">Header</td> </TR> <p> <db:gotoButton caption="Edit services" destination="/service.jsp" destTable="customer0"/> </p> <table align="center"> <tr> <td> <b>Username: </b> <br> <input type="text" name="<%=searchFieldNames_CUSTOMER.get("FIRST_NAME") %>"> <br> </td> </tr> <tr> <td> <b>Password: </b> <br> <input type="password" name="<%=searchFieldNames_CUSTOMER.get("PASSWORD") %>"> <br> </td> </tr> <tr> <td align="center"> <br><input type="submit" value="Log in!" onClick="javascript:document.dbform.submit()> </td> </tr> </table> </db:header> <db:body> </db:body> <db:footer> <tr> <td>Footer</td> </tr> </db:footer> </db:dbform> </body> </html> ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=55830 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ DbForms Mailing List http://www.wap-force.net/dbforms