How to use Java Beans with JSP

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mjahabarsadiq
    New Member
    • Feb 2007
    • 38

    How to use Java Beans with JSP

    Hello Friends,

    I need to know the way to use beans with jsp.

    If anybody know please help me..

    I would like to have the output of the beans to be returned to the jsp page.

    Please help me..

    By

    Sadiq
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Originally posted by mjahabarsadiq
    Hello Friends,

    I need to know the way to use beans with jsp.

    If anybody know please help me..

    I would like to have the output of the beans to be returned to the jsp page.

    Please help me..

    By

    Sadiq
    Get a tutorial on it and read about it. It can't all be explained in one post.

    Comment

    • mjahabarsadiq
      New Member
      • Feb 2007
      • 38

      #3
      Ok. Thank you..

      Do you know where to get the tutorial on line

      Comment

      • r035198x
        MVP
        • Sep 2006
        • 13225

        #4
        Originally posted by mjahabarsadiq
        Ok. Thank you..

        Do you know where to get the tutorial on line


        Comment

        • mjahabarsadiq
          New Member
          • Feb 2007
          • 38

          #5
          I have tried to use beans using <jsp:usebeans > tag. But it is not working

          It produces the error 'class not found'

          I place the class file in '../WEB-INF/classes/package/.' folder.

          What could be wrong with this. Is there any changes have to be made to the 'web.xml' file

          Thanks in advance

          M. Jahabar Sadiq

          Comment

          • r035198x
            MVP
            • Sep 2006
            • 13225

            #6
            Originally posted by mjahabarsadiq
            I have tried to use beans using <jsp:usebeans > tag. But it is not working

            It produces the error 'class not found'

            I place the class file in '../WEB-INF/classes/package/.' folder.

            What could be wrong with this. Is there any changes have to be made to the 'web.xml' file

            Thanks in advance

            M. Jahabar Sadiq
            You obviously missed a step. Are you following a guide/tutorial?

            Comment

            Working...