Please help, Keep getting Attribute status has no value when I try to pass it in directly, have to pass it to a variable and then pass it in but the application architect wants no Java code in the JSP, I know this can be done I just can't get it to work, only Using Tomcat 3.3 on Windows '98 for a dev platform.(wish I could use something else but it's a contract, have no choise) I set my tld. tag defininition to look like this: <tag> <name>jordana_tech</name> <tagclass>examples.Jordana_Tech</tagclass> <attribute> <name>eta</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> <attribute> <name>status</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> <attribute> <name>jobDelayCause</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> </tag>
Yet I can't pass in the parameter directly. What I want to do is this: <ul> <ec:jordana_tech status="<%= request.getParameter("status").toString()%>" eta="<%= request.getParameter("eta").toString() %>" jobDelayCause="<%= request.getParameter("jobDelayCause").toString() %>"/> </ul> This produces this error: org.apache.jasper.compiler.ParseException: C:\tomcat\jakarta-tomcat-3.3\webapps\examples\jsp\simpletag\jordana_tech.jsp(16,58) Attribute status has no value But if I do this it works just fine: <% String status = request.getParameter("status"); if(status ==null) status=""; String eta = request.getParameter("eta"); if(eta ==null) eta=""; String eta = request.getParameter("jobDelayCause"); if(jobDelayCause ==null) jobDelayCause=""; %> <ul> <ec:jordana_tech status="<%= status%>" eta="<%=eta%>" jobDelayCause="<%=jobDelayCause%>"/> </ul> ----Original Message Follows---- From: "Bang, Steinar" Reply-To: [EMAIL PROTECTED] To: "'[EMAIL PROTECTED]'" Subject: Can mod_jk be made to restart tomcat, if tomcat has died? Date: Fri, 26 Oct 2001 11:59:40 +0200 Can mod_jk be made to restart tomcat, if it discovers that the tomcat process is no longer running? Thanx! - Steinar This email, its content and any attachments is PRIVATE AND CONFIDENTIAL to TANDBERG Television. If received in error please notify the sender and destroy the original message and attachments. _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp