File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "jsp" Watch "jsp" New topic
Author

jsp

siddhartha Mondal
Greenhorn

Joined: Sep 05, 2011
Posts: 3
How to implement conditional viewing using <div> in jsp??
I am trying to implent a simple form submission using struts MVC. where i dont want to display the mailing list checkbox if country is selected as INDIA. I am a beginer in scripting languages. so please help me.. the code is given below



i have written a differnt country class for the country selection and another action page for populating the values in the success page.
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

Use JSTL's if tag . by the way: I strongly suggest you to include JSTL jars in your webapplication's lib folder. I promise, it would be very helpful to you.
siddhartha Mondal
Greenhorn

Joined: Sep 05, 2011
Posts: 3
Seetharaman Venkatasamy wrote:Use JSTL's if tag . by the way: I strongly suggest you to include JSTL jars in your webapplication's lib folder. I promise, it would be very helpful to you.




Befor i go for JSTL i tried this using html/jsp only..

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jsp