1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Use of Beans

Discussion in 'Web Design, HTML And CSS' started by dsptl, Mar 23, 2010.

  1. dsptl

    dsptl New Member

    Joined:
    Jun 14, 2009
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    0
    how to use bean in JSP(only jsp:usebean, not MVC).

    Assume you have a grade.txt file which contains following data:

    Tom 90

    Jerry 70

    Katy 80

    John 60

    it asks you to create a bean named grade.java, a jsp page named graderesult.jsp, and a html page named gradecheck.html.

    gradecheck.html provides a input textbox and a button submit, once you submit the name of the student, the graderesult.jsp will communicates with bean to show the name and the score corresponding to the person.
     
  2. dsptl

    dsptl New Member

    Joined:
    Jun 14, 2009
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    0
    help me someone please
     

Share This Page