File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
How can we change the button name of a jsp from an action class?
Joined: Feb 15, 2007
Mar 10, 2007 02:53:00
I would like to know how we can change the button name from an action class. Inside the action class a condition is checked and if it becomes true then the submit button in the jsp should change to edit button. Please give some idea.
Thanks in advance.
Joined: Nov 06, 2000
Mar 10, 2007 06:43:00
Can't you just have the jsp check for this condition and then display the appropriate button?
Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
Joined: Jul 26, 2005
Mar 10, 2007 08:34:00
I guess its not possible from the action class. Instead, add one logic:equal tags to achieve this.
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: How can we change the button name of a jsp from an action class?
call remote url in struts
Trigger action on combo change
help with struts and a dynamic JSP
reset() funstion is not working
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014