This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Struts and the fly likes Program action of a page dynamically  depending on the link from where it is called Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Program action of a page dynamically  depending on the link from where it is called" Watch "Program action of a page dynamically  depending on the link from where it is called" New topic
Author

Program action of a page dynamically depending on the link from where it is called

mihir maniar
Ranch Hand

Joined: Sep 09, 2003
Posts: 88
i have a page with 10 text boxes to be filled. i want to use it for multiple purposes in such a way that at time i want to make former 5 fields mandatory if i come from login page , and latter 5 non-mandatory. While other times i want to make the latter 5 fields mandatory and the former 5 fields non mandatory. so what i do is i map the action to the validations in the validations.xml instead of the form. but my problem is how do i set the action of this form as per the link from which form is called. i hope my question is clear.Any kind of help is appreciated. Thanks in Advance.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Program action of a page dynamically depending on the link from where it is called