Cool. Congratz On Thu, Jul 28, 2011 at 3:10 PM, Sewwandi <sew...@gmail.com> wrote:
> Hi all, > > I found the solution. It was required to set the URIEncoding="UTF-8" > property, and that solved the problem. > > Thanks & regards > Sewdil > > On Thu, Jul 28, 2011 at 2:18 PM, Sewwandi <sew...@gmail.com> wrote: > > > hi Vishwa, > > > > Thanks a lot for your reply... I don't get this with single and double > > quotes and I am using UTF-8 charset. I think the request parameters > which > > are passed need to be encoded but I can't find out how to. > > > > > > On Thu, Jul 28, 2011 at 1:58 PM, Vishwa Sahan <vishwa.sa...@gmail.com > >wrote: > > > >> Is your problem persists with the characters like singe and double > quotes? > >> I think the problem is with the charset. Try using UTF-8 charset it will > >> be > >> fine. > >> Try explaining little more about what you are about to do. > >> > >> On Thu, Jul 28, 2011 at 1:59 PM, Sewwandi <sew...@gmail.com> wrote: > >> > >> > yes > >> > > >> > On Thu, Jul 28, 2011 at 1:04 PM, Vishwa Sahan <vishwa.sa...@gmail.com > >> > >wrote: > >> > > >> > > have you copied and pasted the charactor from somewhere else such as > a > >> MS > >> > > Word document? > >> > > > >> > > On Thu, Jul 28, 2011 at 1:25 PM, <sew...@gmail.com> wrote: > >> > > > >> > > > hi, > >> > > > I am using struts 2.0.11.1 and i'm redirecting to an action with > >> some > >> > > > parameters. > >> > > > the problem is that when the parameter value contain the special > >> > > character > >> > > > '–' (long dash) it is not correctly set in the parameter (ie when > i > >> > print > >> > > > the value in 'otheractionName' action class (after redirection) > the > >> > > > character is printed as 'â??') > >> > > > > >> > > > <action name="selectaction" > >> > > > class="com.selectAction" method="selectNow"> > >> > > > <result name="otheraction" type="redirect-action"> > >> > > > <param name="actionName">**otheractionName</param> > >> > > > <param name="projectName">${model.**project}</param> > >> > > > <param name="release">${model.**release}</param> > >> > > > </result> > >> > > > can someone please help me to resolve this problem... > >> > > > > >> > > > >> > > > >> > > > >> > > -- > >> > > Vishwa Rajakaruna > >> > > > >> > > *...It does not take a new day to make a brand new start > >> > > It only takes a deep desire to try with all your heart...* > >> > > > >> > > >> > >> > >> > >> -- > >> Vishwa Rajakaruna > >> > >> *...It does not take a new day to make a brand new start > >> It only takes a deep desire to try with all your heart...* > >> > > > > > -- Vishwa Rajakaruna *...It does not take a new day to make a brand new start It only takes a deep desire to try with all your heart...*