Discussions
Web tier: servlets, JSP, Web frameworks: What is the best practise for encoding the form data?
-
What is the best practise for encoding the form data? (1 messages)
- Posted by: Thomas Hassler
- Posted on: January 17 2010 08:59 EST
Hi all My current application is using struts 1.3.8 , what is the best practise to encode the form data before putting those form data into a javascript variable.. as I worry the encoding could slower the performance... Shoud I use the encodeURL by jdk or using the struts library TaguUtils? Or is there any other choices? Many ThanksThreaded Messages (1)
- Re: What is the best practise for encoding the form data? by Marina Prikaschikova on January 18 2010 06:39 EST
-
Re: What is the best practise for encoding the form data?[ Go to top ]
- Posted by: Marina Prikaschikova
- Posted on: January 18 2010 06:39 EST
- in response to Thomas Hassler
As an option: keep them as is on the server side and encode on the client. Anyway you need that for JS variable. Coldtags suite - the largest collection of custom JSP tags