You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Slattery, Tim - BLS" <Sl...@bls.gov> on 2007/04/12 19:22:41 UTC

Struts in Servlet 2.4

I'm still trying to move Struts apps from WL 8 (servlet 2.3 environment)
to WL 9 (servlet 2.4 environment). I've change the top line in my
web.xml to the long, complicated string that specifies 2.4. The app runs
the first Action module, then forwards to a jsp page. In that page are
both JSTL and Struts tags. The first tag it hits is this:

<c:forEach items="${RespData}" var="resp">

Andit points to "items" and gives this message:

This attribute does not support request time values.

What!!! What's going on?


--
Tim Slattery
Slattery_T@bls.gov


RE: Struts in Servlet 2.4

Posted by "Slattery, Tim - BLS" <Sl...@bls.gov>.
> --- "Slattery, Tim - BLS" <Sl...@bls.gov>
> wrote:
> > <c:forEach items="${RespData}" var="resp">
> > 
> > Andit points to "items" and gives this message:
> > 
> > This attribute does not support request time values.
> 
> I don't recall, but did the TLD URIs change between 2.3/2.4? 
> 
> (I don't even know if it would matter if they did, actually, 
> I guess.) I suppose it could also be a JSTL library issue 
> etc. I'm sure it's something configurey or libraryey, though.

I'd been usuing the Struts-supplied JSTL stuff: c.tld, jstl.tld. For my
new deployment, I got rid of those, and used:

<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


RE: Struts in Servlet 2.4

Posted by "Slattery, Tim - BLS" <Sl...@bls.gov>.
 > -----Original Message-----
> From: Frank Russo [mailto:Frank.Russo@sas.com] 
> Sent: Thursday, April 12, 2007 2:40 PM
> To: Struts Users Mailing List
> Subject: RE: Struts in Servlet 2.4
 
> Did you change the version of your jstl jars? I forget which 
> version you need, but I think jstl 1.0 was 2.3 compliant, and 
> 1.1 was 2.4 compliant. You'll need to upgrade both jstl.jar 
> and standard.jar... 
 
I got rid of the jstl.jar from Struts. Wouldn't WL version 9 have a
newer JSTL built-in? 

Also...this is using an older version of Struts, I think it's 1.1. 

--
Tim Slattery
Slattery_T@bls.gov


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Struts in Servlet 2.4

Posted by Laurie Harper <la...@holoweb.net>.
Slattery, Tim - BLS wrote:
>> I found this to be a great tutorial
>> http://www.exadel.com/tutorial/struts/5.2/guess/strutstutorial.html
>>
>> Create your formbean with public Accessors/Mutators for each 
>> private attribute and also create methods for reset method 
>> validateMethod and of course public no arg constructor for bean
>>
>> in struts-config.xml configuration define the Bean <form-beans>
>>   <form-bean name="NameOfBeanForm" 
>> type="package.NameOfBeanForm"/> </form-beans>
>>
>> so later in your jsp you will be able to access the 
>> FormAttribute <html:html>  <html:form 
>> action="PathForAction".. >  <html:text property="AttributeFromForm"
> 
> Thanks, but I don't think that has anything to do with what's happening
> here. This app works under WL8, and I'm having trouble getting it to
> work in WL9. The problem right now is this <html:link...> tag, which
> asks for a property named solicitationNumber in a bean named Contact.
> It's not the form's default bean, the Action doesn't have any problem
> getting its form bean. I've verified that it saves the proper bean in a
> session attribute named "Contact". The tag says it can't find it. Dead
> end.

Tim, have you tried examining the content of the session at JSP render 
time, either using the s:debug tag or some other custom tag or 
scriptlet, to confirm that the bean really got stored to the session 
under the name you think it did?

L.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


RE: Struts in Servlet 2.4

Posted by "Slattery, Tim - BLS" <Sl...@bls.gov>.
> I found this to be a great tutorial
> http://www.exadel.com/tutorial/struts/5.2/guess/strutstutorial.html
> 
> Create your formbean with public Accessors/Mutators for each 
> private attribute and also create methods for reset method 
> validateMethod and of course public no arg constructor for bean
> 
> in struts-config.xml configuration define the Bean <form-beans>
>   <form-bean name="NameOfBeanForm" 
> type="package.NameOfBeanForm"/> </form-beans>
> 
> so later in your jsp you will be able to access the 
> FormAttribute <html:html>  <html:form 
> action="PathForAction".. >  <html:text property="AttributeFromForm"

Thanks, but I don't think that has anything to do with what's happening
here. This app works under WL8, and I'm having trouble getting it to
work in WL9. The problem right now is this <html:link...> tag, which
asks for a property named solicitationNumber in a bean named Contact.
It's not the form's default bean, the Action doesn't have any problem
getting its form bean. I've verified that it saves the proper bean in a
session attribute named "Contact". The tag says it can't find it. Dead
end.


--
Tim Slattery
Slattery_T@bls.gov


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Struts in Servlet 2.4

Posted by Martin Gainty <mg...@hotmail.com>.
Hi Tim

I found this to be a great tutorial
http://www.exadel.com/tutorial/struts/5.2/guess/strutstutorial.html

Create your formbean with public Accessors/Mutators for each private 
attribute and also create methods for
reset method
validateMethod
and of course public no arg constructor for bean

in struts-config.xml configuration define the Bean
<form-beans>
  <form-bean name="NameOfBeanForm" type="package.NameOfBeanForm"/>
</form-beans>

so later in your jsp you will be able to access the FormAttribute
<html:html>
 <html:form action="PathForAction".. >
 <html:text property="AttributeFromForm"

HTH
M--


This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.

----- Original Message ----- 
From: "Slattery, Tim - BLS" <Sl...@bls.gov>
To: "Struts Users Mailing List" <us...@struts.apache.org>
Sent: Friday, April 13, 2007 1:31 PM
Subject: RE: Struts in Servlet 2.4


> <c:forEach items="${RespData}" var="resp">
>
> Andit points to "items" and gives this message:
>
> This attribute does not support request time values.

Well, I've made some progress, I guess.

I removed the jstl.jar and standard.jar that came with the Struts
distribution. I deleted the <taglib> tags for c: and fmt: in web.xml.
And I got rid of references to -el tags, since in this brave new world,
EL should be built-in.

And now the page gets past the compiler. But it stops at my first Struts
tag:

<html:link href="/CES/contactForm.do" paramId="solicitationNumber"
paramName="Contact"
       paramProperty="solicitationNumber" styleClass="menu"
title="Respondent Information"
       onClick="Javascript:return contact_window(this,
'Contact','false')">
          Update Respondent Information</html:link>

The error message is: Root cause of ServletException.
javax.servlet.jsp.JspException: Cannot find bean Contact in any scope

Now the Action module that runs and invokes this JSP page uses
session.setAttribute to store a bean under the name "Contact". I have
some debug print in that module, and there's *no* doubt at all that it's
running that statement. So why can't my struts tag find my bean?


--
Tim Slattery
Slattery_T@bls.gov


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Struts in Servlet 2.4

Posted by Martin Gainty <mg...@hotmail.com>.
I did'nt see The bean:define for Contact before its usage in paramName 
<html:link paramName="Contact">

<bean:define type="java.util.Map" id="Contact">
  <param id="name" value="NameValue"/>
  <param id="address" value="AddressValue"/>
</bean:define>
<html:link paramName="Contact">

M--
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.

----- Original Message ----- 
From: "Slattery, Tim - BLS" <Sl...@bls.gov>
To: "Struts Users Mailing List" <us...@struts.apache.org>
Sent: Monday, April 16, 2007 3:29 PM
Subject: RE: Struts in Servlet 2.4




> -----Original Message-----
> From: Martin Gainty [mailto:mgainty@hotmail.com]
> Sent: Monday, April 16, 2007 3:20 PM
> To: Struts Users Mailing List
> Subject: Re: Struts in Servlet 2.4
>
> Tim--
>
> I dont understand why looping would help when your webserver
> cant find a page whicgh is misconfigured or missing???
>
> The only reference I could see for Contact was located at
> <forward name="Contact"  path="/content/address.jsp"
> redirect="false"/>

It's running only the "/index" action. That forwards to the CESHome
global forward (I don't know whay they made that one global) which
resolves to index.jsp. Index.jsp invokes homeHeader.jsp to put our
standard header before the meat of the page. Here's homeHeader.jsp:

<%@ page language="java"
import="gov.bls.idcf.ces.struts.ContactFormBean" %>
<%@ page session="false"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>

<head>
<title><%=request.getParameter("title")%></title>
<meta name="ROBOTS" content="none,noindex,nofollow">
<meta http-equiv="Content-Language" content="en-US">
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<meta http-equiv="Expires" content="Sat, 01 Jan 2000 23:59:00
GMT">
<meta http-equiv="PRAGMA" content="NO-CACHE">
<meta name="Description"
content="<%=request.getParameter("pgDesc")%>">
<meta name="Keywords"
content="<%=request.getParameter("pgKey")%>">
<link href="mailto:idc.helpdesk@bls.gov">
<link rel="stylesheet" href="/CES/images/all.css"
TYPE="text/css">
<link rel="stylesheet" href="/CES/images/print.css"
media="print" type="text/css" />
</head>

<script type="text/javascript">

function help_window(url)
{

window.open(url,'Help','width=600,height=425,toolbar=no,location=no,dire
ctories=no,
status=yes,menubar=no,scrollbars=yes,copyhistory=no,resizable=no');
}

function contact_window(url,title,ret)
{

window.open(url,title,"width=600,height=565,toolbar=no,location=no,direc
tories=no,
status=yes,menubar=no,scrollbars=yes,copyhistory=no,resizable=yes");
if(ret=="false")
{
return false;
}
}

</script>

<body marginwidth="0" marginheight="0">
<div id="hbanner" title="Banner"><img src="/CES/images/1ptrans.gif"
alt="[spacer]" width="1" height="63" hspace="0" vspace="0"
border="0"></div>
<div id="tmenu" title="Top Menu">
<%
            Enumeration atts = request.getSession().getAttributeNames();
            while (atts.hasMoreElements())
            {
                System.out.println("homeHeader.jsp: session: " +
(String)atts.nextElement());
            }

            ContactFormBean  cfb =
(ContactFormBean)request.getSession().getAttribute("Contact");
            System.out.println("homeHeader.jsp: solno: " +
cfb.getSolicitationNumber());

%>
<html:link href="/CES/contactForm.do" paramId="solicitationNumber"
paramName="Contact"
       paramProperty="solicitationNumber" styleClass="menu"
title="Respondent Information"
       onClick="Javascript:return contact_window(this,
'Contact','false')">
          Update Respondent Information</html:link>&nbsp;|&nbsp;
<a name="Help" id="Help"
href="javascript:help_window('/CES/help/cesindex.jsp','Help','true')"
       class="menu" title="Help">Help</a>&nbsp;|&nbsp;
<a name="Logout" id="Logout"
href="/CES/content/exitSurvey.jsp?target=http://www.bls.gov/idcf/logout.
htm"
        class="menu" title="Logout">Logout</a>&nbsp;

</div>

<div id="hmain" title="Body of Document">


I've added the "import" at the top and the Java code between the <%  %>
tags to verify that Contact is there and that it contains the right
thing. It is and it does. But the <html:link> tag just below the java
code can't find it.

--
Tim Slattery
Slattery_T@bls.gov


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


RE: Struts in Servlet 2.4

Posted by "Slattery, Tim - BLS" <Sl...@bls.gov>.
 

> -----Original Message-----
> From: Martin Gainty [mailto:mgainty@hotmail.com] 
> Sent: Monday, April 16, 2007 3:20 PM
> To: Struts Users Mailing List
> Subject: Re: Struts in Servlet 2.4
> 
> Tim--
> 
> I dont understand why looping would help when your webserver 
> cant find a page whicgh is misconfigured or missing???
> 
> The only reference I could see for Contact was located at 
> <forward name="Contact"  path="/content/address.jsp" 
> redirect="false"/>

It's running only the "/index" action. That forwards to the CESHome
global forward (I don't know whay they made that one global) which
resolves to index.jsp. Index.jsp invokes homeHeader.jsp to put our
standard header before the meat of the page. Here's homeHeader.jsp:

<%@ page language="java"
import="gov.bls.idcf.ces.struts.ContactFormBean" %>
<%@ page session="false"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>

<head>
	<title><%=request.getParameter("title")%></title>
	<meta name="ROBOTS" content="none,noindex,nofollow">
	<meta http-equiv="Content-Language" content="en-US">
	<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
	<meta http-equiv="Expires" content="Sat, 01 Jan 2000 23:59:00
GMT">
	<meta http-equiv="PRAGMA" content="NO-CACHE">
	<meta name="Description"
content="<%=request.getParameter("pgDesc")%>">
	<meta name="Keywords"
content="<%=request.getParameter("pgKey")%>">
	<link href="mailto:idc.helpdesk@bls.gov">
	<link rel="stylesheet" href="/CES/images/all.css"
TYPE="text/css">
	<link rel="stylesheet" href="/CES/images/print.css"
media="print" type="text/css" />
</head>

<script type="text/javascript">

function help_window(url)
{ 
	
window.open(url,'Help','width=600,height=425,toolbar=no,location=no,dire
ctories=no,
status=yes,menubar=no,scrollbars=yes,copyhistory=no,resizable=no'); 
}

function contact_window(url,title,ret)
{ 
	
window.open(url,title,"width=600,height=565,toolbar=no,location=no,direc
tories=no,
status=yes,menubar=no,scrollbars=yes,copyhistory=no,resizable=yes"); 
	if(ret=="false") 
	{
		return false; 
	} 
}

</script>

<body marginwidth="0" marginheight="0">
<div id="hbanner" title="Banner"><img src="/CES/images/1ptrans.gif"
alt="[spacer]" width="1" height="63" hspace="0" vspace="0"
border="0"></div>
<div id="tmenu" title="Top Menu">
<%
            Enumeration atts = request.getSession().getAttributeNames();
            while (atts.hasMoreElements())
            {
                System.out.println("homeHeader.jsp: session: " +
(String)atts.nextElement());
            }
            
            ContactFormBean  cfb =
(ContactFormBean)request.getSession().getAttribute("Contact");
            System.out.println("homeHeader.jsp: solno: " +
cfb.getSolicitationNumber());
            
%>
<html:link href="/CES/contactForm.do" paramId="solicitationNumber"
paramName="Contact" 
       paramProperty="solicitationNumber" styleClass="menu"
title="Respondent Information" 
       onClick="Javascript:return contact_window(this,
'Contact','false')">
          Update Respondent Information</html:link>&nbsp;|&nbsp;
<a name="Help" id="Help"
href="javascript:help_window('/CES/help/cesindex.jsp','Help','true')" 
       class="menu" title="Help">Help</a>&nbsp;|&nbsp;
<a name="Logout" id="Logout"
href="/CES/content/exitSurvey.jsp?target=http://www.bls.gov/idcf/logout.
htm" 
        class="menu" title="Logout">Logout</a>&nbsp;

</div>

<div id="hmain" title="Body of Document">


I've added the "import" at the top and the Java code between the <%  %>
tags to verify that Contact is there and that it contains the right
thing. It is and it does. But the <html:link> tag just below the java
code can't find it.

--
Tim Slattery
Slattery_T@bls.gov


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Struts in Servlet 2.4

Posted by Martin Gainty <mg...@hotmail.com>.
Tim--

I dont understand why looping would help when your webserver cant find a 
page whicgh is misconfigured or missing???

The only reference I could see for Contact was located at
<forward name="Contact"  path="/content/address.jsp" redirect="false"/>

keeping in mind that path="URL"
where The URL can be absolute or relative to the current JSP file. If it is 
absolute (beginning with a /), the path is resolved by your Web or 
application server.

my question is where is address.jsp specifically located?

Martin--
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.

----- Original Message ----- 
From: "Slattery, Tim - BLS" <Sl...@bls.gov>
To: "Struts Users Mailing List" <us...@struts.apache.org>
Sent: Monday, April 16, 2007 1:25 PM
Subject: RE: Struts in Servlet 2.4



> tough to guess on what your configuration is without seeing
> your configuration files
>
> Please display web.xml and struts.xml for us

Thanks, that's entirely reasonable. I've followed Laurie Harper's
advice, and put a loop into the JSP page immediately before it fails.
That loop calls requestSession.getAttributeNames(), then iterates
through the resulting Enumeration and displays the session attributes
present. "Contact" is there. But the very next statement, an
<html:link..." tag that includes paramName="Contact", generated the
error message:

javax.servlet.jsp.JspException: Cannot find bean Contact in any scope

It's running only the very first "Action", which is path="/index" in the
weblogic-config.xml file. That module finds and reads its form bean,
sets the "Contact" object in the session objects and forwards to a JSP
page.

Hmm..maybe I should put some more debug print into the JSP page, and
make sure that the right object is stored in the Contact session
attribute.

Anyway, thanks for giving some thought to this.

So, as requested, here are the config files

web.xml:

<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
         version="2.4">

  <display-name>CES</display-name>

  <filter>
    <filter-name>jspFilter</filter-name>
    <filter-class>gov.bls.idcf.ces.filters.jspFilter</filter-class>
  </filter>

  <filter>
    <filter-name>sessionFilter</filter-name>
    <filter-class>gov.bls.idcf.ces.filters.sessionFilter</filter-class>
  </filter>

  <filter-mapping>
    <filter-name>sessionFilter</filter-name>
    <url-pattern>*.do</url-pattern>
  </filter-mapping>

  <filter-mapping>
    <filter-name>jspFilter</filter-name>
    <url-pattern>*.jsp</url-pattern>
  </filter-mapping>

  <filter-mapping>
    <filter-name>sessionFilter</filter-name>
    <url-pattern>*.jsp</url-pattern>
  </filter-mapping>

  <servlet>
    <servlet-name>setup</servlet-name>
    <servlet-class>gov.bls.idcf.SetupServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
  </servlet>

  <servlet>
    <servlet-name>action</servlet-name>

<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
    <init-param>
      <param-name>application</param-name>
      <param-value>ces</param-value>
    </init-param>
    <init-param>
      <param-name>config</param-name>
      <param-value>/WEB-INF/struts-config.xml</param-value>
    </init-param>
    <init-param>
      <param-name>debug</param-name>
      <param-value>2</param-value>
    </init-param>
    <init-param>
      <param-name>detail</param-name>
      <param-value>2</param-value>
    </init-param>
    <init-param>
      <param-name>validate</param-name>
      <param-value>true</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
  </servlet>

  <servlet-mapping>
    <servlet-name>action</servlet-name>
    <url-pattern>*.do</url-pattern>
  </servlet-mapping>

  <session-config>
    <session-timeout>30</session-timeout>
  </session-config>

<jsp-config>
  <taglib>
    <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
    <taglib-location>/WEB-INF/tld/struts-bean.tld</taglib-location>
  </taglib>

  <taglib>
    <taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
    <taglib-location>/WEB-INF/tld/struts-html.tld</taglib-location>
  </taglib>

  <taglib>
    <taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>
    <taglib-location>/WEB-INF/tld/struts-logic-el.tld</taglib-location>
  </taglib>

  <taglib>
    <taglib-uri>/WEB-INF/struts-form.tld</taglib-uri>
    <taglib-location>/WEB-INF/tld/struts-form.tld</taglib-location>
  </taglib>

  <taglib>
    <taglib-uri>/WEB-INF/struts-template.tld</taglib-uri>
    <taglib-location>/WEB-INF/tld/struts-template.tld</taglib-location>
  </taglib>

</jsp-config>

</web-app>

And here's struts-config.xml:

<?xml version="1.0" encoding="ISO-8859-1" ?>

<!DOCTYPE struts-config PUBLIC
          "-//Apache Software Foundation//DTD Struts Configuration
1.0//EN"
          "http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd">


<struts-config>


  <!-- ========== Form Bean Definitions
=================================== -->
<form-beans>
    <form-bean
        name="CESHomeForm" type="gov.bls.idcf.ces.struts.CESHomeBean">
    </form-bean>
    <form-bean
    name="EntryFormBean"
type="gov.bls.idcf.ces.struts.EntryFormBean">
    </form-bean>
    <form-bean
        name="ContactFormBean"
type="gov.bls.idcf.ces.struts.ContactFormBean">
    </form-bean>
    <form-bean
        name="SolcFormBean" type="gov.bls.idcf.ces.struts.SolcFormBean">
    </form-bean>
    <form-bean
        name="WorksiteFormBean"
type="gov.bls.idcf.ces.struts.WorksiteFormBean">
    </form-bean>
    <form-bean
        name="ReviewBean" type="gov.bls.idcf.ces.struts.ReviewFormBean">
    </form-bean>
    <form-bean
        name="PayGroups" type="gov.bls.idcf.ces.struts.PayGroupForm">
    </form-bean>
</form-beans>


<!-- ========== Global Forward Definitions
============================== -->
<global-forwards>
    <forward name="CESHome" path="/index.jsp" redirect="false"/>
    <forward name="Upload" path="/content/thankup.jsp"
redirect="false"/>
    <forward name="SystemFailure" path="/systemError.jsp"
redirect="false"/>
    <forward name="SessionTimeOut" path="/content/sessionTimeout.jsp"
redirect="false"/>
    <forward name="InvalidPageRquest" path="/invalidPageRequest.jsp"
redirect="false"/>
</global-forwards>


<!-- ========== Action Mapping Definitions
============================== -->
  <action-mappings>

    <action    path="/index"
               type="gov.bls.idcf.ces.struts.CESHomeAction"
               name="CESHomeForm"
              scope="request"
              input="/index.html">
      <forward name="CESHomeEmpty"  path="/cesHomeEmpty.jsp"
redirect="false"/>
    </action>

    <action    path="/PayGroups"
               type="gov.bls.idcf.ces.struts.PayGroupsAction"
               name="PayGroups"
               scope="request"
               input="/content/PayGroups.jsp">
      <forward name="FormABCE" path="/content/cesform_abce.jsp"
redirect="false"/>
    </action>

    <action    path="/entryForm"
               type="gov.bls.idcf.ces.struts.EntryFormAction"
               name="EntryFormBean"
               scope="request"
               input="/index.jsp">
      <forward name="FormABCE"  path="/content/cesform_abce.jsp"
redirect="false"/>
      <forward name="FormGS"  path="/content/cesform_gs.jsp"
redirect="false"/>
      <forward name="PayGroup" path="/content/PayGroups.jsp"
redirect="false"/>
    </action>

    <action    path="/History"
               type="gov.bls.idcf.ces.struts.HistoryAction"
               name="EntryFormBean"
               scope="request">
      <forward name="HistoryABCE" path="/content/history_abce.jsp"
redirect="false"/>
      <forward name="HistoryGS" path="/content/history_gs.jsp"
redirect="false"/>
    </action>

    <action    path="/entryFormUpdate"
               type="gov.bls.idcf.ces.struts.EntryFormUpdateAction"
               name="EntryFormBean"
               scope="request"
               input="/content/entryForm.jsp">
      <forward name="FormABCE"  path="/content/cesform_abce.jsp"
redirect="false"/>
      <forward name="FormGS"  path="/content/cesform_gs.jsp"
redirect="false"/>
      <forward name="reviewABCE" path="/content/review_abce.jsp"
redirect="false" />
      <forward name="reviewGS" path="/content/review_gs.jsp"
redirect="false" />
      <forward name="review2pg" path="/content/review2pg.jsp"
redirect="false"/>
    </action>

    <action    path="/review"
               type="gov.bls.idcf.ces.struts.ReviewAction"
               name="EntryFormBean"
               scope="request"
               input="/content/review_abce.jsp">
      <forward name="reviewABCE" path="/content/review_abce.jsp"
redirect="false"/>
      <forward name="review2pg" path="/content/review2pg.jsp"
redirect="false" />
      <forward name="reviewGS" path="/content/review_gs.jsp"
redirect="false"/>
      <forward name="FormABCE"  path="/content/cesform_abce.jsp"
redirect="false"/>
      <forward name="FormGS"  path="/content/cesform_gs.jsp"
redirect="false"/>
      <forward name="ThankYou" path="/content/thankyou.jsp"
redirect="false"/>
    </action>

    <action    path="/finalEdit"
               type="gov.bls.idcf.ces.struts.FinalEditAction"
               name="EntryFormBean"
               scope="request"
               input="/content/review2pg.jsp">
      <forward name="success" path="/content/thankyou.jsp"
redirect="false"/>
      <forward name="review" path="/content/review2pg.jsp"
redirect="false"/>
    </action>

    <action    path="/finish"
               type="gov.bls.idcf.ces.struts.FinishAction"
               name="EntryFormBean"
               scope="request"
               input="/content/FinalEdit.jsp">
      <forward name="ThankYou" path="/content/thankyou.jsp"
redirect="false"/>
    </action>


        <action  path="/contactForm"
        type="gov.bls.idcf.ces.struts.ContactFormAction"
        name="ContactFormBean"
                 scope="request">
         <forward name="Contact"  path="/content/address.jsp"
redirect="false"/>
         </action>

         <action path="/contactFormUpdate"
         type="gov.bls.idcf.ces.struts.ContactFormUpdateAction"
         name="ContactFormBean"
    scope="request"
    input="/content/address.jsp">
    <forward name="Completed"  path="/content/completed.jsp"
redirect="false"/>
    <forward name="Contact" path="/content/address.jsp"
redirect="false"/>
         </action>

    <action    path="/solcForm"
               type="gov.bls.idcf.ces.struts.SolcFormAction"
               name="SolcFormBean"
               scope="request">
      <forward name="solc"  path="/content/solcForm.jsp"
redirect="false"/>
    </action>

    <action    path="/solcFormUpdate"
               type="gov.bls.idcf.ces.struts.SolcFormUpdateAction"
               name="SolcFormBean"
               scope="request"
               input="/content/solcForm.jsp">
      <forward name="solc_failure"  path="/content/solcForm.jsp"
redirect="false"/>
      <forward name="solc_success"  path="/content/solc_completed.jsp"
redirect="false"/>
    </action>

    <action    path="/worksiteForm"
               type="gov.bls.idcf.ces.struts.WorksiteFormAction"
               name="WorksiteFormBean"
               scope="request">
      <forward name="worksite"  path="/content/worksiteForm.jsp"
redirect="false"/>
    </action>

    <action    path="/worksiteFormUpdate"
               type="gov.bls.idcf.ces.struts.WorksiteFormUpdateAction"
               name="WorksiteFormBean"
               scope="request"
               input="/content/worksiteForm.jsp">
      <forward name="worksite_failure"  path="/content/worksiteForm.jsp"
redirect="false"/>
      <forward name="worksite_success"  path="/content/completed.jsp"
redirect="false"/>
    </action>

  </action-mappings>

</struts-config>

--
Tim Slattery
Slattery_T@bls.gov


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


RE: Struts in Servlet 2.4

Posted by "Slattery, Tim - BLS" <Sl...@bls.gov>.
 
> tough to guess on what your configuration is without seeing 
> your configuration files
> 
> Please display web.xml and struts.xml for us

Thanks, that's entirely reasonable. I've followed Laurie Harper's
advice, and put a loop into the JSP page immediately before it fails.
That loop calls requestSession.getAttributeNames(), then iterates
through the resulting Enumeration and displays the session attributes
present. "Contact" is there. But the very next statement, an
<html:link..." tag that includes paramName="Contact", generated the
error message:

javax.servlet.jsp.JspException: Cannot find bean Contact in any scope

It's running only the very first "Action", which is path="/index" in the
weblogic-config.xml file. That module finds and reads its form bean,
sets the "Contact" object in the session objects and forwards to a JSP
page.

Hmm..maybe I should put some more debug print into the JSP page, and
make sure that the right object is stored in the Contact session
attribute.

Anyway, thanks for giving some thought to this.

So, as requested, here are the config files

web.xml:

<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
         version="2.4">

  <display-name>CES</display-name>

  <filter>
    <filter-name>jspFilter</filter-name>
    <filter-class>gov.bls.idcf.ces.filters.jspFilter</filter-class>
  </filter>

  <filter>
    <filter-name>sessionFilter</filter-name>
    <filter-class>gov.bls.idcf.ces.filters.sessionFilter</filter-class>
  </filter>

  <filter-mapping>
    <filter-name>sessionFilter</filter-name>
    <url-pattern>*.do</url-pattern>
  </filter-mapping>

  <filter-mapping>
    <filter-name>jspFilter</filter-name>
    <url-pattern>*.jsp</url-pattern>
  </filter-mapping>

  <filter-mapping>
    <filter-name>sessionFilter</filter-name>
    <url-pattern>*.jsp</url-pattern>
  </filter-mapping>
  
  <servlet>
    <servlet-name>setup</servlet-name>
    <servlet-class>gov.bls.idcf.SetupServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
  </servlet>

  <servlet>
    <servlet-name>action</servlet-name>
 
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
    <init-param>
      <param-name>application</param-name>
      <param-value>ces</param-value>
    </init-param>
    <init-param>
      <param-name>config</param-name>
      <param-value>/WEB-INF/struts-config.xml</param-value>
    </init-param>
    <init-param>
      <param-name>debug</param-name>
      <param-value>2</param-value>
    </init-param>
    <init-param>
      <param-name>detail</param-name>
      <param-value>2</param-value>
    </init-param>
    <init-param>
      <param-name>validate</param-name>
      <param-value>true</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
  </servlet>

  <servlet-mapping>
    <servlet-name>action</servlet-name>
    <url-pattern>*.do</url-pattern>
  </servlet-mapping>

  <session-config>
    <session-timeout>30</session-timeout>
  </session-config>

<jsp-config>
  <taglib>
    <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
    <taglib-location>/WEB-INF/tld/struts-bean.tld</taglib-location>
  </taglib>

  <taglib>
    <taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
    <taglib-location>/WEB-INF/tld/struts-html.tld</taglib-location>
  </taglib>

  <taglib>
    <taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>
    <taglib-location>/WEB-INF/tld/struts-logic-el.tld</taglib-location>
  </taglib>

  <taglib>
    <taglib-uri>/WEB-INF/struts-form.tld</taglib-uri>
    <taglib-location>/WEB-INF/tld/struts-form.tld</taglib-location>
  </taglib>

  <taglib>
    <taglib-uri>/WEB-INF/struts-template.tld</taglib-uri>
    <taglib-location>/WEB-INF/tld/struts-template.tld</taglib-location>
  </taglib>

</jsp-config>  
  
</web-app>

And here's struts-config.xml:

<?xml version="1.0" encoding="ISO-8859-1" ?>

<!DOCTYPE struts-config PUBLIC
          "-//Apache Software Foundation//DTD Struts Configuration
1.0//EN"
          "http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd">


<struts-config>

	
  <!-- ========== Form Bean Definitions
=================================== -->
<form-beans>
    <form-bean 
        name="CESHomeForm" type="gov.bls.idcf.ces.struts.CESHomeBean">
    </form-bean>
    <form-bean      
    	name="EntryFormBean"
type="gov.bls.idcf.ces.struts.EntryFormBean">
    </form-bean>
    <form-bean      
        name="ContactFormBean"
type="gov.bls.idcf.ces.struts.ContactFormBean">
    </form-bean>
    <form-bean 
        name="SolcFormBean" type="gov.bls.idcf.ces.struts.SolcFormBean">
    </form-bean>
    <form-bean 
        name="WorksiteFormBean"
type="gov.bls.idcf.ces.struts.WorksiteFormBean">
    </form-bean>
    <form-bean
        name="ReviewBean" type="gov.bls.idcf.ces.struts.ReviewFormBean">
    </form-bean>
    <form-bean
        name="PayGroups" type="gov.bls.idcf.ces.struts.PayGroupForm">
    </form-bean>
</form-beans>


<!-- ========== Global Forward Definitions
============================== -->
<global-forwards>
    <forward name="CESHome" path="/index.jsp" redirect="false"/>    
    <forward name="Upload" path="/content/thankup.jsp"
redirect="false"/>    
    <forward name="SystemFailure" path="/systemError.jsp"
redirect="false"/>
    <forward name="SessionTimeOut" path="/content/sessionTimeout.jsp"
redirect="false"/>    
    <forward name="InvalidPageRquest" path="/invalidPageRequest.jsp"
redirect="false"/> 
</global-forwards>


<!-- ========== Action Mapping Definitions
============================== -->
  <action-mappings>

    <action    path="/index"
               type="gov.bls.idcf.ces.struts.CESHomeAction"
               name="CESHomeForm"
              scope="request"
              input="/index.html">
      <forward name="CESHomeEmpty"  path="/cesHomeEmpty.jsp"
redirect="false"/>
    </action>
    
    <action    path="/PayGroups"
               type="gov.bls.idcf.ces.struts.PayGroupsAction"
               name="PayGroups"
               scope="request"
               input="/content/PayGroups.jsp">
      <forward name="FormABCE" path="/content/cesform_abce.jsp"
redirect="false"/>
    </action>

    <action    path="/entryForm"
               type="gov.bls.idcf.ces.struts.EntryFormAction"
               name="EntryFormBean"
               scope="request"
               input="/index.jsp">
      <forward name="FormABCE"  path="/content/cesform_abce.jsp"
redirect="false"/>
      <forward name="FormGS"  path="/content/cesform_gs.jsp"
redirect="false"/>
      <forward name="PayGroup" path="/content/PayGroups.jsp"
redirect="false"/>
    </action>
    
    <action    path="/History"
               type="gov.bls.idcf.ces.struts.HistoryAction"
               name="EntryFormBean"
               scope="request">
      <forward name="HistoryABCE" path="/content/history_abce.jsp"
redirect="false"/>
      <forward name="HistoryGS" path="/content/history_gs.jsp"
redirect="false"/>
    </action>

    <action    path="/entryFormUpdate"
               type="gov.bls.idcf.ces.struts.EntryFormUpdateAction"
               name="EntryFormBean"
               scope="request"
               input="/content/entryForm.jsp">
      <forward name="FormABCE"  path="/content/cesform_abce.jsp"
redirect="false"/>
      <forward name="FormGS"  path="/content/cesform_gs.jsp"
redirect="false"/>
      <forward name="reviewABCE" path="/content/review_abce.jsp"
redirect="false" />
      <forward name="reviewGS" path="/content/review_gs.jsp"
redirect="false" />
      <forward name="review2pg" path="/content/review2pg.jsp"
redirect="false"/>
    </action>
    
    <action    path="/review"
               type="gov.bls.idcf.ces.struts.ReviewAction"
               name="EntryFormBean"
               scope="request"
               input="/content/review_abce.jsp">
      <forward name="reviewABCE" path="/content/review_abce.jsp"
redirect="false"/>
      <forward name="review2pg" path="/content/review2pg.jsp"
redirect="false" />
      <forward name="reviewGS" path="/content/review_gs.jsp"
redirect="false"/>
      <forward name="FormABCE"  path="/content/cesform_abce.jsp"
redirect="false"/>
      <forward name="FormGS"  path="/content/cesform_gs.jsp"
redirect="false"/>      
      <forward name="ThankYou" path="/content/thankyou.jsp"
redirect="false"/>
    </action>
    
    <action    path="/finalEdit"
               type="gov.bls.idcf.ces.struts.FinalEditAction"
               name="EntryFormBean"
               scope="request"
               input="/content/review2pg.jsp">
      <forward name="success" path="/content/thankyou.jsp"
redirect="false"/>
      <forward name="review" path="/content/review2pg.jsp"
redirect="false"/>
    </action>
    
    <action    path="/finish"
               type="gov.bls.idcf.ces.struts.FinishAction"
               name="EntryFormBean"
               scope="request"
               input="/content/FinalEdit.jsp">
      <forward name="ThankYou" path="/content/thankyou.jsp"
redirect="false"/>
    </action>
    
    
        <action  path="/contactForm"
        	 type="gov.bls.idcf.ces.struts.ContactFormAction"
        	 name="ContactFormBean"
                 scope="request">
         <forward name="Contact"  path="/content/address.jsp"
redirect="false"/>
         </action>
         
         <action path="/contactFormUpdate"
         	 type="gov.bls.idcf.ces.struts.ContactFormUpdateAction"
         	 name="ContactFormBean"
    		 scope="request"
    		 input="/content/address.jsp">
    	 <forward name="Completed"  path="/content/completed.jsp"
redirect="false"/>
    	 <forward name="Contact" path="/content/address.jsp"
redirect="false"/>
         </action>
    
    <action    path="/solcForm"
               type="gov.bls.idcf.ces.struts.SolcFormAction"
               name="SolcFormBean"
               scope="request">
      <forward name="solc"  path="/content/solcForm.jsp"
redirect="false"/>
    </action>

    <action    path="/solcFormUpdate"
               type="gov.bls.idcf.ces.struts.SolcFormUpdateAction"
               name="SolcFormBean"
               scope="request"
               input="/content/solcForm.jsp">
      <forward name="solc_failure"  path="/content/solcForm.jsp"
redirect="false"/>
      <forward name="solc_success"  path="/content/solc_completed.jsp"
redirect="false"/>
    </action>

    <action    path="/worksiteForm"
               type="gov.bls.idcf.ces.struts.WorksiteFormAction"
               name="WorksiteFormBean"
               scope="request">
      <forward name="worksite"  path="/content/worksiteForm.jsp"
redirect="false"/>
    </action>

    <action    path="/worksiteFormUpdate"
               type="gov.bls.idcf.ces.struts.WorksiteFormUpdateAction"
               name="WorksiteFormBean"
               scope="request"
               input="/content/worksiteForm.jsp">
      <forward name="worksite_failure"  path="/content/worksiteForm.jsp"
redirect="false"/>
      <forward name="worksite_success"  path="/content/completed.jsp"
redirect="false"/>
    </action>

  </action-mappings>
 
</struts-config>

--
Tim Slattery
Slattery_T@bls.gov


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Struts in Servlet 2.4

Posted by Martin Gainty <mg...@hotmail.com>.
tough to guess on what your configuration is without seeing your 
configuration files

Please display web.xml and struts.xml for us

M-
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.

----- Original Message ----- 
From: "Slattery, Tim - BLS" <Sl...@bls.gov>
To: "Struts Users Mailing List" <us...@struts.apache.org>
Sent: Monday, April 16, 2007 8:30 AM
Subject: RE: Struts in Servlet 2.4


> Sounds as if your ejb compiler didnt generate and compile the
> necessary interfaces for what its worth here is a sample of a
> build for my wl env

Eh?? Who said anything about EJBs? This is an exploded directory that
will become a WAR file. The bean that can't be found is a plain old Java
bean, with getters and setters. Nothing fancy. I can see where the
Action module is storing it in Session context, I've put debug print in
so that I *know* that staement runs. But the tag can't find it "in any
scope".


--
Tim Slattery
Slattery_T@bls.gov


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


RE: Struts in Servlet 2.4

Posted by "Slattery, Tim - BLS" <Sl...@bls.gov>.
> Sounds as if your ejb compiler didnt generate and compile the 
> necessary interfaces for what its worth here is a sample of a 
> build for my wl env

Eh?? Who said anything about EJBs? This is an exploded directory that
will become a WAR file. The bean that can't be found is a plain old Java
bean, with getters and setters. Nothing fancy. I can see where the
Action module is storing it in Session context, I've put debug print in
so that I *know* that staement runs. But the tag can't find it "in any
scope".


--
Tim Slattery
Slattery_T@bls.gov


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Struts in Servlet 2.4

Posted by Martin Gainty <mg...@hotmail.com>.
Sounds as if your ejb compiler didnt generate and compile the necessary 
interfaces
for what its worth here is a sample of a build for my wl env

Note the easiest path is to run the build.xml target to build the ear
cd %WL_HOME%
cd samples
cd server
cd examples
cd src
cd examples
cd webservices
cd complex
cd statelessSession
ant build-ejb

Note: you can also run all of this by going to 
/samples/server/medrec/src/medrecEar
and running the targets which will run the wlcompile such as build.split.dir 
or build.web.service

Note: I dont have WL version 9 on any of my boxes so I'll let other folks 
provide help for that specific version
(being mindful that whatever solution is provided should run the ejb 
compiler)

HTH/
Martin--
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.


----- Original Message ----- 
From: "Slattery, Tim - BLS" <Sl...@bls.gov>
To: "Struts Users Mailing List" <us...@struts.apache.org>
Sent: Friday, April 13, 2007 1:31 PM
Subject: RE: Struts in Servlet 2.4


> <c:forEach items="${RespData}" var="resp">
>
> Andit points to "items" and gives this message:
>
> This attribute does not support request time values.

Well, I've made some progress, I guess.

I removed the jstl.jar and standard.jar that came with the Struts
distribution. I deleted the <taglib> tags for c: and fmt: in web.xml.
And I got rid of references to -el tags, since in this brave new world,
EL should be built-in.

And now the page gets past the compiler. But it stops at my first Struts
tag:

<html:link href="/CES/contactForm.do" paramId="solicitationNumber"
paramName="Contact"
       paramProperty="solicitationNumber" styleClass="menu"
title="Respondent Information"
       onClick="Javascript:return contact_window(this,
'Contact','false')">
          Update Respondent Information</html:link>

The error message is: Root cause of ServletException.
javax.servlet.jsp.JspException: Cannot find bean Contact in any scope

Now the Action module that runs and invokes this JSP page uses
session.setAttribute to store a bean under the name "Contact". I have
some debug print in that module, and there's *no* doubt at all that it's
running that statement. So why can't my struts tag find my bean?


--
Tim Slattery
Slattery_T@bls.gov


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


RE: Struts in Servlet 2.4

Posted by "Slattery, Tim - BLS" <Sl...@bls.gov>.
> <c:forEach items="${RespData}" var="resp">
>
> Andit points to "items" and gives this message:
>
> This attribute does not support request time values.

Well, I've made some progress, I guess.

I removed the jstl.jar and standard.jar that came with the Struts
distribution. I deleted the <taglib> tags for c: and fmt: in web.xml.
And I got rid of references to -el tags, since in this brave new world,
EL should be built-in.

And now the page gets past the compiler. But it stops at my first Struts
tag:

<html:link href="/CES/contactForm.do" paramId="solicitationNumber"
paramName="Contact" 
       paramProperty="solicitationNumber" styleClass="menu"
title="Respondent Information" 
       onClick="Javascript:return contact_window(this,
'Contact','false')">
          Update Respondent Information</html:link>

The error message is: Root cause of ServletException.
javax.servlet.jsp.JspException: Cannot find bean Contact in any scope

Now the Action module that runs and invokes this JSP page uses
session.setAttribute to store a bean under the name "Contact". I have
some debug print in that module, and there's *no* doubt at all that it's
running that statement. So why can't my struts tag find my bean?


--
Tim Slattery
Slattery_T@bls.gov


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Struts in Servlet 2.4

Posted by Musachy Barroso <mu...@gmail.com>.
Did you change web.xml to this?

<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
    version="2.4">

musachy


On 4/12/07, Frank Russo <Fr...@sas.com> wrote:
>
> Did you change the version of your jstl jars? I forget which version you
> need, but I think jstl 1.0 was 2.3 compliant, and 1.1 was 2.4 compliant.
> You'll need to upgrade both jstl.jar and standard.jar...
>
> -----Original Message-----
> From: Dave Newton [mailto:newton.dave@yahoo.com]
> Sent: Thursday, April 12, 2007 2:21 PM
> To: Struts Users Mailing List
> Subject: Re: Struts in Servlet 2.4
>
> --- "Slattery, Tim - BLS" <Sl...@bls.gov>
> wrote:
> > <c:forEach items="${RespData}" var="resp">
> >
> > Andit points to "items" and gives this message:
> >
> > This attribute does not support request time values.
>
> I don't recall, but did the TLD URIs change between 2.3/2.4?
>
> (I don't even know if it would matter if they did, actually, I guess.) I
> suppose it could also be a JSTL library issue etc. I'm sure it's something
> configurey or libraryey, though.
>
> d.
>
>
>
>
>
> ____________________________________________________________________________________
> 8:00? 8:25? 8:40? Find a flick in no time with the Yahoo! Search movie
> showtime shortcut.
> http://tools.search.yahoo.com/shortcuts/#news
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

RE: Struts in Servlet 2.4

Posted by Frank Russo <Fr...@sas.com>.
Did you change the version of your jstl jars? I forget which version you need, but I think jstl 1.0 was 2.3 compliant, and 1.1 was 2.4 compliant. You'll need to upgrade both jstl.jar and standard.jar... 

-----Original Message-----
From: Dave Newton [mailto:newton.dave@yahoo.com] 
Sent: Thursday, April 12, 2007 2:21 PM
To: Struts Users Mailing List
Subject: Re: Struts in Servlet 2.4

--- "Slattery, Tim - BLS" <Sl...@bls.gov>
wrote:
> <c:forEach items="${RespData}" var="resp">
> 
> Andit points to "items" and gives this message:
> 
> This attribute does not support request time values.

I don't recall, but did the TLD URIs change between 2.3/2.4? 

(I don't even know if it would matter if they did, actually, I guess.) I suppose it could also be a JSTL library issue etc. I'm sure it's something configurey or libraryey, though.

d.



       
____________________________________________________________________________________
8:00? 8:25? 8:40? Find a flick in no time with the Yahoo! Search movie showtime shortcut.
http://tools.search.yahoo.com/shortcuts/#news

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Struts in Servlet 2.4

Posted by Dave Newton <ne...@yahoo.com>.
--- "Slattery, Tim - BLS" <Sl...@bls.gov>
wrote:
> <c:forEach items="${RespData}" var="resp">
> 
> Andit points to "items" and gives this message:
> 
> This attribute does not support request time values.

I don't recall, but did the TLD URIs change between
2.3/2.4? 

(I don't even know if it would matter if they did,
actually, I guess.) I suppose it could also be a JSTL
library issue etc. I'm sure it's something configurey
or libraryey, though.

d.



       
____________________________________________________________________________________
8:00? 8:25? 8:40? Find a flick in no time 
with the Yahoo! Search movie showtime shortcut.
http://tools.search.yahoo.com/shortcuts/#news

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org