• 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

Avoiding param in URL when action-redirect....

 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a mapping like this.
<result name="input" type="redirectAction" >
<param name="actionName">dispAcctTypePage</param>
<param name="accBean.zipCode">${accBean.zipCode}</param>
</result>

But the param come in url which is a security risk. please help how to eliminate param in browser URL.
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Don't pass it as a parameter.

If you *are* going to pass it as a parameter and don't want the user to recognize it then you'll need to encrypt it.

The last I heard zip codes aren't exactly secret, though, and I've never really run across a case where a zip code needs to be secret.
 
anand kumarblr
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for your reply.
I am using Actionredirect because i need to show some prepopulated values in select box in input page.....

If i must not pass as parameter then how could i pass values from one action to another action.
Actually iam using MessageStoreInterceptor to remember the validation messages, but to remeber field values iam passing the param like i shown before. i have many paameters... i dont want user to see that in his URL.
reply
    Bookmark Topic Watch Topic
  • New Topic