Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem of parameter

Gizzmo Zeuzere
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I try to pass a parameter, the jsp bean doesn't take it. Why ? (premiere=false all the time in my bean !!)
<%@ page import="java.util.*,*" %>
<%@ page session="true" %>
<%@ page errorPage="erreur.jsp" %>
<% boolean premiere;
if (session.isNew())
<jsp:useBean id="compteur" class="CompteurGL"/>
<jsp:setProperty name="compteur" property="premier" param="premiere" />
<h1> You have seen this page <%= compteur.getLocal() %> </h1>
<h1> during your <%= compteur.getGlobal() %> connections </h1>
</html><%@ page contentType="text/html;charset=WINDOWS-1252"%>
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic