Still my problem is unsolved! PLZ help!

hi,
i'm using cookies in my application
1) in file1.jsp i'm setting the cookie as -----
Cookie cook11 = new Cookie("noOfRows","10");
response.addCookie(cook11);
2) in file2.jsp i'm retrieving that value as-----
ServletUtilities is user defined class
ServletUtilities su = new ServletUtilities();
Cookie[] cook = request.getCookies();
String strnoOfRows = su.getCookieValue(cook,"noOfRows","");
3) in file3.jsp i'm reseting the value of cookie as-----
ServletUtilities su = new ServletUtilities();
Cookie[] cook = request.getCookies();
Cookie cook1 = su.getCookie(cook,"noOfRows");
cook1.setValue(strnoOfRows1);
now the problem is after changing the cookie value by running file3 after that if i run file2 and check the cookie value it won't change as setted in file3.
These files are running in browser(IE/Netscape) only .
rather the application is web based.
when i start the application file1 runs then file2, which contains value of cookie same as set in file1...........
i'm providing an opportunity to client to change the cookie value in file3...................
now i want that if user run file2 again further it should show the changed value.
as per someones suggestion
i changed my file3 as...........
ServletUtilities su = new ServletUtilities();
Cookie[] cook = request.getCookies();
Cookie cook1 = su.getCookie(cook,"noOfRows");
cook1.setValue(strnoOfRows1);
response.addCookie(cook1);
BUT SILL MY PROBLEM HAS NOT SOLVED .......................PLZ TELL SOME SOLUTION.
-----Amita

Create a new cookie and overwrite the old cookie instead of attempting to change it's value.
     Cookie cook1 = new Cookie("noOfRows",strnoOfRows1);
     cook1.setPath("/myApp");
     response.addCookie(cook1);

Similar Messages

  • TS1398 iphone2 can not scan for my wireless network; i tried all troubleshoots but still same problem. Can anyone help?

    iPhone2 can not scan for my wireless network; i tried all troubleshoots but still same problem. Can anyone help?

    Anyone have any ideas or information to help with this?  Any help and consideration is MUCH appreciated.

  • Did all the resets and still wifi connects and disconnects , plz help

    did all the resets and still wifi connects and disconnects , plz help

    I upgraded Apple TV late last week. Last weekend I rented a couple of movies from Apple TV. I watched one immediately, and was going to watch the other one the next day. On Sunday I opened up Apple TV to watch the film, and..... NOTHING THERE. I could see 'purchased movies', 'top movies', etc., at the top of the bar, but no mention of rentals. Even the film I'd watched (which obviously you can see for 48 hours) had disappeared into a black hole in Apple TV. I have been charged for these movie, and sent in a complaint.
    My airplay seemed to be fine, but.... last night, my computer was not seeing an Apple TV or showing an airplay sing, so I restarted and the Apple TV and airplay sign returned. If I chose to watch the film on the computer it started up immediately, if I chose airplay, I got the first image of the film and the loading sign going on and on (round and round) forever. The film never started. I restarted my Apple TV, the same. I restarted the computer, the same. I tried with various programmes and no go.
    iMore has the following suggestion. I am not sure if this will help. It sounds a PIA, but if I can't get airplay to work, I might try it: http://www.imore.com/how-restore-2nd-or-3rd-generation-apple-tv-back-factory-set tings-itunes

  • Shopping Cart Problem...plz help

    Hello Gurus,
    I have a Cart created by my user,
    the problem is the Cart is not moving to the backend to create
    the follow on document,i.e the PR,
    Checked the BBP_PD,it shows I111 as the status,
    i am unable to get where the exact problem is,
    The Approval is completed,
    can any 1 advise why this is stuck.
    where can i see the problem?
    (checked RZ20)no clues..:-(
    tried to Update by bbp_get_status_2...:-( no use...
    plz help..
    Points gaurenteed.
    Thanks

    Hi Arshad,
    You have to apply OSS notes to resolve this issue.Please find the relavent OSS notes :
    <b>Note 729967 - Shoppng cart:Status I1111,no follow-on docs->analysis report</b>
    <b>Note 949162 - Follow-on documents exist, status I1111 and I1113 active</b>
    <b>Note 854478 - Alert monitor: No longer possible to transfer shopping cart</b>
    <b>Note 728536 - Shopping cart: Follow-on docs => analysis-/correction report</b>
    <b>Note 900142 - BBP_PD_SC_RESUBMIT: All items set to status I1111</b>
    Hope the above notes will resolve your issue.
    Let me know once it gets resolved or in case of any further clarifications.
    Award points for suitable answers.
    Rgds,
    Teja

  • N73 Memory card problem !! plz help me

    Hi ive bought Nokia n73 not me edition ive encountered a
    serious problem ive also bought 1gb card & whenever i
    insert the card in Card reader it shows disk like
    Removable disk (F) etc. But when i try 2 open it it shows
    this message "Please insert the disk into drive F:" ive
    tried 2 open more than 10 times it never opened it shows
    same messge .Ive even formatted the card but still the
    problem persists.When i insert the card in to my phone it
    shows the files it works fine .The actual problem is i
    can't view or edit the files or add the files like
    ringtones ,music videos or themes in card reader it never
    displays the content inside in the memory card .Now im
    presently transfer my files through bluetooth & not from
    card reader.Im totally frustrated with this problem Plz
    2 solve this serious problem .Message Edited by ishah on 24-Mar-200706:06 AM

    Dont get frustrated ! Be happy !
    Now...the problem is causing becaz thr is somthing wrong with ur Card Reader.Try another card 4 ensuring...or check if u inserted ur card properly!
    Next...That Mcard may not be original...U should check that 1st.
    After...U can Downlaod latest version of PC Suite frm here http://www.nokia.com ...Try it 4 yourself...Once u r done..Connect ur USB cable...and Whoa ! Thr is an icon right on ur "My computer" portion.
    Your problem may be solved!Message Edited by coool on 25-Mar-200708:53 AM
    CoOL

  • Big problem!!~plz Help me

    i'm a newbie in creating javamail.now i hava the big problem in my coding can someone look 4 me the problem. this is my Coding::
    package common;
    import java.util.*;
    import javax.mail.internet.*;
    import javax.mail.*;
    public class sendMail{
         public static void send(String host,String from, String to){
         // Get system properties
         Properties props = System.getProperties();
         // Setup mail server
         props.put("mail.smtp.host", host);
         // Get session
         Session session = Session.getDefaultInstance(props, null);
         // Define message
         MimeMessage message = new MimeMessage(session);
    try
    message.setFrom(new InternetAddress(from));
    catch (internet.AddressException e)
    System.err.println("Caught Exception: "
    + e.getMessage());
         message.addRecipient(Message.RecipientType.TO,new InternetAddress(to));
         message.setSubject("Hello JavaMail");
         message.setText("Welcome to JavaMail");
         // Send message
         Transport.send(message);
    this is my error::
    sendMail.java:27: package internet does not exist
    catch (internet.AddressException e)
    ^
    1 error
    plz help me thanks a lot

    In this line catch (internet.AddressException e)
    you have a non-existent package "internet".
    The correct package for that error is[b] javax.mail.internet; since you have imported this package, you can just delete the invalid information, like this:
    catch (AddressException e)

  • JRE Detected---Version Collision problem!!--plz help..it's urgent

    Hello ,
    I am working on developing a upload component in applets that would be used to
    Let the user browse thru his/her local file system, select it and then upload that file
    to a Specific location on the server, during this file transfer operation it also
    Shows the bytes remaining and a progress bar with percentage.
    I have developed it already and my purpose is to make it available as a cross-
    Platform independent component that can simply be merged/used with just about
    any application developed in any language/or on any platform and so I developed
    it in java using applets, bcauz it has to run and be accessible via a browser.
    Now, the component is working fine but there�s a problem to which I have not
    Found a complete and stable solution.
    The problem is with the JRE(Java Runtime Environment), that if the html page that
    Contains my applet does find a JRE already installed on someone�s browser but
    With a different version to that of which I have used for example(1.4.2_07-b05) it
    Gives an error saying �jre detected-version collision� and I understand fully by
    Looking up on net as to what this error means, but how do I remove this problem
    i.e. I simply want that (since I am already using the OBJECT tag in my html file)
    when my html page containing loads up in any one�s browser then even if that
    browser doesn�t contains a JRE in it, it should(my applet)should run, as I guess
    my browser only had a default MSJVM earlier and had no JRE for instance, still
    any site that I opened on net which contained applets , never gave me any such
    kind of error.?
    One temporary solution that I did, (although it�s not what I would like to do as it is
    not user friendly at all) is that in my OBJECT tag I had used a codebase attribute
    which contains the path of my jre�s exe file like this:
    I am giving here the complete code for my html file:
    <html>
    <OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" name="Helper" width="900" height="200"
    codebase="http://10.11.13.63:8090/j2re-1_4_2_07-windows-i586-p.exe">
    <PARAM name="java_code" value="FileChooserDemo.class">
    <PARAM name="java_archive" value="filechooser.jar">
    <PARAM name="type" value="application/x-java-applet;version=1.4">
    <PARAM name="progressbar" value="true">
    <PARAM name="boxmessage" value="Please...wait..while..the..applet..starts..up">
    <COMMENT>
    <NOEMBED>
    </NOEMBED>
    </COMMENT>
    </OBJECT>
    </html>
    further I also have to take care that if the above problem occurs i.e.(�JRE detected-version collsion�) then I got to tell the user to first go into his/her control panel and then
    remove the JRE�s exe file from add/remove programs and then come back to his/her browser to get the JRE�s exe file downloaded automatically from the location of intranet
    (my web server path) and run itself and install it on his/her browser bcauz of the tag that
    I used above.
    But all this is not at all a user friendly solution and I would not want any user to go thru the hassle of all this.
    Can there be any way to let my applet run on any browser without the JRE problem ,
    Plz suggest as I have now fully developed my applet upload component after a month�s
    hard work , but is not able to now finally integrate it with our email server application that we have in our office, just bcauz of this problem..
    Thanks in anticipation
    Regards
    Sd76

    I don't know what version collition means but what jdk version you used to compile your
    applet?
    clsid:8AD9C840-044E-11D1-B3E9-00805F499D93 is dynamic versioning classid and
    allowes IE to run your applet with any installed jre without trying to install a newer one.
    Problem here is when you compiled with 1.5 and try to run it with an older version there
    might be some problems.
    Try to compile it with -source and -target option so your applet is compatible with 1.3
    http://java.sun.com/products/plugin/versions.html
    Another thing is that your platform independent file uploader will only run in active x
    enabled browsers like Microsoft Internet Explorer and not with mozilla(see link above) .

  • IPod Nano capacity problems...plz HELP

    hi guys, i have an ipod nano with a 4GB memory, i only have 400 songs and yet it says my ipod cannot store all because the itunes libarary does not have enough space. however, at the bottom of my itunes, it says (400 songs, 1 day, 1.76 GB) meaning i still have at least 2.5GB of free space!!!
    why is this?
    someone plz help

    Hi
    Sorry I just read your question again, and I don't think I've helped!! So just ignore my post!!
    In order to fit more songs onto your iPod, change the format of the songs from MPEG to AAC. This makes the file smaller enabling you to put more tunes onto your iPod. To do this hightlight the songs, right click on your mouse and choose 'convert selection to AAC'
    I hope this helps!

  • Image repainting problem!! plz HELP!!

    I'm facing a little problem with repaint. I have a moving ball on my JPanel (canvas). Ball (which is a circle) is leaving 2 lines behind it. I don't know why it happens, the code inside my paintComponent() method is as follows:
    public void paintComponent(Graphics comp)
           super.paintComponent(comp);          
           g = (Graphics2D)comp;          
           g.drawLine(0,250, 500,  500/2);      //draw horizontal line from north          
           g.drawLine(500/2, 0, 500/2, 500); //draw vertical line on the equator          
           g.setColor(Color.blue);          
           g.fillArc(width, height, ballSize, ballSize, 0, 360);
    }The above "paint" event has been written for JPanel class. On fillArc() line, only width and height are changes through a thread class. Actually, my ball is bouncing against the walls (edges) of Jframe. Bouncing is fine, but it is printing 2 lines just behind the ball (arc).
    Any expert commetns would be greatly appreciated.
    Raheel.

    Hi.
    I think you should clean up your background at the beginnig of paintComponent:
    public void paintComponent(Graphics comp) {     
      super.paintComponent(comp);
      g = (Graphics2D)comp;
      //comp cleaning
      g.setColor(Color.WHITE); //the color of your background
      comp.fillRect(0, 0, getWidth(), getHeight());
      //end of cleaning
      g.fillRect(0, 0, get
      g.drawLine(0,250, 500,  500/2); //draw horizontal line from north
      g.drawLine(500/2, 0, 500/2, 500); //draw vertical line on the equator    g.setColor(Color.blue);     
      g.fillArc(width, height, ballSize, ballSize, 0, 360);
    }Hope this help.

  • Premiere CS3 AVI Problems!! (plz help)

    I'm using Adobe Premiere CS3 on my Computer and I'm trying to import this AVI footage-- Now the footage imports smoothly BUT when I put it on the timeline it shows grey/pixelated image. I can hear audio, but the video doesnt play properly. I've tried Downloading numerous codecs to fix it, but I'm not sure that's the issue...
    I can preview the AVI outside of Premiere using any media player and I can edit the same footage in After Effects..
    ALSO I have Adobe Premiere CS3 on my iMac and I can preview the SAME AVI file without having that pixelated problem like I do on my computer..
    I'm not sure what's up with my PC's version of Adobe Premiere CS3 or what.. **This particular AVI is a Panasonic DV Codec (i think) which I have.**
    This/These video(s) with that type of AVI just doesnt work with the timeline's preview whereas all the other video types work fine... (For example, I can take the footage into After Effects and export it as an AVI and THEN it plays with Premiere with slightly altered quality..)
    If anyone has some idea, let me know--
    Thanks,
    Ari

    DV Type 2 AVI
    Also-- I'm messing around with it trying to figure out the issue.. I think that it could be after effects. I think the intro to the video was made with AE or motion and Premiere isnt recognizing the colors or something..
    I made a little animation in After Effects and exported it and Premiere wouldnt play it-- It imported it, but it wouldnt play on the preview window..
    I just put that animation into GSpot and it showed me that it's a DV Type 2 AVI ( AVI v1.0 )
    So there must be something going on with the AVI v1.0 and my Premiere doesnt want to play it.. I still cant figure out the solution though.

  • 8800 sirocco Problem!! plz help

    hello i have a nokia 8800 sirocco gold and sometimes it shows a headset or a cae in the main screen and all the sounds are gone! it thinks that i have pluged a headphone some how or iam in a car! can anyone help me in how to fix this problem!! is there some way i can DISABLE these features or something!

    Try switching the phone on without your sim card inserted.
    If it boots normally then try again with your sim in. If it fails again contact your network for a new sim.
    If it fails to boot without the sim then you need to get it repaired at a nokia care point/service centre.
    Care points:
    UK
    http://www.nokia.co.uk/A4228006
    Europe:
    http://europe.nokia.com/A4388379
    Elsewhere:
    http://www.nokia.com and select your country.

  • Associative Table Key Value Problem...Plz Help...

    Good Morning guys,
    I would like to ask something about creating associative tables. I want to create an associative table with 3 key values, something like this:
    TYPE datatab IS TABLE OF mis_adeia_employee %ROWTYPE
    INDEX BY NUMBER, VARCHAR2(3), DATE;
    but it displays me error. Is there an alternative way? The basic reason i want to do this, is that my application which is written in PowerBuilder 7 uses datawindows, and now i try to transfer my application from PB to Oracle Forms Builder. So i try to find a structure similar to datawindows. I selected associative tables and i stacked in this example?
    Any help , idea?
    Thanx a lot in advance,
    Regards ,
    Bill ...

    Duplicated post:
    Problem Indexing a Table ! ! !
    Rgds.

  • JSPDynpage problem...plz help

    Hi All,
    I hv a Strange problem facing with Portal Component Project. I hv created Portal Component Project with two JSPDynpages :
    JSPDynpage1 - hving one Hyperlink Text
    JSPDynpage2 - Plain text and Images
    Whenever User clicks on Hyperlink in JSPDynpage1 will navigate to other JSPDynpage which show only plain text and images.
    I hv used following h ref to navigate from one to other
    href="http://someserver:50000/irj/servlet/prt/portal/prtroot/PDK
    Project.JSPDynpage"
    I hv created an IView based on JSPDynpage1. Everything works fine. IView is
    showing the Hyperlink and taking it to the next page. Finally I assigned this IView to page.....when the User clicks on Hyperlink it is prompting me give User Id and pwd.
    Also, Hyperlink shows underlined eventhough when I don't point mouse at hyperlink. I want to get rid of this one.
    Can anybody help me in this regards.... where I am going wrong. Any suggestion woudl be greatly appreciated and helpfull. Looking forward to your responses.
    Thanks in advance,
    Ravi Kumar.

    Hi Ravi,
    please check the permission property for the target iView: Right Click open -> Permissions. If you see the permission is only given for super admin or something like that then add the Everyone gorup to it and check on the End User checkbox. Save the permission set and then test to see what happens.
    Regarding the line coming below hyperlink - I think you need to change the design of the link a bit in order to get the hovering effect.
    Regards,
    Shubho

  • Hard Problem !! Plz Help me !!

    Hi !
    I m kHaLiD from Morocco
    I have a problem with my iPod shuffle 512 MB
    I put songs mp3 but i cant hear any thing !!
    I downloaded all the disponible softwares from the official website like iTunes
    please someone help me to tell me what to do !!
    I put music but i dont listen any thing !

    Hey there KHALID just seen your post ok firstly what version of i tunes u got. Try and go onto edit tab at the top prefrences then go to playback. Then go to crossfade make sure tab is in the middle. Go to sound enhancement go crank that up a little then go to sound adjustment box tick it ok does that work. Play a song in i tunes from the i pod in the module does that play. U sure u havent got dodgy headphones try another set not apple. Does an orange light constantly come on.. In I pod options bottome right hand corner go to enable disk function is this ticked if it is u wont be able to retrieve music only data make sure all the memory is pointing at the music and not the data ok laters D Reply and ill try and help u out a bit more try and be a bit more pacific ok thanks

  • Ipod touch -cannot connect to itunes store:wifi  connection works, tried reset and still have problem, submitted request for help to apple and they pointed me to a bunch of articles that were of no help, already had tried so I wrote to them, Help

    cannot connect to itunes store
    wifi works and confirmed by accessing google & ew.com
    tried reset and removed everything from ipod
    still receive error cannot connect to itunes store
    did google search and could not find a solution.  found other's also asking for help
    sent request to apple and received response with list of articles.  already tried these and still don't have answer.  inluded ipod model and serial number (ma62ll / 9c740wffw4n) thinking this might help them provide a specific solution.
    version: 1.1.5 (4b1)
    help,  i want to connect to itunes,

    Try:
    Best Fixes for ‘Cannot Connect to iTunes Store’ Errors | iPad Insight

Maybe you are looking for