This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Getting MEAN with Mongo, Express, Angular, and Node and have Simon Holmes on-line!
See this thread for details.
The moose likes JSP and the fly likes Using Struts Validation with a radio button Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JSP
Bookmark "Using Struts Validation with a radio button" Watch "Using Struts Validation with a radio button" New topic
Author

Using Struts Validation with a radio button

Rakesh Kurup
Greenhorn

Joined: Nov 15, 2005
Posts: 2
I have a radio button in my jsp page. On selecting it all the other fields in that page should be disabled. I dont want to implement this using javascript. What is the best thing I can do?
I am relatively new to Struts validation and Taglibraries, but I am assuming I should be using either of these.
Please give me some references/tips as to how I can implement this.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 62579
    
  68

I dont want to implement this using javascript.


Then you are completely out of luck. There is nothing in JSP, Struts or any other server-side technology that will do this for you. It is a client-side function and must be performed with client-side Javascript.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Using Struts Validation with a radio button