wood burning stoves 2.0*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: html:link tag using chinese parameters