Please help me to get knowledge about struts tags(html,bean,logic).
hai Friends,
I know basics of struts. I have done basic examples.
I have to know , how to get dynamic values in "view".
Instead of writing like this..
<html:select property="color1" size="4" >
<html:option value="red">red</html:option>
<html:option value="blue">blue</html:option>
<html:option value="green">green</html:option>
<html:option value="orange">orange</html:option>
<html:option value="red">red</html:option>
<html:option value="pink">pink</html:option>
</html:select>
How to use <html:options> tag to get dynamic values.
I have to get knowledge about this tags, so please suggest some
sites (or) send some materials (or) send some live examples("[email protected]"). It will very useful..
thanks friends....
take care...
bye.....
will be very useful for me...
you have to have a list of label and value pairs in you ActionForm then define it in your jsp to able able to use it in your <html:options> tag
ActionForm
public final class ColorForm extends ActionForm {
public String color;
public void setColor(String color) {
this.color = color;
public String getColor() {
return this.color;
public List getColorList() {
List l = new ArrayList();
ColorLabelValueBean lvRed = new ColorLabelValueBean();
lv.setLabel("Red");
lv.setValue("R");
l.add(lv);
ColorLabelValueBean lvGreen = new ColorLabelValueBean();
lv.setLabel("Green");
lv.setValue("G");
l.add(lv);
ColorLabelValueBean lvBlue = new ColorLabelValueBean();
lv.setLabel("Blue");
lv.setValue("B");
l.add(lv);
return l;
}Label - Value Bean
public final class ColorLabelValueBean implements Serializable {
private String label;
private String value;
public void setLabel(String label) {
this.label = label;
public String getLabel() {
return this.label;
public void setValue(String value) {
this.value = value;
public String getValue() {
return this.value;
}JSP
<bean:define id="colorListOption" name="ColorForm" property="colorList" type="java.util.List" />
<html:select property="color">
<html:option value=""></html:option>
<html:options collection="colorListOption" labelProperty="label" property="value" />
</html:select>
...Good luck!
Similar Messages
-
Hi, please help me , i get notification about a new update for my iPad when I do the instal for the new version it is asking me for a passcode but which passcode may I have to enter? Because when I enter my gmail passcode it is call me that my passcode is failed
The passcode you need to enter is the passcode you set on your device. It is the passcode that you enter when you turn on your iPad or awaken it from sleep after and Auto lock.
If you do not know or remember your password and did not store it somewhere then you will have to restore your device.
http://support.apple.com/kb/HT1212 -
I accidently deleted my icloud a/c and lost some of my important contacts , please help me in getting them back.
Hey ashvinee,
Sorry to hear you're having difficulty with your contacts. We have a few articles that could resolve your issue.
I would start here:
iCloud: Troubleshooting iCloud Contacts
http://support.apple.com/kb/ts3998
Recovering iCloud or MobileMe data from iTunes backups for an iOS device
http://support.apple.com/kb/TS4108
This second article applies to you if:
You want to recover your Contacts, Calendars, and Bookmarks from an iTunes iOS device backup made while using iCloud or MobileMe to update your Contacts, Calendars, and Bookmarks on your iOS device.
You have created backups in iTunes, and you do not have or are unable to restore from an iCloud Backup. Learn more about how to restore from an iCloud Backup.
You have lost data from the web, your iOS device, and all other synchronized clients, and you have no other usable backups to recover from.
Cheers,
David -
My phone wont let me download anything even free stuff or update.it keep saying something wrong with my billing info so i fix it but still cant download.I signed out sign back in still nothing please help i'm getting angry
If it says your billing info is wrong that means that your credit card issuer is refusing to approve your account. You will have to solve the problem with your bank or credit card company.
-
In my mac book pro i don't create icloud keychain. But it is asking password.Please help me to get out of this problem.In OS X Mavericks
Hi, nportillo,
The next time you attempt to reach Skype Customer Service, try again using a different web browser and choosing a different path through the various drop-down menu options presented. Do not choose the obvious - you have already established that path is not working. Also, look to approve a pop-up dialogue box which would connect you to start an instant message chat with a customer service agent. If you have pop-ups blocked in your browser settings, this will also impede reaching an agent.
Skype is aware of problems reaching their customer service unit via the website, however people are getting through. I have flagged your report for follow-up by those to whom I report.
Regards,
Elaine
Was your question answered? Please click on the Accept as a Solution link so everyone can quickly find what works! Like a post or want to say, "Thank You" - ?? Click on the Kudos button!
Trustworthy information: Brian Krebs: 3 Basic Rules for Online Safety and Consumer Reports: Guide to Internet Security Online Safety Tip: Change your passwords often! -
My 4th generation ipod touch is not turning off when i hold the wake button for few seconds the Voice Control Function Starts Automatically.Please help me to get out of this problem.
Sorry i mistakenly made this question. It was alright. No Problem At ALL
-
I have updated my ipad4 to ios7 and then I couldn't find my personal hotspot option.... Please please please help me to get back .... I really need help
First thing to try is to reset your device. Press and hold the Home and Sleep buttons simultaneously until the Apple logo appears. Let go of the buttons and let the device restart. See if that fixes your problem.
Personal Hotspot should be at Settings > Cellular Data > Personal Hotspot -
my ipad is disabled permantly and i dont want to loose my pictures i keep going through the 5 steps and each time it says "itunes cannot connect to ipad because it is locked with a passcode" WHAT DO I DO PLEASE HELP ME. thank you. sorry about spelling.
FORCE IPAD INTO RECOVERY MODE
1. Turn off iPad
2. Turn on computer and launch iTunes (make sure you have the latest version of iTune)
3. Plug USB cable into computer's USB port
4. Hold Home button down and plug the other end of cable into docking port.
DO NOT RELEASE BUTTON until you see picture of iTunes and plug
5. Release Home button.
ON COMPUTER
6. iTunes has detected iPad in recovery mode. You must restore this iPad before it can be used with iTunes.
7. Select "Restore iPad"...
Note:
1. Data will be lost if you do not have backup
2. If you did not do step 4 properly, start all over again. -
I have iOS 6 on my iPhone. i have linked my contacts with facebook and yahoo, which has doubled or triplicated some of the contacts. how can i integrate them into one? please help. it is getting on my nerves. thanks
click on the contact which you want to integrate, click the edit button scroll down u will find a option called link contacts use it to link it to the duplicate contact
-
Hi can somebody please help me to get Apple phone support stop calling me to tell me that i NOT awnsering the phone!!!!
The battery capacity on a 5S is a little better but be sure to read the special notes on conserving battery power on these phones. Here are two in particular.
17 Tips to Extend iPhone Battery Life (Updated for iOS 7)
How to improve iPhone battery life, what to do if your iPhone battery is running low - How to - Macworld UK
Regards, 71 -
Please help me to get Oracle 10.2.0.5 software for 64 bit Windows 2008 R2
Hi All,
Subject: Please help me to get Oracle 10.2.0.5 software for 64 bit Windows 2008 R2 operating system.
I am looking for Oracle 10.2.0.5 software to install in windows 2008 server (64 bit) R2. I tried with oracle download repository but unfortunately I couldnt find this software. In the below link I can see the product Oracle 10.2.0.5 - 64 bit (Itanium). I have tried to download and install in the server but I received in-compatible error message.
http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html
From the oracle support certification site I have found that the Oracle 10.2.0.5 is the compatible version to installed in windows 2008 server(64) R2.
I am trying very hard to find Oracle 10.2.0.5 - 64 bit. Can you please suggest me where I can download this software.
Please do the needful.
Regards,
JameHi;
Which means, do i need to install 10.2.0.4 and then to upgrade 10.2.0.5 using patchset?10.2.0.1 is base relase 10.2.0.x is patchest. 10.2.0.5 cover previous patchest errors which mean you do not need install 10.2.0.4 than upgrade it 10.2.0.5
Regard
Helios -
device disabled after entering wrong passcode.
Please help me in getting this unlocked without lossing the data as the data is really important for meI think you should call via phone or perhaps take it to a phone store. I suggest taking your id, box packaging and other necessities such as the reciept of the phone being purchased.
Hope this helped -
I have updated my iphone with the current software but it is showing you need to connect to of itunes to activate your phone, when i did that it is continuously showing an error.please help me to get through.
Kindly Activate my phone.Rajan Gupta wrote:
...it is continuously showing an error.
See here > http://support.apple.com/kb/TS3424
Also see this discussion.
https://discussions.apple.com/message/21189708 -
Please help. Keep getting a conversion error when trying to convert a PDF to a .docx. Advice?
Sara,
Please see my answers in bold below.
What browser are you using? Try clearing the cache, or using a different browser. N/A
Are you converting from within Reader, or directly via the ExportPDF website. Within Reader.I disabled the OCR and this did not work either. Try converting from within Reader, and disable OCR as detailed in this document: How to disable Optical Character Recognition (OCR) when converting PDF to Word or Excel.
Are you on a networked computer? Make sure that there aren't any firewall/proxy settings that are preventing you from uploading files to the Internet. Not having problems uploading the file--that works fine.
Make sure the file is within the file-size limit of 100 MB. It is <40.
I get the error message, "File failed to be converted using Adobe ExportPDF online."
Thanks for your help in advance. -
Hi, would you please help me to get red of hips of emails that I am receiving from this site? I want to delete my profile. How can I do it?
Read Frank Caggiano's User Tip here: Stopping emails from ASC
Maybe you are looking for
-
MacBook does not respond when I try to download files off the internet
I have a MacBook OS X 10.5 Leopard and recently I have been trying to download and open things from the internet and they won't download. For example, I tried to download Safari (I have FireFox) and the box that says save file as... came up so I hit
-
How do I save files to external hard drive in anticipation of a OS clean install?
How do I save files to an external hard drive in anticipation of a OS clean install? I'm worried that the new OS will not be able to find my photos. My data have not been backed up for 2 months, and the OS is corrupted. Currently working with a sen
-
Error while running adobe interactive form
Hi, I made a scenario to update a z table using adobe interactive form in webdynpro.While executing I am getting the error as : Termination type was : RABAX_STATE Can anyone please guide me as to what can be the reason behind this error. Thanks in ad
-
We are upgrading to EIS 6.2. I've set up an outline that mirrors our production outline and can perform a member load without errors. The data load also runs without errors, the problem is no data gets loaded. I have cut and paste the SQL query the E
-
I changed the password to my e-mail with AOL. I can not changed the password on my mac desktop, iphone or ipad so mail will start going there again? Any help. Thanks.