Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-24-2007, 05:22 AM
Member
 
Join Date: Jul 2007
Posts: 39
christina is on a distinguished road
question about struts-config.xml
Can anyone tell me what does action tag do and its attributes?
I've read tutorials and manuals but I still haven't understood the concept
can you help me?
thanks in advance
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-25-2007, 01:22 PM
Member
 
Join Date: Jul 2007
Posts: 2
Problem is on a distinguished road
Action tag specifies what action has to be taken when a particular key(specified by xxx.do) has been encountered in ur JSP code.


attribute path specifies by what name u want to specify the action in the struts-config.xml,
scope can be request, session,
name is the name of ur form class
type is the full path of ur action class... eg; com.urcompany.struts.action.ACTIONCLASSNAME
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 02-15-2008, 12:45 PM
Member
 
Join Date: Dec 2007
Posts: 19
JavaEmpires is on a distinguished road
Just adding some more attributes to wat "Problem" mentioned

validate : can be true or false... specifies whether to validate the form[html/jsp] using the form bean. In other words this will execute validate() method from ur formbean.

input : the file name wherein the form[jsp] resides. The values from this files will be populated in the form bean for validation.







Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Question mark colon operator question orchid Advanced Java 4 11-12-2008 10:08 AM
struts-config.xml Heather Web Frameworks 2 01-17-2008 01:23 PM
reading values from config file sathish_2111 Enterprise JavaBeans 3 08-10-2007 05:09 PM
Struts or JSF? Swamipsn Web Frameworks 0 08-01-2007 12:10 PM
struts question Alan Web Frameworks 2 05-17-2007 06:11 PM


All times are GMT +3. The time now is 05:33 PM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org