| Home | JSP | EJB | JDBC | Java Servlets | WAP | Free JSP Hosting | Spring Framework | Web Services | BioInformatics | Java Server Faces | Jboss 3.0 tutorial | Hibernate 3.0 | XML | ||||
|
||||
|
|
||||
| Tutorial Categories: Ajax
| Articles
| JSP
| Bioinformatics
| Database
| Free
Books |
Hibernate
| J2EE
| J2ME
| Java
| JavaScript
| JDBC
| JMS
| Linux
| MS
Technology |
PHP
| RMI
| Web-Services
| Servlets
| Struts
| UML
|
|
||||||||||||||||||||||||||||||
|
Home | JSP | EJB | JDBC | Java Servlets | WAP | Free JSP Hosting | Search Engine | News Archive | Jboss 3.0 tutorial | Free Linux CD's | Forum | Blogs |
||||||||||||||||||||||||||||||
Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.
Copyright © 2007. All rights reserved.
Current Comments
7 comments so far (post your own) View All Comments Latest 10 Comments:How to write logic tag in struts2.0
can you help me plz
Posted by prasad on Wednesday, 09.24.08 @ 01:21am | #80644
Is this done in struts.xml. If so can I see this artifact too in context of this example
Posted by Jeremy on Tuesday, 09.23.08 @ 22:54pm | #80642
There is actually a problem with this tag in Struts 2 !! If you give a namespace to appropriate package and containing form, select tag doesn't recognize list parameter anymore.
Posted by Miki on Wednesday, 04.16.08 @ 00:59am | #56639
Good job showing how to add the select box. Now how do we use the data that gets submitted with the form? I have uses the month example in a page with an action that has a getter and setter for the field I put in the name attribute of the select tag. I have tried declaring it as a String and an Integer but no matter what it ends up as null in the action after submitting the form. Can you provide an example of how the action should handle the select tag?
Thanks!
Posted by Dave on Wednesday, 02.13.08 @ 22:38pm | #48180
When I use the struts2 select tag with a static map like:
<s:select label="Select Month"
name="monthname"
headerKey="1"
headerValue="-- Please Select --"
list="#{'01':'January','02':'February','03':'March','04':'April',
'05':'May','06':'June','07':'July','08':'August','09':'September','10':
'October','11':'November','12':'December'}"
/>
on Weblogic Server 10.x I get a JSP compilation error on the semicolon (:). Weblogic seems to complain about the tag format for the list:
list="#{'01':'January','02':'February'}
Any idea why this is happening? Could it be a clash with the Struts1 jars?
Posted by Seth on Monday, 12.17.07 @ 23:04pm | #42749
Hi
i am getting only title ie "select tag Examples". i am not getting the other result can any help me over here
Posted by vijay on Tuesday, 11.27.07 @ 17:29pm | #40713
Hello,
Is there any ways for us to set selected option based on variables set by an action who render the jsp for success result?
like on your example, how can we automatically set the selected option of date, to option number 5 maybe.
Posted by First on Monday, 08.6.07 @ 13:23pm | #22746