Where i was error

When is am attempting to add more than 8 items the action is not loading.
Here i show below,
Action implement
public class AddDesigAction extends Action {
     String target = null;
     public ActionForward execute(ActionMapping mapping,ActionForm form,
          HttpServletRequest request,HttpServletResponse response) throws ServletException,IOException {
               DesignationForm desigForm = (DesignationForm) form;
               if(desigForm != null){
                    Designation desig = new Designation();
                    desig.setId(desigForm.getId());
                    desig.setName(desigForm.getName());
                    DesignationOperation.addDesignation(desig,request);
                    desigForm.reset(mapping,request);
                    target= "success";
          return (mapping.findForward(target));
struts-config.xml
<action-mappings>
               <action path="/Home" forward="/Welcome.jsp" />               
               <action path="/Designation" forward="/Designation.jsp" />
               <action path="/addDesig" type="phrd.desig.AddDesigAction"
               name="desigForm" scope="request" input="/Designation.do">
                    <forward name="success" path="/Designation.do" />
                    <forward name="failure" path="/Home.do" />
               </action>
</action-mappings>
my problem is if i am going to add more than 10 times page is not loading.
I am not clear where i was error, Anybody help please
Thanks in advance.

Thanks for your reply,
What have you guessed is exactly right but i didn't get an error or even exception. After my eight attempt in addition there is no response.
Here i show you DesignationOperation.addDesignation()
public static void addDesignation(Designation desig,HttpServletRequest request){
String strquery="";
HttpSesson session = request.getSession();
DataSource ds = (DataSource) session.getAttribute("ds");
Connection con = null;
Statement st= null;
try
con = ds.getConnection();
st = con.createStatement();
strquery = " insert into desig values(" + desig.getId() " + ",'" + desig.getName() + "')";
st.executeUpdate(strquery);
}catch(SQLException sqle){System.out.println(sqle);}
could you guess any bugs in above coding. if there help please
K.sadagopan

Similar Messages

  • HT1414 i was trying to updates the new version but there was error occured so i was trying to restore but the massage come to connect yo wi-fi so i dont know where to start from there

    i was trying to updates the new version but there was error occured so i was trying to restore but the massage come to connect yo wi-fi so i dont know where to start from there

    Downloading past purchases from the App Store, iBookstore, and iTunes Storehttp://support.apple.com/kb/HT2519
    Message was edited by: michael08081

  • Where is the error ring constant in LV 8.2?

    Where is the Error Ring Constant in LabView 8.2?  It was in the block diagram numerics panel in 7.1.1.

    You might wish to have a look at this.
    Try to take over the world!

  • Ora-01858 a non numeric found where numeric was found

    Hello All,
    When I am trying to query a view i am getting the follwoing error.
    ora-01858 a non numeric found where numeric was found
    When checked in all_objects the view status is showing as VALLID.
    Please let me know how do we come over this error.
    Kind Regards.

    I can think of two options:
    1-Create the view with the same datatype as the underlying column, then in your application handle the logic of conversion
    2-Keep the view with the same datatypes, but use a function that takes the value in the column as IN paramter and returns the date. Add exception handling to ignore the exception when a non-date value is encoutered
    Regards
    AK

  • Where to fix errors in lsmw?

    where to fix errors in lsmw?

    hi sunil
    refer the following link
    it will give u full step by step process for lsmw
    http://www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc
    In the field mappings and conversion rules,
    in the global section,define an internal table.
    data : begin of it_errors occurs 0,
    desc type string,
    end of it_errors.
    and where ever you have wrong or empty values for the fields,populate error there to the internal table.
    for example, if Material no is blank,i have to give err msg
    IF NOT MATMAS_MRPVIEW-MATNR IS INITIAL.
    BMM00-MATNR = MATMAS_MRPVIEW-MATNR.
    else.
    IT_ERROR-DESC = 'Material no is empty'.
    append it_error.
    SKIP_RECORD. "to skip further processing of this error record.
    ENDIF.
    like this you populate all the error records to that IT_ERRORS internal table.
    and finally download it using GUI_DOWNLOAD in the event
    '__END_OF_PROCESSING__'
    there is another way also, you can create a Session in the LSMW, and record the error records in the session then process the error records in the session
    regards
    navjot
    reward and close all ur threads
    Message was edited by:
            navjot sharma

  • Why does it kick me off the webpage to my desktop?  I have to click on Safari or Chrome to get back to where I was.

    Why does it kick me off the webpage to my desktop?  I have to click on Safari or Chrome to get back to where I was.
    Also, I loose the sound. 

    Hello,
    I would like to strongly recommend that you update your version of Flash Player to our currently released version (17.0.0.169) and enable auto updates.  The version you are using is insecure and opening your computer (and all of your data) to being easily exploited by bad guys.
    As for the error you are receiving, this is most likely a restriction from the website.  Each developer is able to specify what the required minimum version of Flash and require their users to have at least that version installed.  The detection that is occuring and the message that you are seeing on the website isn't part of Flash Player, but instead part of the website's code.
    If you go to this page and click the "Check Now" button, what is displayed (OS, browser and version number)?  Do you see the "tree" animation playing below?
    Flash Player Help
    Thanks,
    Chris

  • RE: [Adobe Reader] when i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ? i

    HelloThank's for your helpsI hope this document is helpfulBest Regards,
    Date: Sun, 22 Jun 2014 17:10:17 -0700
    From: [email protected]
    To: [email protected]
    Subject:  when i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ? if you can help me th
        when i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ? if you can help m
        created by Anoop9178 in Adobe Reader - View the full discussion
    Hi,
    Would it be possible for you to share the document?
    Regards,
    Anoop
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at https://forums.adobe.com/message/6485431#6485431
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
         To unsubscribe from this thread, please visit the message page at . In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Adobe Reader by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

    thank's for reply and your help
    i did the step's that you told me but  i still have the same problem
                                     i have the latest v.11.0.7
    i
    i disable the protected mode

  • I have a column where I have implemented writeback, its working fine. On top of this I need to show 0 as No and 1 as yes in our report, that is also done. Now I want to enter Yes in a column where it was no and I want database table to get update with 1.

    I have a column where I have implemented writeback, its working fine. On top of this I need to show 0 as No and 1 as yes in our report, that is also done. Now I want to enter Yes in a column where it was no and I want database table to get update with 1. I am not sure how to do it. SOmeone please help me out.

    Hi ,
    In your write back XML  try the below  query insert
    INSERT INTO TABLE_XYZ (attribute1)  values (SELECT CASE  WHEN @{C1}=’Yes’ then 1 when @{C1}=’No’ then 0 else null end from dual)
    Regards
    Rajagopal

  • When I synced my iphone 4 to upgrade to version 5, the levels of games such as angry birds have gone and put me back to basis first level?? How did I get it back to where I was??

    When I upgraded my iphone to version IOS5, most of apps are gone also for some games. The games such as angry birds has gone back to basis level one not where I was!? Help!!

    Back up your device if needed
    Connect your device to your computer.
    Select your iPhone, iPad, or iPod touch when it appears in iTunes. Select the Summary tab, and click the Restore button.
    Click Restore.
    After a restore, the iOS device restarts. You should then see "Slide to set up". Follow the steps in the iOS Setup Assistant.

  • I am trying to install Photoshop Elements on my new Windows 8 computer (I recently upgraded my windows 7 computer where Photoshop was working fine on before).  It says the serial number is invalid.  Do older versionsnot work on Windows8, or do I need to u

    I am trying to install Photoshop Elements on my new Windows 8 computer (I recently upgraded my windows 7 computer where Photoshop was working fine on before).  It says the serial number is invalid.  Do older versionsnot work on Windows8, or do I need to uninstall it from my old computer first?

    You are allowed to have two activated installations.  If you happened to have one on this Windows 8 machine before, it is possible that the activation used for it was never deactivated (did you deactivate it before you upgraded Windows?).  Talk to Adobe support thru chat.  They might be able to resolve this with you:
    Serial number and activation chat support (non-CC)
    http://helpx.adobe.com/x-productkb/global/service1.html ( http://adobe.ly/1aYjbSC )

  • When i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ? if you can help me th

    when i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ?
    if you can help me thank's
    [email address removed by host]

    thank's for reply and your help
    i did the step's that you told me but  i still have the same problem
                                     i have the latest v.11.0.7
    i
    i disable the protected mode

  • When I'm in Yahoo news comments, WaterFox keeps interrupting me with a survey about FireFox. Then I can't get back to where I was. Help?

    Actually, I'm using WaterFox 28.0, but that wasn't an option.
    I try to access my comments to Yahoo news stories. I may be in the middle of posting a comment, or just running through them to see how people have responded. WaterFox suddenly interrupts me with a survey about FireFox. It interrupts what I'm doing, and afterward the only way back to the place where I was is to start at the top of the comments again and search for it. If I was posting, either my post is lost entirely, or it posted in incomplete form.
    I've tried answering the survey in the hopes that it will go away, but it keeps showing up. It's exceedingly annoying, and, much as I love WaterFox I'm considering going with Chrome or Torch instead.
    I have WaterFox set to block pop-ups, but apparently WaterFox doesn't think that applies to itself.
    Does ANYONE know how to make this go away?
    MargretMinette

    You have a bad extension loaded into Firefox.
    *MediaPlayerplus
    Remove this by going to [[Image:new fx menu]] > Add-ons > Extensions
    Uninstall anything you don't recognize from your control panel. (Start > Control Panel > Uninstall a Program
    You will also want to run ADW Cleaner to remove any remnants of the extension
    *http://www.bleepingcomputer.com/download/adwcleaner/

  • If I am browsing on site such as Ebay or any shopping site, and click on an item, when I return to the search page I am once again at the top of the page and have to search down for where I was in the list of items.

    If I am browsing on site such as Ebay or any shopping site and click on an item, when I return to the search page I am once again at the top of the page and have to search down for where I was in the list of items. This is not only on Ebay it is everywhere I search. Firefox goes back to the top of the page . It is annoying to have to figure out exactly where I was if I left the page and then returned. This is a hinderance when using Firefox. I have considered uninstalling it because of the inconvenience of 're-searching' after already doing a search. Firefox used to take me right back to where I was if I left a page, but that feature is not working now. I am not sure how to change this in the settings.

    Open the Finder. From the Finder menu bar click Go > Go to Folder
    Type or copy paste the following:
    ~/Library/Caches/com.apple.Safari/Cache.db
    Click Go then move the Cache.db file to the Trash.
    Quit and relaunch Safari to test.

  • Error while deploying an application on weblogic 12c. An error occurred while reading the deployment descriptor. The error was: Error processing annotations

    Anyone please help me solve this error. I am trying to deploy an application on weblogic 12c  i am getting an error but the same application gets successfully deployed on weblogic 11g. The error is
    An error occurred during activation of changes, please see the log for details.
    Exception preparing module: EJBModule(gsCallbackAdapterLGTX-ejb.jar) An error occurred while reading the deployment descriptor. The error was: Error processing annotations: .
    [EJB:015001]Unable to link class com.aep.gridsmart.adapters.lgtx.buslogic.deliver.xform.AdapterTransfomerDeliverSession in Jar /appl/oracle/middleware/WLS/12.1.1.0/user_projects/domains/Gridsmart/servers/ManagedServer1/tmp/_WL_user/gsCallbackAdapterLGTX/34vz4d/gsCallbackAdapterLGTX-ejb.jar : java.lang.NoClassDefFoundError: com/aep/gridsmart/adapter/deliver/CommonAdapterDeliverBean

    Cotton please let me know what is the mistake i am
    doingThe following path does not exist.
    C:\Sun\AppServer7\domains\domain1\server1\
    applications\j2ee-modules\task_1\WEB-INF\web.xml

  • Why do my songs and audio books keep getting erased when I add a new book?  Now some books will not play and the iPod does not keep track of where I was when I pause a book, leave for music and then go back!

    About a month ago I added some new audio books to my iPod Classic and then after disconnecting, I discovered EVERYTHING had been erased. 
    I had to restore through my iTunes but then I could not load my music back on.
    I uninstalled / reinstalled iTunes and completely reformated the iPod drive.
    I successfully got my music and books back on but then added a new book two days ago only to discover everything got erased AGAIN!!!
    Of course, my 1 Year Warranty was up about a week before the first incident.....
    I formatted the iPod again, uninstalled / reinstalled iTunes (it was freezing during sync) and downloaded all my music and books again.
    Now I have several books that will not play (they play on iTunes and they played on the iPod before all these events) and the iPod does not keep track of where I was in a book when I have to stop and go to something else.
    Does anyone know what is going on with this thing???  I have a 5th Gen Video and in all the years I've had it, I've NEVER had problems like this! 
    Does anyone have any ideas on what I can do to get my iPod Classic up and running properly again?
    Thanks.

    When iTunes/iPod sync process failed due to timeout, the iPod, has only the initilaised  filesytem structure at the start of the Sync.
    The timeout failure could be due to
    Bad hardisk - do the iPod disk diagnostic, refer to this excellent post by tt2
    Slow USB port or resource - Dont use any USB hub, disconnect all other USB devices while syncing
    Timeout due to Antivirus or other plugins - disconnect from Internet and stop the Antivirus or monitoribng software if you are syncing.
    Preferably stop doing other things while syncing this ancient device, which the latest iTunes designer, think will soon be extinct.
    Have a nice day!

Maybe you are looking for