Struts Application: Binding TextArea to Checkbox. Please Help!!!
Hi
I am working on a Struts Application, where I have to do the following function
There is a JSP Page which i have created. The JSP page has these elements. It is basically a page with which a user can specify what problem he/she has and can use the checkbox to check off the problem. The user also has a textarea, using which he/she can write their own version of the problem and submit the page. The page contains many textareas and checkboxes. I am using Struts and was reading about the Multibox usage in Struts. Can you please tell me how I can apply it in this area to bind a particular checkbox to a textarea.
Here is some of the JSP Code
<form name="re1ActionItems" method="post" action="req1ActionRegEntry.do">
<table width="907" height="667" border="1">
<tr>
<th width="578" scope="col">Nature of the Problem </th>
<th width="432" scope="col">Check</th>
</tr>
<tr>
<td height="53">There is no Firewall Configuration Standard OR There is an improperly drafted Firewall Configuration Standard </td>
<td><textarea name="fwConfig" cols="30" rows="4"><bean:message key="ate.fwConfig"/></textarea>
<input name="noFwConfig" type="checkbox" value="yes"></td>
</tr>
<tr>
<td>There is no DMZ which has been established for housing Public Facing Servers </td>
<td><textarea name="noDmzTxt" cols="30" rows="4"><bean:message key="ate.noDmz"/></textarea>
<input name="noDmz" type="checkbox" value="yes"></td>
</tr>
<tr>
<td>Firewall rules contains Any-Any rules, or there are no IP and Port Specific Rules which have been configured on the Firewall(s)</td>
<td><textarea name="anyAnyFwTxt" cols="30" rows="4"><bean:message key="ate.anyAnyFw"/></textarea>
<input name="anyAnyFw" type="checkbox" value="yes"></td>Can you please help me out with this issue.
P.S. I would not like to use Client Side Scripting to sort out this problem, please try and give me something which I can use Server side.
I presume your form is being stored in session scope?
It is for this purpose that struts has a "reset()" method.
Have the reset method set the boolean to false every time.
It will be set to true if the checkbox is checked, otherwise it will be left as false.
Similar Messages
-
My wife got a Iphone in Bangladesh. she do not know the password for apple ID, there is no way to collect it, as the email id for that iphone is not her. how she can use application store and itunes? please help me
If it is second hand, try putting it in recovery mode, and restoring it with itunes on a mac or pc.
Recovery mode tutoral:http://www.youtube.com/watch?v=dkVr5CxFiFM -
After downloading software for 123Cheese Photobook (Australia), when I try to open the program, i get: "Initialization error... Could not create the application support directory 'Macintosh HD:Library:Application Support:123 Cheese:'. Please help. The MacBook Pro is one day old.
ThanksHi, Im am also having this same problem,same message, trying to make a photobook with a non-refundable voucher. my Macbook pro is like 2 months old and im up to date with all of my updates.
What ended up happening with this problem for you because, Ive emailed cheese123 3 times and they haven't replied???
Can you help me? Thanx -
I have been trying to clean up my dock, but i can't remove certain items from my dock. I can't remove keynote, pages, numbers, or any microsoft applications. When I was trying to delete the apps they were not running or in use. I tried dragging the icons to the trash bin and I also tried dragging the icons away from the dock, but they just kee bouncing back to the dock. Please help!
Welcome to Apple Support Communities
Try deleting the Dock settings file. Open Finder, select Go menu (on the menu bar) > Go to Folder, and type ~/Library/Preferences. Then, delete "com.apple.dock.plist", and finally, open Terminal (in /Applications/Utilities) and type:
killall Dock
This will restore Dock to factory settings, so iWork applications and Microsoft apps will be deleted from Dock -
I can't open every third-party applications on my iPhone 4S, please help!!
Hello everyone,
Here's my problem:
I can't open every applications except all the built-in appplcations (Calendar, Clock etc.), in other words, all third-party applications are crashed when I open them.
I use two accounts (A & B) to download apps, after I change my current account A to another one B, the applications which belongs to B are working, and I try to download a new app it's working too.
When I change account B back to A, B's apps are still working, however all A's applications still crashed. But I downloaded a new app using account A, it's working...
So what can I do about all my existing account A's applications?? please help me thx...
Info:
iPhone 4S 16G (unjailbroken)
iOS 5.1.1Why are you using two accounts? That is most likely creating the conflict. Try picking ONE ID, then try downloading a new app from the App Store on that ID and see if your other apps work.
-
Application server error (Part 2) - Please Help!
Hi there
Yesterday I made this thread, [Click Here|Application server error - Please Help!;
We installed a application server and it could not locate that host which was fixed by adding the app server name in the host file on the production box. We now have another issue.
I we remove/disable the app server the messages still fail, cause it's looking for the app server host. I checked in ZR10 but nothing there is pointing to the app server.
Is there some other parameter we can check to change the system not to point to the app server but the original production server?
Thanks,
Jan
Edited by: Jan de Lange on Feb 11, 2010 9:49 AMHi Jan
Check the How to guide below. This documents the necessry configurations etc.
How Tou2026Scale Up SAP Exchange Infrastructure 3.0
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c3d9d710-0d01-0010-7486-9a51ab92b927?quicklink=index&overridelayout=true
Regards
Mark -
APPLICATIONS FOLDER HAS GONE BESERK - PLEASE HELP!
For the past few weeks, most of my apps no longer are visible in the applications folder.
The apps work; finder shows them as residing in the apps folder.
If I go to the applications folder, though, all I see are the apps with names that begin with "A", plus the CALCULATOR app.
Everything else [Quicktime, MS Office, etc.] does not appear.
However, all the applications are working, and finder shows them as being located in the apps folder.
Today, I found I cannot ADD new apps to my apps folder.
It will not accept new apps.
I am trying to install dashline 2.0 [a new app for me].
When I drag the app to the apps folder, the time bar appears and runs through the move.
However, the app never appears in the apps folder.
When I search in finder, dashline does NOT show up as being in the app folder.
If I try again, to drag the app to the apps folder, I get a prompt telling me the app is already in the apps folder.
I googled these problems but all the answers I find have to do with setting up new computers, transferring from one computer to another, or 'losing' apps from the computer altogether.
Here is the info on my computer.
MacBook Pro
17" late 2011
Mac OSX 10.7.5
1.4Ghz Intel Core i7
16GB Memory
not networked or shared
Please help if you can. I am hugely confounded on this one.Hello, Thomas, and thank you for this suggestion. Here is my list:
total 56
drwxrwxr-x+ 108 root admin 3672 Jun 10 09:15 .
drwxrwxr-x 35 root admin 1258 Jun 5 16:10 ..
-rw-rw-r-- 1 root admin 21508 Jun 10 09:14 .DS_Store
-rw-r--r-- 1 root wheel 0 Jun 13 2011 .localized
drwxr-xr-x+ 3 root wheel 102 Oct 5 2012 Address Book.app
drwxr-xr-x 7 root admin 238 Jun 6 17:52 Adobe
drwxrwxr-x@ 7 root admin 238 Feb 9 09:19 Adobe Acrobat X Pro
drwxrwxr-x@ 8 root admin 272 Mar 28 12:02 Adobe Acrobat XI Pro
drwxrwxr-x@ 13 root admin 442 Feb 5 2012 Adobe After Effects CS5
drwxrwxr-x@ 13 root admin 442 Feb 22 17:46 Adobe After Effects CS5.5
lrwxr-xr-x 1 root admin 64 Jun 6 17:40 Adobe Application Manager -> /Applications/Utilities/Adobe Application Manager/core/PDapp.app
drwxrwxr-x@ 6 root admin 204 Jul 23 2012 Adobe Audition CS5.5
drwxrwxr-x@ 9 root admin 306 Jul 23 2012 Adobe Bridge CS5.1
drwxrwxr-x@ 8 root admin 272 Jun 6 18:07 Adobe Bridge CS6
drwxrwxr-x@ 13 root admin 442 Jul 23 2012 Adobe Contribute CS5.1
drwxrwxr-x@ 5 root admin 170 Feb 4 2012 Adobe Device Central CS5
drwxrwxr-x@ 5 root admin 170 Jul 23 2012 Adobe Device Central CS5.5
drwxr-xr-x 3 501 admin 102 Mar 22 2012 Adobe Digital Editions.app
drwxr-xr-x 3 giovanna staff 102 Oct 9 2012 Adobe Download Assistant.app
drwxrwxr-x@ 12 root admin 408 Jul 25 2012 Adobe Dreamweaver CS5.5
drwxrwxr-x@ 10 root admin 340 Jun 6 17:59 Adobe Dreamweaver CS6
drwxrwxr-x@ 5 root admin 170 Jul 23 2012 Adobe Encore CS5.1
drwxrwxr-x@ 8 root admin 272 Feb 4 2012 Adobe Extension Manager CS5
drwxrwxr-x@ 8 root admin 272 Jul 23 2012 Adobe Extension Manager CS5.5
drwxrwxr-x@ 6 root admin 204 Jun 6 18:07 Adobe Extension Manager CS6
drwxrwxr-x@ 10 root admin 340 Aug 4 2012 Adobe Fireworks CS5.1
drwxrwxr-x@ 21 root admin 714 May 18 18:01 Adobe Flash Builder 4.5
drwxrwxr-x@ 14 root admin 476 Mar 28 16:52 Adobe Flash CS5.5
drwxrwxr-x@ 20 root admin 680 Jul 23 2012 Adobe Flash Catalyst CS5.5
drwxrwxr-x@ 12 root admin 408 Jul 23 2012 Adobe Illustrator CS5.1
drwxrwxr-x@ 11 root admin 374 Jun 6 18:07 Adobe Illustrator CS6
drwxrwxr-x@ 13 root admin 442 Feb 5 2012 Adobe InDesign CS5
drwxrwxr-x@ 13 root admin 442 Jul 23 2012 Adobe InDesign CS5.5
drwxrwxr-x@ 12 root admin 408 Jun 6 17:53 Adobe InDesign CS6
drwxrwxr-x@ 5 root admin 170 Jul 23 2012 Adobe Media Encoder CS5.5
drwxrwxr-x@ 5 root admin 170 Jun 6 17:53 Adobe Media Encoder CS6
drwxr-xr-x 3 root wheel 102 Feb 4 2012 Adobe Media Player.app
drwxrwxr-x@ 6 root admin 204 Feb 4 2012 Adobe OnLocation CS5
drwxrwxr-x@ 6 root admin 204 Jul 23 2012 Adobe OnLocation CS5.1
drwxrwxr-x@ 16 root admin 544 Sep 26 2012 Adobe Photoshop CS5.1
drwxrwxr-x@ 12 root admin 408 Jun 6 17:58 Adobe Photoshop CS6
drwxrwxr-x@ 8 root admin 272 Feb 5 2012 Adobe Premiere Pro CS5
drwxrwxr-x@ 8 root admin 272 Jul 23 2012 Adobe Premiere Pro CS5.5
drwxrwxr-x 3 root admin 102 Feb 4 2012 Adobe Reader.app
drwxrwxr-x@ 5 root admin 170 Feb 4 2012 Adobe Soundbooth CS5
drwxr-xr-x 3 root wheel 102 Jul 23 2012 Adobe Story.app
drwxr-xr-x 3 giovanna staff 102 Oct 24 2012 Amazon MP3 Downloader.app
drwxrwxr-x 3 501 staff 102 Jun 4 2012 Android File Transfer.app
drwxr-xr-x+ 3 root wheel 102 Oct 5 2012 App Store.app
drwxr-xr-x 3 root wheel 102 Oct 5 2012 Automator.app
drwxr-xr-x 3 root wheel 102 Oct 5 2012 Calculator.app -
Please help!
Hi, have u tried to reboot the system? Does this happens all the time?
Regards,
Martin Benes -
I need to make update on my Creative Cloud but my application manager wont open. I have tried from the drop down and all I get is the spinning wheel indicating it's loading. When I try from my Doc nothing the icon bounces one then nothing happens. I am unable to access and part of CC from the drop down. So far all of my applications are working fine but I would like to make the updates before they get glitchy.
Hi madimae86,
Please try the following steps assuming its a MAC:
1) Open Activity monitor and Force quit Adobe CEF Helper, Creative cloud, Adobe IPC Broker & Crash Deamon if available.
2) Try to open, if doesn't work then go to Applications>> Adobe Creative cloud>> Right click>> Get Info>> Click on the Add sign>> Select the user you are logged in>> Give Read and write access.
3) If that doesn't work then enable the root user and launch to update there, check this link on how to enable/sign in to root user Enabling and using the "root" user in Mac OS X
Please let me know if it is Windows, I will send you the steps already.
-Ankit -
Hello there:
I have this problem since I bought the iphone from a coworker (came as factory unlocked and jailbroken) And the push notifications is not working with any application downloaded, for example: facebook, facebook messenger, whatsapp, etc.
I removed the jailbreak and restore to the official iOS 6.1.3, but I have don't have results, please i need help!
Now I upgraded to iOS 7 but the problem remains.
I don't know what can do now
Greetings.Amigos, soy Chileno y buscando eh encontrado la solucion por lo menos en mi caso para el problema de notificaciones para el 5s.
Lo que debemos hacer primero es ir a la aplicacion de Facebook en el celular, entrar a configuracion de la cuenta/ luego a privacidad/ luego a sesiones activas ( en mi caso tenia 12 sesiones activas). Le di cerrar a todas las sesiones y deje solo la que funcionaba en mi Iphone 5s con ios 7. Luego de eso sali de la configuracion y desactive mi cuenta de facebook. Espere 2 minutos y volvi a activarla introduciendo mi usuario y contraseña en la misma aplicacion lo que provoco la reactivacion de mi facebook y ahora...
La aplicacion de facebook aparecio automaticamente en el centro de notificaciones ! recibo todas las notificaciones de esta y la puedo configurar con tiras, globos, etc.
Me despido, esperando que esta solucion les sirva y porfavor comenten si fue util mi explicacion o si falta algo ! -
Applications don't install..please help
I own a Nokia n81 8 gig. It has 3 n-gage demos bundled but only one of them is installed, space impact. Fifa and asphalt demos are not installed and when I try to install them with the application manager it says that the certificate is expired, may not be valid or the phone's data setting may be incorrect!
What I find strange is that if there is a bad setting, the space impact won't install either
Any help???
Thanks a lotHi set back ur date to 1/1/2007
it will be allright..if same problem occurs then set back ur date to 1/12/2006
chears!!
RIZZ D@ GR8 -
Applications exit randomly...PLEASE HELP
hello all,
My iPhone has a tendency to exit out of safari randomly and the iPod application. I don't know why it does this but it is very annoying. I will just be browsing a website and it will just go back to the home screen. does anyone know why it is doing this? thanks so much!
-Davedcullsjp,
Try resetting your iPhone. To reset the iPhone, press and hold the Sleep/Wake button and the Home button at the same time until you see the Apple logo.
If that doesn't work, then try to reset all settings. To reset settings, Tap Settings > General > Reset > Reset All Settings. Note: This will reset all settings. No data or media will be deleted.
If that still doesn't work, you can try restoring the iPhone using iTunes. To restore, connect the iPhone to your computer. When it appears in the Source list, click on Restore in the Summary tab. Note: This will delete all media and data. All settings will be reset as well. If possible, sync iPhone with iTunes before restoring to back up your most recent settings.
Hope this helps,
Jennifer B. -
Reports Server and Reinstalling Oracle9i Application Server - URGENT!! Please Help
I have been experiencing problems while trying to reinstall ORACLE 9i AS - Unlike the first time I installed it, I was not prompted to enter configuration details for the origin database (host, port etc.) and portal settings!!!! etc. It doesn't even appear to install the products either. (I have uninstalled the previous installation prior to attempting reinstallation.
- If anybody has any ideas please explain in detail what to do.
Thank you in anticipation!!!!!
Charlie
[email protected]Oh NO! I was too busy answering a post which was SUPER URGENT!!!!!! (It had 6 exclamation points and yours only has 5, plus it said SUPER). MAN, I hope you didn't DIE or something...
-
Bind variable not declared - please help
Hello,
I have wrote a PL/SQL script to update some order_id's in a table. I have declared all my variables but get an error -- bind variable not declared. Can anyone tell me what the problem might be?
DECLARE
last_ship DATE ;
last_order NUMBER;
last_cust NUMBER;
VARIABLE curr_item NUMBER;
VARIABLE curr_order NUMBER;
aorder_id CHAR(6);
aitem_id CHAR(2);
acust_id NUMBER(6);
aship_date DATE;
CURSOR c1 IS
SELECT
order_id,
item_id,
ship_date,
cust_id
FROM
test_sales
ORDER BY
1,2,3,4,5;
BEGIN
SELECT
MAX(order_id)
INTO
curr_order
FROM
sales_order;
OPEN c1;
LOOP
FETCH c1 INTO aorder_id, aitem_id, aship_date, acust_id;
EXIT WHEN c1%NOTFOUND;
last_cust := c1.cust_id; -- Saves the last values to check if processing same order
last_order := c1.aorder_id; --
last_ship := c1.aship_date; --
IF c1.aorder_id = last_order AND c1.cust_id = last_cust AND c1.ship_date = last_ship THEN
curr_item := curr_item +1;
UPDATE test_sales SET c1.aorder_id = :curr_order;
UPDATE test_sales SET c1.aitem_id = :curr_item;
ELSE
curr_order := curr_order + 1;
curr_item := 1;
UPDATE test_sales SET c1.aorder_id = :curr_order;
UPDATE test_sales SET c1.aitem_id = :curr_item;
END IF;
END LOOP;
CLOSE c1;
END;
/Cheers
Mikecheck yours code you are direct accesing cusrsor named directly which is not allowed
1 DECLARE
2 vemp emp.empno%TYPE;
3 vemp1 emp.empno%TYPE;
4 CURSOR c1 IS SELECT empno FROM emp;
5 BEGIN
6 OPEN c1;
7 LOOP
8 FETCH c1 INTO vemp;
9 EXIT WHEN c1%NOTFOUND;
10 vemp1:=c1.empno;
11 END LOOP;
12 CLOSE c1;
13* END;
SQL> /
vemp1:=c1.empno;
ERROR at line 10:
ORA-06550: line 10, column 14:
PLS-00225: subprogram or cursor 'C1' reference is out of scope
ORA-06550: line 10, column 4:
PL/SQL: Statement ignored
SQL> DECLARE
2 vemp emp.empno%TYPE;
3 CURSOR c1 IS SELECT empno FROM emp;
4 BEGIN
5 OPEN c1;
6 LOOP
7 FETCH c1 INTO vemp;
8 EXIT WHEN c1%NOTFOUND;
9 END LOOP;
10 CLOSE c1;
11 END;
12 .
SQL> /
PL/SQL procedure successfully completed.Yours code
OPEN c1;
LOOP
FETCH c1 INTO aorder_id, aitem_id, aship_date, acust_id;
EXIT WHEN c1%NOTFOUND;
last_cust:= c1.cust_id;
last_order:= c1.aorder_id;
END LOOP;
CLOSE c1;
END;You sholud move it c1.cust_id within fetch statment or
bind the cursor name with another local cursor variable
then fetch into this local bind variable and use cursor
via this variable
e.g
DECLARE
CUSRSOR c1 IS SELECT cust_id,aorderid
FROM <TABLE>;
c2 c1%ROWTYPE;
OPEN c1;
LOOP
FETCH c1 INTO c2;
aorder_id:=c2.aorderid;
last_cust:= c1.cust_id;
last_order:= c1.aorder_id;
END LOOP;
CLOSE c1;
END;Khurram -
Flash Player isn't installing because application failed to load. Please help.
Hello, I'm trying to download the latest verson of adobe flash player but having an extremely difficult time.
When I click download from the download page, I get the pop up to "run" the program, but then after that, i
get a pop up titled "host" saying application can't load. I've tried the offline and online download, both give me
that pop up.Try using the offline installers from http://helpx.adobe.com/flash-player/kb/installation-problems-flash-player-windows.html#ins tall_in_a_firewall_proxy_server_environment
Maybe you are looking for
-
Dear EAM Experts, We want to add three additional data fields in the report IW38 . What is the exit available to add additional fields in IW38. Thanks, DSL
-
Define a faces-config inside a jar.
Hi, Can I import a .jar in my jsf web app with some managed beans defined and don't define this MB in my faces-config?! I've got managed beans that I'll use in more than one application, I putted into a jar, but I didn't want define it as a managed b
-
Dear Experts!!!!!!!!!!!!!!!! Need a clarification. If you want to create a query based on the infoproviders(cube or DSO). Which one ll be faster. If both has the same amount of data and how ??????? Regards, Suman.T <Moderator Message: Dear Suman.T, p
-
Have old HP82341A GPIB card, can I make it run on W2K without commiting harakiri?
Intial search shows that card did work on DOS and WinNT If this card can operate under W2K does it have/need a driver?
-
HOW Import image XMLP MANUALLY to output as PDF HRMS Edited by: shadi zaal on Apr 24, 2012 10:00 AM