Foren

  (What is this comming from)

Peter Hellstrand, geändert vor 12 Jahren.

  (What is this comming from)

Junior Member Beiträge: 26 Beitrittsdatum: 11.10.11 Neueste Beiträge
The only thing I do is importing the jsp
 <%@include file="/init.jsp" %>

below and it does compile (eclipse) without any warnings. The result are show here http://imageshack.us/photo/my-images/828/screenshot20111012at754.png
Why could this be happening. When I inspect the generated HTML its only text. Any ideas?

Thanks!
<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>  

<%@ taglib uri="http://liferay.com/tld/aui" prefix="aui" %>
<%@ taglib uri="http://liferay.com/tld/portlet" prefix="liferay-portlet" %> 
<%@ taglib uri="http://liferay.com/tld/security" prefix="liferay-security" %>
<%@ taglib uri="http://liferay.com/tld/theme" prefix="liferay-theme" %> 
<%@ taglib uri="http://liferay.com/tld/ui" prefix="liferay-ui" %>
<%@ taglib uri="http://liferay.com/tld/util" prefix="liferay-util" %>

<%@ page import="java.util.List" %>
<%@ page import="java.util.Calendar" %>
<%@ page import="java.util.Collections" %>
<%@ page import="com.liferay.portal.kernel.util.HtmlUtil" %>
<%@ page import="com.liferay.portal.kernel.util.ParamUtil" %>
<%@ page import="com.liferay.portal.kernel.util.CalendarFactoryUtil" %>
<%@ page import="com.liferay.portal.kernel.dao.search.ResultRow" %>
<%@ page import="com.liferay.portal.kernel.dao.search.SearchEntry" %>
<%@ page import="com.liferay.portal.kernel.exception.SystemException" %>
<%@ page import="com.liferay.portal.kernel.util.WebKeys" %>
<%@ page import="com.liferay.portal.security.permission.ActionKeys" %>
<%@ page import="com.liferay.portal.kernel.util.ListUtil" %>
<%@ page import="com.liferay.portal.service.permission.PortalPermissionUtil" %> 
<%@ page import="com.liferay.portal.service.permission.PortletPermissionUtil" %>
<%@ page import="com.inkwell.internet.productregistration.model.PRProduct" %> 
<%@ page import="com.inkwell.internet.productregistration.model.PRRegistration" %>
<%@ page import="com.inkwell.internet.productregistration.model.PRUser" %> 
<%@ page import="com.inkwell.internet.productregistration.model.PRUser" %> 
<%@ page import="com.inkwell.internet.productregistration.registration.portlet.ActionUtil" %> 
<%@ page import="com.inkwell.internet.productregistration.service.PRProductLocalServiceUtil" %>

<%@ page import="com.inkwell.internet.productregistration.service.PRRegistrationLocalServiceUtil" %>
<%@ page import="javax.portlet.PortletURL" %>
<portlet:defineobjects />
<liferay-theme:defineobjects />
thumbnail
Hitoshi Ozawa, geändert vor 12 Jahren.

RE:   (What is this comming from)

Liferay Legend Beiträge: 7942 Beitrittsdatum: 24.03.10 Neueste Beiträge
If it's not compiling in Eclipse, there should be some messages in the "Problems" tab usually located at the bottom.
Phoenix Zerin, geändert vor 12 Jahren.

RE:   (What is this comming from)

Junior Member Beiträge: 60 Beitrittsdatum: 28.06.11 Neueste Beiträge
Unicode byte order marks, perhaps?
thumbnail
Hitoshi Ozawa, geändert vor 12 Jahren.

RE:   (What is this comming from)

Liferay Legend Beiträge: 7942 Beitrittsdatum: 24.03.10 Neueste Beiträge
Sorry, I've mis-read the question. It does compile without any error message.

It's just an encoding problem. Just specify the html header encoding in the jsp file.