Any one pleasse help me, really urgent
Dear friends and every one,
How to store a array of datas into database.....i am print in the next page but not able to store....
i will show you the codings, please give your valuable suggestions
<%
String s1=(String)session.getAttribute("eid");
String s3[]=request.getParameterValues("language");
int j=0;
try {
for (int i = 0; i < s3.length; i++)
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con=DriverManager.getConnection("jdbc:odbc:langskill");
PreparedStatement pStmt = con.prepareStatement("update lang set(language) values (?) where eid=? ");
// pStmt.setString(2, s3);
pStmt.setString(1, s1);
pStmt.execute();
catch(Exception e)
System.out.println(e);
%>
<%
if(j>0)
%>
datas are updated
<%
else
%>
datas are not updated
<%
%>
Thanxs in advance
Please use code tags ( select all relevant text and click the code button on top of the message window while posting ) it makes things easier for everyone.
What exactly is the problem? What exception are you getting? Please post the stack trace.
As far as I can tell, you're not setting the second placeholder in your preparedStatement and also, is your SQL query for update correct? I'm not sure about the syntax but it seems to be wrong to me.
Edit:
This is repost from here: http://forum.java.sun.com/thread.jspa?threadID=5166401&tstart=0
Message was edited by:
nogoodatcoding
Similar Messages
-
how to install windows 7 on my macbook pro mid 2009 using usb. right now iam using mavericks 10.9 can any one please help me. I tried to edit plist in boot camp but it went wrong please help me.
Iam new to coding. please help me.try the solution posted by kunu here and report back
https://discussions.apple.com/thread/5105056?tstart=0 -
i bought a mini DVI to HDMI convertor and a HDMI to VGA cable to connect my mac book pro to a tv but it doesn't work any one can help.
I would suggest looking into a Thunderbolt to HDMI connector. In this case, you may be able to use the TV as an external monitor. For this option, please confirm through additional research. I have not tested it personally.
You can also use an Apple TV, which connects with HDMI. In this case, you can use Airplay Mirroring. Not all Macs support Airplay Mirroring, so you need to check first. I have a Mid-2011 27" iMac, and it supports Airplay Mirroring. I don't use it often because my TV is in another room, but I just tried it and it worked. It had to change the screen resolution to work well, so I don't know if I would want to use it as my day to day monitor. http://support.apple.com/kb/ht5404 -
I am not able to access my photos through the photo application... when I click on the photo app, I can see the camera roll, but a transparent "album" screen is over it and I cannot click on the photos to see it... can any one please help ???
Known bug. Quit the Camera App, double-tap the home key and delete Camera from the recent apps bar. Fire it up again, should be good.
-
Hii, i got an iTunes card for $15 and only used $6 in it, but it say I only have $0.37 left. If any one could help me with this, I will be forever grateful.
You will need to Contact iTunes Customer Service and request assistance
Use this Link > Apple Support iTunes Store Contact -
I Have an iPhone 5 runnig ios 7.0.4. It wont start as the apple logo keeps on blinking when i connect to wall charger or itunes. I even tried to restore it but an error 21 is being displayed. Any one can help me in this situation
Read http://support.apple.com/kb/ts3694#
-
I have buy 4s it's unlocked and its working ok with different carriers in Bahrain, but in Pakistan I try to use different carriers's sims but its showing sim is not valid , not compatible? any one please help me out this?
Try restoring the iPhone to factory settings. If you are having difficult restoring, put the iPhone into Recovery Mode and see if that then works:
http://support.apple.com/kb/ht1808
If not, or if a restore to factory settings does not fix the problem, then your iPhone may have a hardware problem. You can only get the iPhone serviced by Apple in Canada, so you will have to take the iPhone there or send it to someone you know in Canada who can get the iPhone serviced and send it back to you. The only option for getting service in Pakistan would be to pay some unauthorized repair shop to attempt a repair, after which Apple will no longer provide any service even in Canada.
Regards. -
I bought CS6 creative suite. As of now i need to work each application in separate separate system. Can any one please help me how to solve this problem.
I saw the below quote on Adobe forum
"You may install software on up to two computers. These two computers can be Windows, Mac OS, or one each."
If i install each application in single single system the system count is more than two. In this case, are we have any license issue? Please advice how the problem will solve?
If possible please send the advise to my mail id: <Removed by Moderator>
Thanks
Uvaraj SI already answered that. If you purchased a Suite then you can only install and activate it on two machines. Even if you only insdtall one of the applications of that suite, it counts as one activation of the suite. You cannot take the six or seven different applications that might be in a suite and install and activate them in six or seven different machines... only two machines.
If your scenario will allow for it, one thing you can do is install the programs on all the different machines and only activate two of the machines at any given time. If you need to activate a program on a third machine then you need to deactivate on one of the currently activate machines first so that you have an open activation to use again. I do not remember if there is a limit to the total number of activations you can process for the life of the software. -
boot camp 5.0.1 aways crash when i try to create a partition for windows. My mac is new MBP retina.Any one can help me?
boot camp 5.0.1 aways crash when i try to create a partition for windows. My mac is new MBP retina.Any one can help me?
-
Hi,
I did my suscription two years ago living in Florida. Now I moved to Spain and I need to change my addreess and my credit card to continue with my Adobe Icloud suscription. Any one can help me? Thank youSome Change/Verify Account links https://forums.adobe.com/thread/1465499 that may help
-Credit card https://helpx.adobe.com/x-productkb/policy-pricing/membership-subscription-troubleshooting -creative-cloud.html
-http://helpx.adobe.com/x-productkb/policy-pricing/change-country-associated-with-adobe-id. html -
Any one can help how to install sharepoin2013 in multi servers .if you have any guide please provide
I am sharing few links which can be helpful for you to understand and install/configure multi server sharepoint environment.
Install SharePoint 2013 across multiple servers for a three-tier farm
Test Lab Guide: Configure SharePoint Server 2013 in a three-tier farm
Install and Configure SharePoint farm (3 -tier)
Office Web Apps 2013 multi servers (NLB) Installation and Deployment for SharePoint
2013 step by step guide
Adnan Amin MCT, SharePoint Architect | If you find this post useful kindly please mark it as an answer. -
Does any one can help me on Oracle cycles
Hi Gurus,
Does any one can help me getting documents of People to pay cycle or Recruit to retaire cycle Please.
I am in need of them .
Thanks in advance for your time and consideration.If you mean the Time Capsule's internal drive, click here and follow the instructions.
If you mean an external drive used with Time Machine, install the MacDrive trial on the PC and then plug it in normally.
(96092) -
I m trying to import some picture from my iphoto library but element 12 don't show me the iphoto dialog box ,where i choose what i want to import, as I can see on my classroom book and in many tutorial.any one can help please ? thanks
I have the same problem... but the photo library is neither on my iPhone or my Computer!! Please help.. its taking too much space.
-
I can't install and update any application, even for the free app the system ask me to sign in to the billing payment. Even though that I did sign, it still declined. Any one could help, please
All Apple iTunes Store accounts must have a valid form of payment set up. Even for free apps and updates. The Payment Declined message comes from your card issuer or payment source; Apple is just a pass-through for the message. You need to find out why your issuer is declining your card.
-
Ussd not Working on my iphone 5 Ios 7.0.3 i am form India , BSNL Carrier
Any one can Help me please . when i dail *123# then can't work its direct dailing.Not ony for BSNL, Not working for all carriers in India right from 7.0 , 7.0.1, 7.0.2 and 7.0.3
Apple needs to work it out in their upcoming patch , All older versions of iphones from 4 and 4s works perfectly without any flaw right from 7.0
Maybe you are looking for
-
Looking for a Hard Case/Shell for my new Retina MacBook Pro 15"?
I am looking to buy a shell/case for my rMBP (October 2013) it hasn't arrived yet, but obviously I want it to be protected asap. I don't know what the model number is, but it is the lower spec 15" Retina MacBook Pro that I have purchased. How can I m
-
Passing arguments to a WorkFlow launched from a Link field in a form
Hi. Anybody knows if it's possible to pass some argument to a WF launching it from a form? In the form from which I call the WF, I have a var that contains a list. This list has to be passed as an argument to the WF. The code: <Field> <Display clas
-
Integration_Directory_HMI connection test is very slow
HI all This RFC connection test is success by giveing 500 status code. But it is taking lot of time like 20Min. Can some one suggest what is the problem. How can I tune it?
-
whenever i click on a certian imported movie all itune does it force quit i cant delete it and i cant do anything to it i need some help no matter what i try to do to the movie itunes automatically forcequits and i cant do anything to stop it
-
Hi Gurus We create STO'S ( with in same plant and between two storage locations) and followed by delivery ,PGI with 641 movement type.When we run the MD04 list we have the open items because we haven't done the goods receipt when goods issue is don