Source stranice je:
Code:
%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<f:loadBundle basename="dipl.bundle.messages" var="msg"/>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>header</title>
<link href="mp3styles.css" rel="stylesheet" type="text/css" />
</head>
<body>
<f:view>
<h:form id="f1">
<h:outputText value="zdravo!"/>
<h:graphicImage value="pics/slika.gif"/>
<h:outputText value="opet zdravo!"/>
</h:form>
</f:view>
</body>
</html>
%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<f:loadBundle basename="dipl.bundle.messages" var="msg"/>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>header</title>
<link href="mp3styles.css" rel="stylesheet" type="text/css" />
</head>
<body>
<f:view>
<h:form id="f1">
<h:outputText value="zdravo!"/>
<h:graphicImage value="pics/slika.gif"/>
<h:outputText value="opet zdravo!"/>
</h:form>
</f:view>
</body>
</html>
Problem je taj red, bar mislim,
Code:
<h:graphicImage value="pics/slika.gif"/>
<h:graphicImage value="pics/slika.gif"/>
, posto se na stranici ispise zdravo! i opet zdravo!
Da li neko zna gde gresim?
Hvala unapred...