Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Duplicate parameters in URL

843841Nov 19 2007 — edited Nov 19 2007
Hi,

I am using post method to handle data in backend.
If there are two parameters with same name exists in url or in hidden type, Both gets passed to servlet.
I want to restrict the programmer to pass only unique parameters.

Can we do this using filter?

Class DuplicateFieldException is helpful?

Please help me out with concept & code.

Thanks in advance.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 17 2007
Added on Nov 19 2007
4 comments
324 views