View RSS Feed

My Java Tips

  1. Using tags in Struts

    by , 11-15-2011 at 06:26 PM (My Java Tips)
    Web applications differ from conventional websites in that web applications can create a dynamic response. To make it easier to reference dynamic data from a page, the Struts framework offers a set of tags. Some of the tags mimic standard HTML tag while providing added value. Other tags create non-standard, but useful controls. While HTML provides a simple a tag for creating hyperlinks, the HTML tag often requires us to include redundant information. Also the HTML tag cannot easily access dynamic ...
    Categories
    Struts
  2. Tags and JavaBeans

    by , 05-21-2011 at 09:42 PM (My Java Tips)
    We use tags and beans to fetch data from the bean and present it. If you have some knowledge about these, then you will love working with these.

    Bean interaction involves JSP getting the value of some property of a bean and displaying that value to the user. Another role of JavaBean is defining how events are specified. Tags can be concerned with two bean-related issues:

    • Introspecting the beans to find the properties and get the methods that these tags should call
    ...
    Tags: javabean, tag Add / Edit Tags
    Categories
    Java EE