aspose file tools
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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Program action of a page dynamically depending on the link from where it is called
 
Similar Threads
read dynamic text fields
Struts 1.1 question (Might not be an easy one)
struts 1 form
How to add error message before sendRedirect
How to access the request object in struts2 action