• 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

Action parameter value is changed

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

i am getting trouble with below issue:

one of the my jsp page having following href link

Consider the value of this parameter for below url:

${userSecureKey} = "gfdsgghfhfdhliKksoT3zhgghgfX/BKUc4o+Kp31SFDSFjQ="




When i click the above ical link from the jsp page through ff,chrome, browser it will create the calender successfully in my outlook, but when i try same through IE 8/9 browser ,
it is not create the calender in outlook.

We use this following in this apps.

1.Core java
2.Struts 2.0
3.JSP
4.Struts interceptor.
5.Tomcat as deployment server
6.Apache 2.2 as redirect server.

as per the our code logic we allow to create the calender if the submitted value of user Key is same at server side ,
after doing too much analysis on it we found that as per the below





We get the userSecureKey value at server side [struts 2.0 interceptor side] "gfdsgghfhfdhliKksoT3zhgghgfX/BKUc4o Kp31SFDSFjQ="
while instead, we are expect its value should be like this "gfdsgghfhfdhliKksoT3zhgghgfX/BKUc4o+Kp31SFDSFjQ="

we can see that it convert '+' character to blank space ' ' , When user click on the link , it control first comes to interceptor , so no one can changes its value between those sequnce.
as well as i have also verify the value of userSecureKey through firebug tool of browser , it as same which i expected, so no question about the browser is not change its value.


We found that when href link is submit through IE browser, struts 2.0 or somehow something is changed '+' character value to ' ' blank-space , it happen only when i use webcal protocol with href link.
It is work very well with IE browser but when i use https protocol instead of webcal in href link.I want to know the reason why that happen , it is the issue of browser or struts 2.0's valustack interceptor.

right now i had solve the issue with something character replacing way. but i do not figure out what is the root cause of this issue.? and why the special symbolic character value is changed?I think it is big issue for me , right now i am looking for the specific and effective solution for the my issue, whatever i had provide is not best one.so anybody please share your view regarding the my issue, and provide me the guidance on it.

Thanks & Regards
Yatin Baraiya


 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic