Share on Google+Share on Google+

brindhas
Bean
1 Answer(s)      3 years and 11 months ago
Posted in : Vurduk mu Şamarı Oynar Gotünün Damar

what is bean? how to use bean

Ads

View Answers

April 30, 2013 at 3:30 PM


HTML Code:

<html>

<head><title>Contents</title></head>

<body bgcolor="red">

<table width ="1320" height="200" border="0" bgcolor="86AEF">
<tr>

<td>
<img src="phone.jpg" width="200" height="200" algin="left">
</td>

<td width="50%">
<div align="center" class="banner"><font size="50" color="burple"> <b>MOBILE STORE</b></font>
</span>
</div>
</td>

<td>
<img src="pho.jpg" width="195" height="200" align="right">
</td>

</tr>
</table>

<table width="100" border="0" align="left">
<tr>

<td height="50" bgcolor="skyblue" align="center">
<font size="5" face="Arial Black" color="blue">HOME</font>
</td>

<td height="50" bgcolor="skyblue" align="center">
<font size="5" face="Arial Black" color="blue">PRODUCTS</font>
</td>
<td height="50" bgcolor="skyblue" align="center">
<font size="5" face="Arial Black" color="blue">IMAGES</font>
</td>
<td height="50" bgcolor="skyblue" align="center">
<font size="5" face="Arial Black" color="blue">COMPANY</font>
</td>

<td height="50" bgcolor="skyblue" align="center">
<font size="5" face="Arial Black" color="blue">BRANCHES</font>
</td>

<td height="50" bgcolor="skyblue" align="center">
<font size="5" face="Arial Black" color="blue">DEALERS</font>
</td>

<td height="50" bgcolor="skyblue" align="center">
<font size="5" face="Arial Black" color="blue">FEEDBACK</font>
</td></tr></table>



<table>
<tr>
<td width="500" height="400" align="left" bgcolor="white">
<img src="76jr4an6.jpg" width="500" height="300" align="top"></br>

<font color="burple">
<b>      Username<input type="text" value=""></br>
      Password <input type="pass" value=""></b></font>
     <img src="button.jpg">
</td>


<td ROWSPAN="2" color=">
Already do you have a account? Go to Login</br>
Don't you have any account to click register</br>
<img src="register1.jpg"></td>

</tr></table>


</body>
</html>


JDBC code:

<%@ page language="java" import ="java.sql.*" %>
<% 
  Connection con;
  ResultSet rs;

  try
 {
     String strName=request.getParameter("username");
     String strPass=request.getParameter("password");
     Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
     con=DriverManager.getConnection(jdbc:odbc:data,"","");
     Statement st=con.CreateStatement("SELECT * FROM  viji");
     rs=st.executeQuery();
     while(rs.next())
   {


         if(strPass.equals(password)
         {
              out.println("correct");
          }
         else
        {
              out.println("not correct");
        }
 }
catch(Exception e)
{
  out.println("Error "+E);
}
finally
{
rs.close();
con.close();
}

%>









Related Tutorials/Questions & Answers:
Bean
Bean  what is bean? how to use bean   HTML Code: Contents MOBILE STORE HOME PRODUCTS IMAGES COMPANY BRANCHES DEALERS FEEDBACK       Username       Password
Managed Bean
Managed Bean  What is Managed Bean
Advertisements
Java Bean
Java Bean  How to run java bean program in Netbeans
Java Bean
Java Bean  What is a Java Bean?   A Java Bean is a software component that has been designed to be reusable in a variety of different environments
Java Bean
Java Bean  What is Java Bean?   I got my answer already here: http://www.roseindia.net/jsp/usingbeansinjsp.shtml Thanks a lot
entity bean
/ejb/entity-bean-example.shtml
bean object
bean object  i have to retrieve data from the database and want to store in a variable using rs.getString and that variable i have to use in dropdown... java.util.*; public class Bean { public List dataList(){ ArrayList list=new
Mean by Bean Scope
Mean by Bean Scope  What is Bean Scope
Session Bean
is a Session bean   A session bean is the enterprise bean that directly.... A session bean represents a single client accessing the enterprise application.... A session bean makes an interactive session only for a single client and shields
What is bean wiring?
What is bean wiring?  Hi, What is bean wiring? Thanks
What is Bean Factory ?
What is Bean Factory ?  Hi, What is Bean Factory ? Thanks
bean area - SQL
bean area  how to print bean area in excel sheet from oracle forms
JSF Manage Bean
JSF Manage Bean   how to register JSF manage bean? Please give me an example. Thanks!   JSF Manage Bean Example
Special Bean Types of WebApplicationContext
In this section, you will learn about Special Bean Types in the WebApplicationContext
bean - JSP-Interview Questions
bean  what is use bean in jsp?  Hi Friend, Please visit the following links: http://www.roseindia.net/jsp/using-bean-counter.shtml http://www.roseindia.net/jsp/java-bean-example-jsp.shtml Hope
JAVA BEAN WITH ORACLE FORMS
JAVA BEAN WITH ORACLE FORMS  Hi..I am doing my final year Project.. I need the ste-by-step procedure to integrate a bean with oracle forms? Please help me
Java Bean Properties
Java Bean Properties  What are the properties of a normal java Bean(Not EJB)   HI Friend, Please visit here: http://www.roseindia.net/jsp/usingbeansinjsp.shtml Thanks
Session Bean Example
Session Bean Example  I want to know that how to run ejb module by jboss 4.2.1 GA (session bean example by jboss configuration )?   Please visit the following link: http://www.roseindia.net/javabeans
message driven bean example
message driven bean example  can any one tell me how to develop and execute ---------- j2ee message driven bean example in weblogic server with (netbeans or eclipse).   Have a look at the following link: http
Stateless Bean Error
Stateless Bean Error  Ejb stateless bean giving following error,please help me. 11:49:54,894 INFO [STDOUT] Error:$Proxy72 cannot be cast... are providing you a link that will illustrate you more clearly about Stateless Bean
java bean - EJB
java bean  difference between java bean and enterprice java bean  first of all dont compare java bean with enterprise java bean because enterprise java bean is a techonology where we can develope business logic
Java Bean - Java Beginners
Java Bean  Sir, How can i add a java bean into a target GUI.... Thanking you Pabitra Kr Debanth.   Hi friend, Java Bean classes must..., it will be a visible Java Bean. Java Beans may also be invisible
java bean code - EJB
java bean code  simple code for java beans  Hi Friend... the Presentation logic. Internally, a bean is just an instance of a class. Java Bean Code: public class EmployeeBean{ public int id; public
Stateless Bean - EJB
Stateless Bean  Hi everybody, I m encountring a problem in stateless bean. I have taken a Integer type input in Client file, at the time of running the program it gives error java.lang.NumberFormatException : null. Please
Input in Stateless Bean - EJB
Input in Stateless Bean  Hello, I am having problem in taking the input in stateless bean, when I am trying to get integer or double type input from the user in the client file, It shows me the error
A Message-Driven Bean Example
A Message-Driven Bean Example   ... messages asynchronously,  a Message-driven bean is used. Message driven... the following characteristics: A message-driven bean?s instances retain
What is Bean lifecycle in Spring framework?
What is Bean lifecycle in Spring framework?  HI, What is Bean lifecycle in Spring framework? Thanks
How to add a bean in spring application?
How to add a bean in spring application?  Hi, How to add a bean in spring application? Thanks
What are Bean scopes in Spring Framework
What are Bean scopes in Spring Framework  Hi, What are Bean scopes in Spring Framework Thanks
Tutorials   
Java Spring Hibernate Struts Training how to retrieve text and images from mysql database and show on html page using jsp servlet How to install Neo4j on Ubuntu 15.10? please help me in these prog MYSQL - mysql copy table to another table example by creating new table solution for mapping hibernate and pojos from net beans through database Connect GWT application with Oracle inventory System of Medical Store inventory System of Medical Store inventory System of Medical Store inventory System of Medical Store This code have created jTable that connected with a database.every cell of last column have a button.But this button doesn't work properly.Where is the error java program Java Database Program jdbc Database connection class in a live project ..?? What is JDBC architecture? Unable to Create DSN for excel to ms access importing data and edit that data Database Scrolling Buttons how to use foreign key in java How to delete content of a log file from linux terminal? JSP-Oracle connectivity Student Management System Java code for Saving Marathi (Indian local language ) in Mysql and retrieving the same crud operations with foreign key constraint. I really need help with this assignment question Please help me out Please Backup Failed Mysqldump Got Errno 28 On Write Upgrade MySQL 5.1 to 5.5 in cpanel mysqldump all databases com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'jpa.sequence' doesn't exist persistence xml class element persistence.xml for MySQL MySQL JDBC Driver pom dependency code Blob column jdk6 and oracle 8i connexion oracle 8i et jdk6 java [ cannot retrive date from sql ] why?? Order Entry System How to threow timeout exception when DB is not responding How to threow timeout exception when DB is not responding This is the employee form to add data to mysql database but I got error of NullPointerException, Is this write code please give me feedback as soon as possible make a method which takes user name & pwd as parameter & validate them against the database. If the corresponding user exist return true otherwise false. prabhakar validating credentials and displaying error message in login .jsp if not valid JDBC jdbc jdbc code register servlet vibhu connectiondetails from vibhu

Ads

 
Advertisement null

Ads