Home Struts Struts1 Struts 1.1 Tutorials

Related Tutorials


 
 

Share on Google+Share on Google+

Struts 1.1 Tutorials

Advertisement
Struts 1.1 Tutorials, Learn how to use Struts 1.1 to develop web applications.

Struts 1.1 Tutorials

     

This page is giving tutorials on Struts 1.1. Struts 1.1 was the earlier version of Struts framework. It provides many features for the development of robust dynamic web applications.

In this section we have given the details and example code of different types of tags available in Struts 1.1.

With the help of these tags you can develop nice, highly responsive applications for your clients. Struts framework can be used to develop the applications for Intranet and Internet.

Developers are using the Struts framework for developing various kinds of enterprise applications.

  1. Hidden Tag <html:hidden>:
    This tag facilitate  an HTML <input> element of type hidden, populated from the specified value or the specified property of the bean  associated with  our current form. This tag is only valid when nested inside a form tag body.
     
  2. Checkbox Tag <html:checkbox>:
    This tag create an HTML <input> element of type checkbox, populated from the specified value or the specified property of the bean  associated with our current form.
      
  3. Img Tag<html:img>:
    html:img
    Tag : Renders an HTML <img> element with the image at the specified URL. This tag allow dynamic generation of an image as  specified attributes of this tag.
     
  4. Radio Tag <html:radio>:
    html:radio Tag -
    This Tag renders an HTML <input> element of type radio, populated from the specified property of the bean associated with  our current form.
     
  5. Rewrite Tag<html:rewrite>:
    html:rewrite Tag -
    This tag renders a request URI  based on exactly the same rules as the link tag does, but without creating the  hyperlink.
     
  6. Select Tag<html:select>:
    html:select Tag  :
    Create a HTML <select> element, associated with a bean property specified by our attributes. 
      
  7. Textarea Tag<html:textarea>:
    html:textarea Tag -
    is used to create  a textarea element. This tag is only valid when nested inside a form tag body.
     

Struts Bean Tags

  1. Define Tag:
    bean:define Tag -
    is used to define a scripting variable based on the value(s) of the specified bean property.
      
  2. Cookie Tag:
    bean:cookie Tag
    - is used to define scripting variable based on the value(s) of the specified request cookie.
     

  3. Header Tag :
    bean:header Tag - is used to define a scripting variable based on the value(s) of the specified request header.
      
  4. Include Tag:
    This tag performs an internal dispatch to the specified application component (or external URL) and makes the response data available from that request as a bean of type String.
     
  5. BeanPage Tag :
    This tag retrieve the value of the specified item from the page context for this page, and define it as a scripting variable. 
      
  6. Parameter Tag :
    This tag retrieve the value of the specified request parameter and define the attribute of  type String or String[] in page scope .
     
  7. Resource Tag:
    This tag  retrieve the value of the specified web application resource, and make it available as either a InputStream  or a String, depending on the value of the input attribute.
      
  8. Struts Tag:
    This tag retrieve the value of the specified Struts internal configuration object, and define it as a scripting variable.  Which is accessible as a  remainder of the current page and as a attribute of  page scope.

     

Advertisements

If you enjoyed this post then why not add us on Google+? Add us to your Circles



Liked it!  Share this Tutorial


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: April 3, 2006

Related Tutorials

Discuss: Struts 1.1 Tutorials   View All Comments

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments:8
shunmugam
April 28, 2011
Will Struts 1.1 supports java 6?

Hello Guys, I am working on a Struts project which was built initially on jdk 1.4. Now we are migrating it to java 6. My question is will struts 1.1 supports java 6? If so, what are the changes i have to make? Please help me. Thanks, Shunmuga
himmat
September 24, 2011
struts examples

all the sample example given on this site are very good, anybody can quickly learn struts application and improve skill effectively.
kramanareddy
November 28, 2011
struts

plz send meterial and questions
anil
December 31, 2011
struts

struts framework mainly depends which work
Ishita Nandi
April 13, 2012
Struts

Not up to the mark
Amit Solanki
October 8, 2012
struts

it deserve more than it ...........
sateesh
April 1, 2013
How to achieve sessiontracking in struts

nthng
my name is rambabu
August 15, 2011
i want struts sample projects

i have more concentrate on struts plz send me sample projects on struts let me know sample code and how to develope the application
DMCA.com