This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes html:link tag using chinese parameters Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "html:link tag using chinese parameters" Watch "html:link tag using chinese parameters" New topic
Author

html:link tag using chinese parameters

George Hill
Greenhorn

Joined: Aug 26, 2003
Posts: 6
hi, all
I get a problem when i use html:link.
Think about this tag:
<html:link page="/action.do" paramName="name" paramProperty="property" paramId="id">Link</html:link>.
If the "name" bean's property is a chinese string. how can i get the right string in the action? I try to use new String(request.getParameter("id").getBytes("ISO8859-1")), but it doesn't work.
Any answer? Thanks a lot!
 
jQuery in Action, 2nd edition
 
subject: html:link tag using chinese parameters
 
Similar Threads
Using both struts html:link and bean:write error
How can this be done better (html:link)
HTML:link tag with dynamic page attribute?
struts html:link not working with portlet
Double action call when scriptlets in iterate tag