Following are the steps to configure tag libraries in Struts 1.xx version.
Manual configuration:
Used in Struts version less than or equal 1.1
Step 1: Download struts-bean.tld, struts-html.tld, struts-logic.tld and struts-tiles.tld and put the same in WEB-INF
Step 2: Declare the taglib uri in web.xml
And so on
Step 3: Access the same in Jsp
Automatic Configuration:
Used in Struts version 1.2, 1.3
Step 1:
Download struts-taglib.jar and put the jar in WEB-INF/lib
(All the tld are present in struts-taglib.jar\META-INF\tld)
Step 2: Access the tlds in Jsp
Also see the following interesting video on Struts: -
Know more on Java interview questions
Regards,
Get more on Java/Struts interview questions from author’s blog
Manual configuration:
Used in Struts version less than or equal 1.1
Step 1: Download struts-bean.tld, struts-html.tld, struts-logic.tld and struts-tiles.tld and put the same in WEB-INF
Step 2: Declare the taglib uri in web.xml
And so on
Step 3: Access the same in Jsp
Automatic Configuration:
Used in Struts version 1.2, 1.3
Step 1:
Download struts-taglib.jar and put the jar in WEB-INF/lib
(All the tld are present in struts-taglib.jar\META-INF\tld)
Step 2: Access the tlds in Jsp
Also see the following interesting video on Struts: -
Know more on Java interview questions
Regards,
Get more on Java/Struts interview questions from author’s blog
This is nice blog it provides the informatiom about java but if you take maximum information then read this.
ReplyDeleteDUCAT provides CORE, ADVANCE, SPRING, STURTS AND HIBERNATE JAVA TRAINING IN GHAZIABAD AND GREATER NOIDA WITH 100% JOB ASSISTANCE.IF YOU KNOW MORE ABOUT THEN CLICK HERE CORE, ADVANCE, SPRING, STURTS AND HIBERNATE,JAVA TRAINING GHAZIABAD,GREATER NOIDA