• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Issue with hidden variable in IE

 
Ranch Hand
Posts: 360
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

We have one data entry application developed using servlets and regular java classes. The application is working fine with Netscape but giving problems with IE on 'some' workstations. With IE, looks like the application is loosing hidden variable value set in client-side javascript. It is not consistent. Sometimes it fails while adding 1st record and sometimes after adding 2-3 records. Anybody faced this type of issue ? I'm wondering whether this is due to some configuration issue. If it is code issue it should fail in Netscape as well as other Machines with IE.

Thanks
 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
can you please paste the code.
 
Dilip kumar
Ranch Hand
Posts: 360
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


System is failing at (String)request.getParameterValues("hdnDestination")[0]; How to make sure whether request is still valid when it comes to this point ?
 
Ranch Hand
Posts: 1211
Mac IntelliJ IDE
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
So are you getting an ArrayIndexOutOfBoundsException because there are no parameters set with that name?
If the problem is with the javascript code, post the problem in the HTML and Javascript forum with the relevant javascript code, somebody may be able to help.
 
Dilip kumar
Ranch Hand
Posts: 360
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moderator -
Can you please transfer this thread to Javascript forum if you think this issue is related to that forum.

Here is Javascript code. I'm getting alert message everytime. So javascript is setting the value.




I have added few logs to my java code.



With IE I'm getting following results. This error is not consistent. Some times I don't get Null Pointer exception.

DEBUG - In SessionMgr.setCurrentFilters
DEBUG - SessionMgr.setCurrentFilters Null Pointer Exception java.lang.NullPointerException:
DEBUG - SessionMgr.setCurrentFilters hMod :

With Netscape following results

DEBUG - In SessionMgr.setCurrentFilters
DEBUG - SessionMgr.setCurrentFilters hMod : ManualTransaction
[ October 13, 2004: Message edited by: Dilip kumar ]
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic