That code works well (actually it is pretty much general) - and i am sure it 
will help many people. 

But anyway, the issue i am still having - i can put utf-8 jsp and some special 
characters inside just for test bus still does not work. Any idea how to make 
it work? For example ????? (hope they will be shown correctly here ;))

I have added those lines into jsp file:
<%@ page session="false" contentType="text/html; charset=UTF-8"
        import="java.util.*,javax.portlet.*,helloworld.*"%>
and of course it was saved correctly in utf-8 format. 

Also in java file:

String sa = "text/html; charset=UTF-8";
response.setContentType(sa);

(it is short cut, but anyway..).

But in short how to convince jboss portal to get this line into html code

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>

or now even better - how to make sure that any meta data can be included and 
then later shown into code that is generated by portal.

Anton

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884444#3884444

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3884444


-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to