• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Including a parameter in all requests struts 1.x

 
ramesh maredu
Ranch Hand
Posts: 210
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

We have a application developed in struts 1.x, we are not using AJAX to POST/GET data from server, earlier this UI was serving data for only one customer, now we are updating our server to provide data for all customers based on 'customer id' ,now 'customer id' has to be passed in all requests to server and we need to achieve with minimal changes, is there any smart way to add 'customer id' in all requests to server.

Thanks,
Ramesh.
 
Joe Ess
Bartender
Posts: 9302
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you put the customer id in the session?
 
ramesh maredu
Ranch Hand
Posts: 210
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Joe,

we don't want to have customer id in either session or cookies.

Thanks,
Ramesh.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic