I'm having this same type of error for datetimepicker but for Struts 2.0.11.1. Maybe this is a problem with datetimepicker ?
-- Milan WayneFH wrote: > > This repost includes the struts config file as requested by mgainty. > Thanks. > NOTE: There is NO stack trace. These are errors we see in the FireBugs > HTTP log and also the lack of rendering the DropDownDatePicker. > > In FireBug, we get the following errors when using <s:head theme="ajax">. > The source code follows the list of errors. Additionally, our > <s:dropdowndatepicker> tag doesn't appear. > > NOTE: There are successfully "gets" for all of these files under the nls > directory without the en-us. Why is it looking in en-us? We're lost. > Pleeease help. > > GET > http://localhost:8080/FirstHCM/struts/dojo/src/i18n/calendar/nls/en-us/gregorian.js > 404 (47ms) dojo.js (line 734) > GET > http://localhost:8080/FirstHCM/struts/dojo/src/i18n/calendar/nls/en/gregorianExtras.js > 404 (47ms)dojo.js (line 734) > GET > http://localhost:8080/FirstHCM/struts/dojo/src/i18n/calendar/nls/en-us/gregorianExtras.js > 404 (31ms)dojo.js (line 734) > GET > http://localhost:8080/FirstHCM/struts/dojo/src/widget/nls/en/TimePicker.js > 404 (62ms)dojo.js (line 734) > GET > http://localhost:8080/FirstHCM/struts/dojo/src/widget/nls/en-us/TimePicker.js > 404 (47ms)dojo.js (line 734) > GET > http://localhost:8080/FirstHCM/struts/dojo/src/widget/nls/en/DropdownTimePicker.js > 404 (31ms)dojo.js (line 734) > GET > http://localhost:8080/FirstHCM/struts/dojo/src/widget/nls/en-us/DropdownTimePicker.js > 404 (47ms)dojo.js (line 734) > GET > http://localhost:8080/FirstHCM/struts/dojo/src/widget/nls/en/DropdownDatePicker.js > 404 (46ms)dojo.js (line 734) > GET > http://localhost:8080/FirstHCM/struts/dojo/src/widget/nls/en-us/DropdownDatePicker.js > 404 (47ms)dojo.js (line 734) > > <[EMAIL PROTECTED] import="java.util.*"%> > <%@ taglib prefix="s" uri="/struts-tags" %> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> > <html> > <head> > <s:head theme="ajax" debug="false"/> > </head> > <body> > <s:tabbedPanel id="Requestor" > > <s:div id="tab1" label="Name" labelposition="top" theme="ajax"> > <s:form method="post"> > <table> > <s:datetimepicker name="From" label="From" > displayFormat="MM-dd-yyyy"/> > <s:datetimepicker name="To" label="To" > displayFormat="MM-dd-yyyy"/> > <s:textfield label="Requestor Name/ Last name" > name="LASTNAME" size="25"/> > <s:textfield label="First Name" > name="FIRSTNAME" /> > <s:submit name="SUBMIT" value="Find Now"/> > </table> > </s:form> > </s:div> > > <s:div id="tab2" label="Number" theme="ajax"> > <s:form method="post"> > <table> > <s:textfield label="Provider Number" > name="REQUESTOR_NUMBER" size="15"/> > <s:submit name="SUBMIT" value="Find Now"/> > </table> > </s:form> > </s:div> > </s:tabbedPanel> > > </body> > </html> > > In the following, company name is replaced by xxx. > > <?xml version="1.0" encoding="UTF-8" ?> > <!DOCTYPE struts PUBLIC > "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN" > "http://struts.apache.org/dtds/struts-2.0.dtd"> > > <struts> > > <constant name="struts.enable.DynamicMethodInvocation" value="false" > /> > <constant name="struts.devMode" value="true" /> > > <package name="Requestor" extends="struts-default"> > > <interceptors> > <interceptor name="logon" > class="com.xxx.hcm.struts.LogonInterceptor"/> > <interceptor-stack name="hcmStack"> > <interceptor-ref name="logon"/> > <interceptor-ref name="defaultStack"/> > </interceptor-stack> > </interceptors> > > > <default-interceptor-ref name="hcmStack"/> > > > <global-results> > <result name="logon">/logon.jsp</result> > </global-results> > > <action name="RequestorSearch" > class="com.xxx.hcm.action.RequestorSearchAction"> > > <result name="input">/Requestor/RequestorSearch.jsp</result> > <result>/Requestor/RequestorSearch.jsp</result> > > </action> > > <action name="RecipientSearch" > class="com.xxx.hcm.action.RecipientSearchAction"> > <result>/RecipientSearch/SearchResults.jsp</result> > </action> > > <action name="Case" class="com.xxx.hcm.action.CaseAction"> > <result>/Case/Case.jsp</result> > </action> > > </package> > > </struts> > -- View this message in context: http://www.nabble.com/%28repost%29-en-us-theme%3Dajax-404-error-on-Struts-2.0.9-tp14736984p17343864.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]