wood burning stoves
The moose likes Servlets and the fly likes Problem of parameter Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Problem of parameter" Watch "Problem of parameter" New topic

Problem of parameter

Gizzmo Zeuzere
Ranch Hand

Joined: May 11, 2001
Posts: 45
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.*, java.io.*" %>
<%@ 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"%>
I agree. Here's the link: http://aspose.com/file-tools
subject: Problem of parameter
It's not a secret anymore!