RE: Freemarker sitemesh decorator does not render struts 2.2.1 action tag

2010-10-04 Thread Derrick Koes
Ah, this appears to be a known issue.  Please see WW-3330 at 
https://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=true&mode=hide&pid=12311041&sorter/order=DESC&sorter/field=priority&resolution=-1&component=12313331

This is a fairly major road block to upgrade.



-Original Message-
From: Maurizio Cucchiara [mailto:maurizio.cucchi...@gmail.com]
Sent: Monday, October 04, 2010 2:54 PM
To: Struts Users Mailing List
Subject: Re: Freemarker sitemesh decorator does not render struts 2.2.1 action 
tag

You're right I didn't see the executeResult attribute in your action directive.
It's look like you find a new bug out.
You should add a new issue: https://issues.apache.org/jira/browse/WW

Maurizio Cucchiara

2010/10/4 Derrick Koes :
> Why does the JSP version behave differently?  I.e. no reference to the 
> property is necessary to get the action tag result output.  This difference 
> isn't clear anywhere in documentation AFAIK.
>
> Also, I want the output of the entire action result.  My result may be 
> considerably more complex than a simple date object.
>
> Thanks,
> Derrick
>
>
>
> From: Maurizio Cucchiara [mailto:maurizio.cucchi...@gmail.com]
> Sent: Monday, October 04, 2010 11:33 AM
> To: Struts Users Mailing List
> Subject: Re: Freemarker sitemesh decorator does not render struts 2.2.1 
> action tag
>
> Hi,
> I think this is the expected result. In fact the follow line:
> <@s.action var="dateAction" name="date" namespace="/" executeResult="true" />
> initializes a dateAction reference (var) to the invoked action.
> If you want to see your date you need to add this row
> <@s.property value="#dateAction.date" />
>
> Did it work in that way before?
>
> Maurizio Cucchiara
>
> 2010/10/3 Derrick Koes 
> mailto:derrick_k...@skillsoft.com>>
> I am upgrading to struts 2.2.1, but realized there is an issue with 
> freemarker sitemesh decorators which use the struts 2 action tag.  This is a 
> regression from 2.1.8.1.
>
> To demonstrate the issue with a reasonably simple example I deployed the 
> struts2-showcase-2.2.1 sample application.
>
> Then, ensuring the web.xml is set up to handle freemarker sitemesh 
> decorators, I created a 'main.ftl' decorator based on the main.jsp decorator 
> included in the app.  I modified the decorators.xml to use the main.ftl 
> rather than the main.jsp decorator and restarted the app.  Note that the 
> "date" action in the action tag within the freemarker sitemesh decorator runs 
> as the variable usage for the year in the copyright line is correct.  
> However, notice that the header is missing the date (as compared to the jsp 
> version).
>
> Any help in further understanding or resolving the issue is appreciated.
>
> Below are the relevant files inlined (also attached).
>
> web.xml:
>
> 
> 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";>
>
>Struts Showcase Application
>
>
>struts-prepare
>
> org.apache.struts2.dispatcher.ng.filter.StrutsPrepareFilter
>
>actionPackages
>org.apache.struts2.showcase.person
>
>
>
>
>struts-execute
>
> org.apache.struts2.dispatcher.ng.filter.StrutsExecuteFilter
>
>
>
>   
>   sitemesh
>   
> com.opensymphony.sitemesh.webapp.SiteMeshFilter
>   
>
>
>struts-prepare
>/*
>
>
>
>sitemesh
>/*
>
>
>
>struts-execute
>/*
>
>
>
>
> org.springframework.web.context.ContextLoaderListener
>
>
>
>
>  org.apache.myfaces.webapp.StartupServletContextListener
>
>
>
>
>
>org.apache.struts2.tiles.StrutsTilesListener
>
>
>
>
>
>
>  org.apache.struts2.showcase.chat.ChatSessionListener
>
>
>
>
>
> org.apache.struts2.dispatcher.ng.listener.StrutsListener
>
>
>
>
>
>dwr
>uk.ltd.getahead.dwr.DWRServlet
>
>debug
>true
>
>
>
>
>
>faces
>
> javax.faces.webapp.FacesServlet
>1
> 

RE: Freemarker sitemesh decorator does not render struts 2.2.1 action tag

2010-10-04 Thread Derrick Koes
Why does the JSP version behave differently?  I.e. no reference to the property 
is necessary to get the action tag result output.  This difference isn't clear 
anywhere in documentation AFAIK.

Also, I want the output of the entire action result.  My result may be 
considerably more complex than a simple date object.

Thanks,
Derrick



From: Maurizio Cucchiara [mailto:maurizio.cucchi...@gmail.com]
Sent: Monday, October 04, 2010 11:33 AM
To: Struts Users Mailing List
Subject: Re: Freemarker sitemesh decorator does not render struts 2.2.1 action 
tag

Hi,
I think this is the expected result. In fact the follow line:
<@s.action var="dateAction" name="date" namespace="/" executeResult="true" />
initializes a dateAction reference (var) to the invoked action.
If you want to see your date you need to add this row
<@s.property value="#dateAction.date" />

Did it work in that way before?

Maurizio Cucchiara

2010/10/3 Derrick Koes 
mailto:derrick_k...@skillsoft.com>>
I am upgrading to struts 2.2.1, but realized there is an issue with freemarker 
sitemesh decorators which use the struts 2 action tag.  This is a regression 
from 2.1.8.1.

To demonstrate the issue with a reasonably simple example I deployed the 
struts2-showcase-2.2.1 sample application.

Then, ensuring the web.xml is set up to handle freemarker sitemesh decorators, 
I created a 'main.ftl' decorator based on the main.jsp decorator included in 
the app.  I modified the decorators.xml to use the main.ftl rather than the 
main.jsp decorator and restarted the app.  Note that the "date" action in the 
action tag within the freemarker sitemesh decorator runs as the variable usage 
for the year in the copyright line is correct.  However, notice that the header 
is missing the date (as compared to the jsp version).

Any help in further understanding or resolving the issue is appreciated.

Below are the relevant files inlined (also attached).

web.xml:


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";>

Struts Showcase Application


struts-prepare

org.apache.struts2.dispatcher.ng.filter.StrutsPrepareFilter

actionPackages
org.apache.struts2.showcase.person




struts-execute

org.apache.struts2.dispatcher.ng.filter.StrutsExecuteFilter



   
   sitemesh
   
com.opensymphony.sitemesh.webapp.SiteMeshFilter
   


struts-prepare
/*



sitemesh
/*



struts-execute
/*




org.springframework.web.context.ContextLoaderListener




  org.apache.myfaces.webapp.StartupServletContextListener





org.apache.struts2.tiles.StrutsTilesListener






  org.apache.struts2.showcase.chat.ChatSessionListener





org.apache.struts2.dispatcher.ng.listener.StrutsListener





dwr
uk.ltd.getahead.dwr.DWRServlet

debug
true





faces

javax.faces.webapp.FacesServlet
1


JspSupportServlet

org.apache.struts2.views.JspSupportServlet
1


  

sitemesh-freemarker

org.apache.struts2.sitemesh.FreemarkerDecoratorServlet

default_encoding
UTF-8

1



sitemesh-velocity

org.apache.struts2.sitemesh.VelocityDecoratorServlet

default_encoding
UTF-8

1





faces
*.action



dwr
/dwr/*



sitemesh-freemarker
*.ftl



sitemesh-velocity
*.vm









index.jsp
default.jsp
index.html





decorators.xml:






/debug.jsp
/styles/*
/scripts/*
/images/*
/dojo/*
/struts/*
/ajax/AjaxResult*
/AjaxTest.action
/ajax/remoteforms/AjaxRemoteForm.action
/tags/ui/ajax/*
/chat/ajax/*
/hangman/ajax/*
/nodecorate/*



/*







main.ftl decorator:

http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>

http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">

${title}

${head

NPE in Visitor Validation migrating from 2.0.14 to 2.1.6

2009-04-01 Thread Derrick Koes
If I attempt to use an empty message node in my visitor validator
configuration, I get a NullPointerException from
TextParseUtil.translateVariables (line 155) because "expression" (the
default message if message key is null) is null.

 

I can sort of work around the issue by adding a default message, but
then that string is prepending (according to guide and as witnessed) to
the validation error string.  I do not want this string appended.

 

Does anyone have any suggestions?

 











 

BTW, other forms such as "", "", and
"" all produce the same problem.

 

Thanks,

Derrick



Freemarker ServletUrlRenderer.renderFormUrl NPE moving from 2.0.14 to 2.1.16

2009-04-01 Thread Derrick Koes

Martin,

I don't think I understand your question.  I have a freemarker template.
There is no jsp involved.

The problem is in rendering the struts form tag (in freemarker this is
@s.form).

If I use this, then I get the NPE and nothing renders.
<@s.form method="POST" name="newuser" theme="simple">

If I simply change to the HTML form like below then everything renders
without an NPE.


So, I believe I must have some missing configuration or there is a
defect in 2.1.16.

Do you have any ideas?

Thanks,
Derrick

-Original Message-
From: Martin Gainty [mailto:mgai...@hotmail.com] 
Sent: Tuesday, March 31, 2009 4:39 PM
To: Struts Users Mailing List
Subject: RE: ServletUrlRenderer.renderFormUrl NPE moving from 2.0.14 to
2.1.16


Hi Derrick-

could you check your jsp to determine
where you push nameValue onto the OGNL ValueStack?

Martin Gainty 
__ 
Verzicht und Vertraulichkeitanmerkung / Disclaimer and confidentiality
note 
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede
unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig.
Diese Nachricht dient lediglich dem Austausch von Informationen und
entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten
Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt
uebernehmen.
This message is confidential and may be privileged. If you are not the
intended recipient, we kindly ask you to  please inform the sender. Any
unauthorised dissemination or copying hereof is prohibited. This message
serves for information purposes only and shall not have any legally
binding effect. Given that e-mails can easily be subject to
manipulation, we can not accept any liability for the content provided.






> Subject: ServletUrlRenderer.renderFormUrl NPE moving from 2.0.14 to
2.1.16
> Date: Tue, 31 Mar 2009 15:58:09 -0400
> From: derrick_k...@skillsoft.com
> To: user@struts.apache.org
> 
> I'm upgrading to use the latest best available struts 2 (I use
> freemarker in both 2.0.14 and the new 2.1.16) and I am hitting a
problem
> with the form tag I believe.
> 
>  
> 
> ServletUrlRenderer.renderFormUrl method accesses the actionMapper
> member, but this member is null.  Hence, I get the stack trace NPE
> listed.
> 
> Am I missing something in configuration?  How/where is the
actionMapper
> as used on line 128 supposed to be initialized?
> 
>  
> 
> Relevant parts are:
> 
>  
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> dojo\..*
> 
> 
> 
> 
> 
> 
> 
> advGroup,
help
> 
> 
> 
> 
> 
> advGroup,
help
> 
> 
> 
> 
> 
>  
> 
>  
> 
> 
> 
>  
> 
>  
> 
>  class="com.skillsoft.skillport.fe.admin.userandgroup.UserAction"
> method="setup">
> 
> user
> 
> 
> 
>  name="location">/WEB-INF/ftl/admin/userandgroup/usercreate.ftl
> 
> 
> 
> 
> 
>  
> 
>  
> 
>  
> 
> java.lang.NullPointerException
> 
> at
>
org.apache.struts2.components.ServletUrlRenderer.renderFormUrl(ServletUr
> lRenderer.java:128)
> 
> at
>
org.apache.struts2.components.PortletUrlRenderer.renderFormUrl(PortletUr
> lRenderer.java:123)
> 
> at
>
org.apache.struts2.components.Form.populateComponentHtmlId(Form.java:228
> )
> 
> at
> org.apache.struts2.components.UIBean.evaluateParams(UIBean.java:784)
> 
> at
>
org.apache.struts2.components.ClosingUIBean.start(ClosingUIBean.java:57)
> 
> at
>
org.apache.struts2.views.freemarker.tags.CallbackWriter.onStart(Callback
> Writer.java:73)
> 
> at freemarker.core.Environment.visit(Environment.java:294)
> 
> at
freemarker.core.UnifiedCall.accept(UnifiedCall.java:130)
> 
> at freemarker.core.Environment.visit(Environment.java:208)
> 
> at
freemarker.core.MixedContent.accept(MixedContent.java:92)
> 
> at freemarker.core.Environment.visit(Environment.java:208)
> 
> at
freemarker.core.Environment.process(Environment.java:188)
> 
> at freemarker.template.Template.process(Template.java:237)
> 

_
Internet Explorer 8 - Get your Hotmail Accelerated.  Download free!
http://clk.atdmt.com/MRT/go/141323790/direct/01/

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

ServletUrlRenderer.renderFormUrl NPE moving from 2.0.14 to 2.1.16

2009-03-31 Thread Derrick Koes
I'm upgrading to use the latest best available struts 2 (I use
freemarker in both 2.0.14 and the new 2.1.16) and I am hitting a problem
with the form tag I believe.

 

ServletUrlRenderer.renderFormUrl method accesses the actionMapper
member, but this member is null.  Hence, I get the stack trace NPE
listed.

Am I missing something in configuration?  How/where is the actionMapper
as used on line 128 supposed to be initialized?

 

Relevant parts are:

 



































dojo\..*







advGroup, help





advGroup, help





 

 



 

 



user



/WEB-INF/ftl/admin/userandgroup/usercreate.ftl





 

 

 

java.lang.NullPointerException

at
org.apache.struts2.components.ServletUrlRenderer.renderFormUrl(ServletUr
lRenderer.java:128)

at
org.apache.struts2.components.PortletUrlRenderer.renderFormUrl(PortletUr
lRenderer.java:123)

at
org.apache.struts2.components.Form.populateComponentHtmlId(Form.java:228
)

at
org.apache.struts2.components.UIBean.evaluateParams(UIBean.java:784)

at
org.apache.struts2.components.ClosingUIBean.start(ClosingUIBean.java:57)

at
org.apache.struts2.views.freemarker.tags.CallbackWriter.onStart(Callback
Writer.java:73)

at freemarker.core.Environment.visit(Environment.java:294)

at freemarker.core.UnifiedCall.accept(UnifiedCall.java:130)

at freemarker.core.Environment.visit(Environment.java:208)

at freemarker.core.MixedContent.accept(MixedContent.java:92)

at freemarker.core.Environment.visit(Environment.java:208)

at freemarker.core.Environment.process(Environment.java:188)

at freemarker.template.Template.process(Template.java:237)



RE: file upload file location lost on validation failure

2009-01-06 Thread Derrick Koes
That's what I was wondering.  I couldn't make the connection between the
value attribute and the actual HTML.

Thank you for the explanation.

Derrick

-Original Message-
From: Dave Newton [mailto:newton.d...@yahoo.com] 
Sent: Tuesday, January 06, 2009 1:06 PM
To: Struts Users Mailing List
Subject: Re: file upload file location lost on validation failure

Derrick Koes wrote:
> There is a value attribute on the file tag from which you can preset
the
> value according to docs.
> 
> http://struts.apache.org/2.0.14/docs/file.html
> 
> It seems like the value could be "updated" from the user input, if the
> input data is available.

File input values cannot be preloaded. This is a browser issue and has 
nothing to do with Struts.

There's a "value" attribute because the tag is extended from a bean that

has a "value" property; that doesn't necessarily mean it's meaningful 
once it gets to the HTML level, and since HTML file input elements are 
one of the only elements that don't allow pre-loading it's arguable that

it doesn't make sense to create a bean without the "value" property just

for it, particularly since it's well-known they can't be pre-loaded.

Dave


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



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



RE: file upload file location lost on validation failure

2009-01-06 Thread Derrick Koes
There is a value attribute on the file tag from which you can preset the
value according to docs.

http://struts.apache.org/2.0.14/docs/file.html

It seems like the value could be "updated" from the user input, if the
input data is available.

Derrick

-Original Message-
From: Dave Newton [mailto:newton.d...@yahoo.com] 
Sent: Tuesday, January 06, 2009 12:29 PM
To: Struts Users Mailing List
Subject: Re: file upload file location lost on validation failure

Derrick Koes wrote:
> Understood.  However, if the value used to populate the field is on
the
> value stack, the input will be populated with the value on validation
> failure, except in this case it seems as the data necessary to
> repopulate is not available.

I think we're talking past each other--file inputs can't be repopulated,

AFAIK. This is a browser issue. What am I missing here?

Dave


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



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



RE: file upload file location lost on validation failure

2009-01-06 Thread Derrick Koes

Understood.  However, if the value used to populate the field is on the
value stack, the input will be populated with the value on validation
failure, except in this case it seems as the data necessary to
repopulate is not available.

Derrick

-Original Message-
From: Dave Newton [mailto:newton.d...@yahoo.com] 
Sent: Tuesday, January 06, 2009 11:54 AM
To: Struts Users Mailing List
Subject: Re: file upload file location lost on validation failure

Derrick Koes wrote:
> Using the demo app (struts2-showcase-2.0.14/fileupload) and entering
an
> empty file, for example, will correctly cause validation to fail.
> However, the file location disappears from the input.
> 
> Is this as designed?

Do you mean in the file input field? If so, that's normal browser
behavior.

Dave

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



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



file upload file location lost on validation failure

2009-01-06 Thread Derrick Koes
Using the demo app (struts2-showcase-2.0.14/fileupload) and entering an
empty file, for example, will correctly cause validation to fail.
However, the file location disappears from the input.

 

Is this as designed?

 

Thanks,

Derrick



xwork library source

2008-09-16 Thread Derrick Koes
Is there a reliable source repository for the xwork-2.0.5.jar source
included in the struts 2.0.11.2 distribution?
 
I'm hitting an issue with validator configuration similar to what others
have hit in different struts 2 releases.
 
https://issues.apache.org/struts/browse/WW-2633
 

https://issues.apache.org/struts/browse/WW-2684
 

 

I wish to debug my problem before I write a JIRA issue, but can't seem
to find the right source.  The opensymphony source is not tagged for
2.0.5 AFAIK and opensymphony only has source bundles for 2.0.4 and
2.1.0, but no 2.0.5.

 

I am running with Tomcat 5.5.27.

 

Thanks,

Derrick

 
 


struts 1.2.9 multiple session scoped action form bean usage by single jsp

2007-02-22 Thread Derrick Koes
Struts 1.2.9
 
I have 2 session scoped form beans which share a getter method.  I would
like to re-use a particular jsp in this case as well.  However, what I'm
finding is that the first session scoped form encountered will be the
one the jsp gets its values from.  This may well not be the form used by
the action.  Thus, resulting in incorrect values.
 
I have a solution to the problem.  Basically, copy the jsp which I'm
attempting to re-use and identify the form bean by name using dot
notation with the field, but this seems a like it adds unnecessary
maintenance (have to maintain 2 copies of essentially the same jsp).
 
Is there a simple solution which I may be missing at the moment?
 
Thanks,
Derrick


multiple module 403 forward

2006-09-27 Thread Derrick Koes
How can I configure my web app so that each module will forward a 403
error to a different page?
 
Thanks,
Derrick


RE: New Session PER REQUEST

2006-09-22 Thread Derrick Koes
 
http://tomcat.apache.org/connectors-doc/howto/workers.html

Search for "sticky_session" on this page.


-Original Message-
From: Darren Hall [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 22, 2006 11:42 AM
To: 'Struts Users Mailing List'
Subject: New Session PER REQUEST

I have a serious problem.

I'm running a webapp built on Struts 1.2.9 running in Tomcat 5.5 and
using an Apache 2.2 http server. I've noticed that any value I put into
the session is always removed after one request/response cycle. In the
Tomcat Manager, I can see that every time I hit the webapp and view a
page, the session count increments. This is terrible, as it prevents me
from persisting values across my user's session. Any idea why this would
be happening?? (I'm looking for a starting point to trouble shoot and
correct this issue.)

 

Thanks

- Darren


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Struts/beanutils problem for Indexed Form Property

2006-09-20 Thread Derrick Koes
Struts 1.2.9
Tomcat 5.0.28
Java 1.4.2
 
Basically, if the session times out or tomcat is restarted (I think
re-start of the web app would probably do it) and sessions aren't being
serialized (This happens when they are too I think) AND the app is left
on a page with a form containing an indexed property, you get a stack
trace submitting the form after tomcat is started (in the re-start
case--session timeout--you just get the problem)--not a real good user
experience.  The issue is the form bean is nulled, er rather a new form
bean is created because you have a new session presumably (the form bean
is session scoped), but the properties map contains a reference to an
indexed property like "schedule[0]".  So, what happens is that using the
property name from the map (schedule[0]), this property is accessed in
the form bean to get the value, but the form bean has an empty
ArrayList, so there is nothing but null at index 0.  You get an
IndexOutOfBoundsException.
 
This problem only occurs on forms with indexed properties.  I get my
session timeout page when on any other form.
 
Any help is appreciated.


cancel question

2005-05-09 Thread Derrick Koes

If the user clicks cancel twice then clicks the browser back button, the 
browser presents a DNS error (IE with with "Show friendly HTTP error messages" 
checked).  Why is this?

Thanks,
Derrick


Token question

2005-04-19 Thread Derrick Koes

if (null == request.getParameter(Constants.TOKEN_KEY)) {
saveToken(request);
}
else {
if (!isTokenValid(request, true)) {
response.sendError(HttpServletResponse.SC_CONFLICT, "The request 
received was out 
of sequence, perhaps due to a second submit, refresh, or unexpected 
post
data.");
   return null;
}
}

I have this code in my execute method.  The request won't have a token unless 
it is a form submission.  Therefore, I think I can safely get away with this 
code.

Is this true?  I believe using tokens is the preferred way to handle duplicate 
form submits.  However, I'm not clear on the best way to do this.

Thanks,
Derrick


html:cancel question

2005-04-11 Thread Derrick Koes
I have a function to disable buttons onsubmit because I don't want the user to 
keep clicking, especially for long running actions.  However, this seems to 
interfere when the button is an html:cancel, which is a type of submit.  It 
seems to ignore the correct behavior of cancelling and attempts to do a 
validated submit.  What do I need to do to disable buttons AND get cancel to 
work properly?

function disable(form)
{
var buttons = form.getElementsByTagName("input");
for (i = 0; i < buttons.length; i++) {
if (buttons[i].type == "button" || buttons[i].type == "reset" || 
buttons[i].type == "submit") {
buttons[i].disabled = true;
}
}
return true;
}

Thanks,
Derrick


Html:cancel question

2005-04-11 Thread Derrick Koes

I have a function to disable buttons onsubmit because I don't want the user to 
keep clicking, especially for long running actions.  However, this seems to 
interfere when the button is an html:cancel, which is a type of submit.  It 
seems to ignore the correct behavior of cancelling and attempts to do a 
validated submit.  What do I need to do to disable buttons AND get cancel to 
work properly?

function disable(form)
{
var buttons = form.getElementsByTagName("input");
for (i = 0; i < buttons.length; i++) {
if (buttons[i].type == "button" || buttons[i].type == "reset" || 
buttons[i].type == "submit") {
buttons[i].disabled = true;
}
}
return true;
}

Thanks,
Derrick


RE: Using value from resource bundle as the pattern to formatDate

2005-02-02 Thread Derrick Koes

Yes, indeed my fear was correct.  I needed the fully qualified name of the 
bundle.

 

-Original Message-
From: Derrick Koes [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 02, 2005 10:07 AM
To: Struts User Apache (E-mail)
Subject: Using value from resource bundle as the pattern to formatDate


I want to use a resource key value as the pattern for my formatDate.  The code 
below only gets the key name in ptrn variable.  How do I get the value 
associated with the key?  My fear is that this is correct, but the bundle tag 
isn't finding my application.properties file.







Thanks,
Derrick




Using value from resource bundle as the pattern to formatDate

2005-02-02 Thread Derrick Koes

I want to use a resource key value as the pattern for my formatDate.  The code 
below only gets the key name in ptrn variable.  How do I get the value 
associated with the key?  My fear is that this is correct, but the bundle tag 
isn't finding my application.properties file.







Thanks,
Derrick


RE: Formatting a date with a different time zone.

2005-02-01 Thread Derrick Koes

Yes, the fmt library looks like the winner.  It doesn't seem to pick up my key 
from my resource file in the timeStyle attribute.  How do I do that?

 
  
  

Thanks,
Derrick

-Original Message-
From: Joe Germuska [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 01, 2005 6:09 PM
To: Derrick Koes; Struts User Apache (E-mail)
Subject: Re: Formatting a date with a different time zone.

At 5:55 PM -0500 2/1/05, Derrick Koes wrote:
>Can someone point me to the struts tag to use to format a date with a 
>different time zone than the system default (i.e.
>Calendar.getInstance(TimeZone) vs. Calendar.getInstance())?

I would probably recommend using the JSTL formatDate tag instead of any Struts 
tag:

http://java.sun.com/products/jsp/jstl/1.1/docs/tlddocs/fmt/formatDate.html

You could probably also use bean:write with the "format" (or
"formatKey") attribute:
http://struts.apache.org/userGuide/struts-bean.html#write  You would specify 
the "format" as if you were using java.text.MessageFormat with your bean as the 
single replacement argument to the format string.

Joe

-- 
Joe Germuska
[EMAIL PROTECTED]  
http://blog.germuska.com
"Narrow minds are weapons made for mass destruction"  -The Ex




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Formatting a date with a different time zone.

2005-02-01 Thread Derrick Koes

Can someone point me to the struts tag to use to format a date with a different 
time zone than the system default (i.e. Calendar.getInstance(TimeZone) vs. 
Calendar.getInstance())?

Thanks,
Derrick


RE: File upload

2004-10-29 Thread Derrick Koes

For anyone who is interested, I found this interesting bug report on
bugzilla describing the problem.  Does anyone know a workaround for IIS
adding 35 bytes?

 http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26890


-Original Message-
From: Derrick Koes [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 28, 2004 2:27 PM
To: Tomcat Users List; Struts User Apache (E-mail)
Subject: RE: File upload

 
Upon reviewing some struts code and documentation, the memory threshold
for a file to be parsed for upload is 256K (configurable).  If the file
is over that size, I believe the uploader puts it in a temp file.
However, since the "url" to retrieve it for parsing is a relative path,
the parser cannot find it.

Can anyone verify this?

Thanks,
Derrick


-Original Message-----
From: Derrick Koes [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 28, 2004 11:52 AM
To: Tomcat Users List
Subject: File upload


Configuration:

Tomcat 5.0.24
IIS 5.0
JK2 connector
Isapi_redirector2.dll
Struts 1.1
Commons file upload 1.0


I seem to have an issue that when the file is a certain size it is
written to a temp file on the file system before it is parsed by the
multipart parser (at least that's what the exception message leads me to
believe).  However, since the working directory is my web app
(/WEB-INF/ilt), the parser can't seem to find the file (not a fully
qualified file name).  This is a guess, but if correct I don't know how
to fix the problem.

Any help is appreciated.

Belows is the stack trace and data from the request dumper valve:

2004-10-28 10:59:32 RequestDumperValve[/ilt]:
===
2004-10-28 10:59:43 RequestDumperValve[/ilt]: REQUEST URI
=/ilt/ilt/iltPerformUpload.do
2004-10-28 10:59:43 RequestDumperValve[/ilt]:   authType=null
2004-10-28 10:59:43 RequestDumperValve[/ilt]:  characterEncoding=null
2004-10-28 10:59:43 RequestDumperValve[/ilt]:  contentLength=340147
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
contentType=multipart/form-data;
boundary=---41184676334
2004-10-28 10:59:43 RequestDumperValve[/ilt]:contextPath=/ilt
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
cookie=com.skillsoft.mgs.sso.RedirectorServlet.ReturnToSkillPort=http://
dkoesxp/djk/home/index.cfm?selectdTab=0
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
cookie=CFMX_JSESSIONID=c8301990451098975559821
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
cookie=CFID=19459
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
cookie=CFTOKEN=98634115
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
header=accept=text/xml,application/xml,application/xhtml+xml,text/html;q
=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
header=accept-language=en-us,en;q=0.5
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
header=connection=keep-alive
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
header=host=dkoesxp
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
header=referer=http://dkoesxp/ilt/ilt/iltUpload.do;jsessionid=3048D443AD
4341273FB5FED42958E7C4
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
header=user-agent=Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3)
Gecko/20041001 Firefox/0.10.1
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
header=cookie=com.skillsoft.mgs.sso.RedirectorServlet.ReturnToSkillPort=
http://dkoesxp/djk/home/index.cfm?selectdTab=0;
CFMX_JSESSIONID=c8301990451098975559821; CFID=19459; CFTOKEN=98634115
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
header=content-length=340147
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
header=content-type=multipart/form-data;
boundary=---41184676334
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
header=accept-encoding=gzip,deflate
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
header=accept-charset=ISO-8859-1,utf-8;q=0.7,*;q=0.7
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
header=keep-alive=300
2004-10-28 10:59:43 RequestDumperValve[/ilt]: locale=en_US
2004-10-28 10:59:43 RequestDumperValve[/ilt]: method=POST
2004-10-28 10:59:43 RequestDumperValve[/ilt]:   pathInfo=null
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
protocol=HTTP/1.1
2004-10-28 10:59:43 RequestDumperValve[/ilt]:queryString=null
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
remoteAddr=10.20.3.42
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
remoteHost=10.20.3.42
2004-10-28 10:59:43 RequestDumperValve[/ilt]: remoteUser=null
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
requestedSessionId=3048D443AD4341273FB5FED42958E7C4
2004-10-28 10:59:43 RequestDumperValve[/ilt]: scheme=http
2004-10-28 10:59:43 RequestDumperValve[/ilt]: serverName=dkoesxp
2004-10-28 10:59:43 RequestDumperValve[/ilt]: serverPort=80
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
servletPath=/ilt/iltPerformUpload.do
2004-10-28 10:59:43 RequestDumperValve[/ilt]:   isSecure=false
2004-10-28 10:59:4

FW: File upload

2004-10-28 Thread Derrick Koes


Just in case someone else runs into this, the tomcat workDir and the
struts-config tempDir property values MUST match.  Otherwise, files
greater than the threshold size (default 256K) won't be found for
parsing. 



-Original Message-
From: Derrick Koes [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 28, 2004 11:52 AM
To: Tomcat Users List
Subject: File upload


Configuration:

Tomcat 5.0.24
IIS 5.0
JK2 connector
Isapi_redirector2.dll
Struts 1.1
Commons file upload 1.0


I seem to have an issue that when the file is a certain size it is
written to a temp file on the file system before it is parsed by the
multipart parser (at least that's what the exception message leads me to
believe).  However, since the working directory is my web app
(/WEB-INF/ilt), the parser can't seem to find the file (not a fully
qualified file name).  This is a guess, but if correct I don't know how
to fix the problem.

Any help is appreciated.

Belows is the stack trace and data from the request dumper valve:

2004-10-28 10:59:32 RequestDumperValve[/ilt]:
===
2004-10-28 10:59:43 RequestDumperValve[/ilt]: REQUEST URI
=/ilt/ilt/iltPerformUpload.do
2004-10-28 10:59:43 RequestDumperValve[/ilt]:   authType=null
2004-10-28 10:59:43 RequestDumperValve[/ilt]:  characterEncoding=null
2004-10-28 10:59:43 RequestDumperValve[/ilt]:  contentLength=340147
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
contentType=multipart/form-data;
boundary=---41184676334
2004-10-28 10:59:43 RequestDumperValve[/ilt]:contextPath=/ilt
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
cookie=com.skillsoft.mgs.sso.RedirectorServlet.ReturnToSkillPort=http://
dkoesxp/djk/home/index.cfm?selectdTab=0
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
cookie=CFMX_JSESSIONID=c8301990451098975559821
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
cookie=CFID=19459
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
cookie=CFTOKEN=98634115
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
header=accept=text/xml,application/xml,application/xhtml+xml,text/html;q
=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
header=accept-language=en-us,en;q=0.5
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
header=connection=keep-alive
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
header=host=dkoesxp
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
header=referer=http://dkoesxp/ilt/ilt/iltUpload.do;jsessionid=3048D443AD
4341273FB5FED42958E7C4
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
header=user-agent=Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3)
Gecko/20041001 Firefox/0.10.1
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
header=cookie=com.skillsoft.mgs.sso.RedirectorServlet.ReturnToSkillPort=
http://dkoesxp/djk/home/index.cfm?selectdTab=0;
CFMX_JSESSIONID=c8301990451098975559821; CFID=19459; CFTOKEN=98634115
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
header=content-length=340147
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
header=content-type=multipart/form-data;
boundary=---41184676334
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
header=accept-encoding=gzip,deflate
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
header=accept-charset=ISO-8859-1,utf-8;q=0.7,*;q=0.7
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
header=keep-alive=300
2004-10-28 10:59:43 RequestDumperValve[/ilt]: locale=en_US
2004-10-28 10:59:43 RequestDumperValve[/ilt]: method=POST
2004-10-28 10:59:43 RequestDumperValve[/ilt]:   pathInfo=null
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
protocol=HTTP/1.1
2004-10-28 10:59:43 RequestDumperValve[/ilt]:queryString=null
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
remoteAddr=10.20.3.42
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
remoteHost=10.20.3.42
2004-10-28 10:59:43 RequestDumperValve[/ilt]: remoteUser=null
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
requestedSessionId=3048D443AD4341273FB5FED42958E7C4
2004-10-28 10:59:43 RequestDumperValve[/ilt]: scheme=http
2004-10-28 10:59:43 RequestDumperValve[/ilt]: serverName=dkoesxp
2004-10-28 10:59:43 RequestDumperValve[/ilt]: serverPort=80
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
servletPath=/ilt/iltPerformUpload.do
2004-10-28 10:59:43 RequestDumperValve[/ilt]:   isSecure=false
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
---
2004-10-28 10:59:43 StandardWrapperValve[action]: Servlet.service() for
servlet action threw exception
org.apache.commons.fileupload.FileUploadException: Processing of
multipart/form-data request failed.
\WEB-INF\ilt\temp\upload_0001.tmp (The system cannot find the path
specified)
at
org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase
.java:429)
at
org.apache.struts.upload.CommonsMultipartRequestHandler.handleRequest(Co
mmonsMultipar

RE: File upload

2004-10-28 Thread Derrick Koes
 
Upon reviewing some struts code and documentation, the memory threshold
for a file to be parsed for upload is 256K (configurable).  If the file
is over that size, I believe the uploader puts it in a temp file.
However, since the "url" to retrieve it for parsing is a relative path,
the parser cannot find it.

Can anyone verify this?

Thanks,
Derrick


-Original Message-----
From: Derrick Koes [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 28, 2004 11:52 AM
To: Tomcat Users List
Subject: File upload


Configuration:

Tomcat 5.0.24
IIS 5.0
JK2 connector
Isapi_redirector2.dll
Struts 1.1
Commons file upload 1.0


I seem to have an issue that when the file is a certain size it is
written to a temp file on the file system before it is parsed by the
multipart parser (at least that's what the exception message leads me to
believe).  However, since the working directory is my web app
(/WEB-INF/ilt), the parser can't seem to find the file (not a fully
qualified file name).  This is a guess, but if correct I don't know how
to fix the problem.

Any help is appreciated.

Belows is the stack trace and data from the request dumper valve:

2004-10-28 10:59:32 RequestDumperValve[/ilt]:
===
2004-10-28 10:59:43 RequestDumperValve[/ilt]: REQUEST URI
=/ilt/ilt/iltPerformUpload.do
2004-10-28 10:59:43 RequestDumperValve[/ilt]:   authType=null
2004-10-28 10:59:43 RequestDumperValve[/ilt]:  characterEncoding=null
2004-10-28 10:59:43 RequestDumperValve[/ilt]:  contentLength=340147
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
contentType=multipart/form-data;
boundary=---41184676334
2004-10-28 10:59:43 RequestDumperValve[/ilt]:contextPath=/ilt
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
cookie=com.skillsoft.mgs.sso.RedirectorServlet.ReturnToSkillPort=http://
dkoesxp/djk/home/index.cfm?selectdTab=0
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
cookie=CFMX_JSESSIONID=c8301990451098975559821
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
cookie=CFID=19459
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
cookie=CFTOKEN=98634115
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
header=accept=text/xml,application/xml,application/xhtml+xml,text/html;q
=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
header=accept-language=en-us,en;q=0.5
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
header=connection=keep-alive
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
header=host=dkoesxp
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
header=referer=http://dkoesxp/ilt/ilt/iltUpload.do;jsessionid=3048D443AD
4341273FB5FED42958E7C4
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
header=user-agent=Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3)
Gecko/20041001 Firefox/0.10.1
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
header=cookie=com.skillsoft.mgs.sso.RedirectorServlet.ReturnToSkillPort=
http://dkoesxp/djk/home/index.cfm?selectdTab=0;
CFMX_JSESSIONID=c8301990451098975559821; CFID=19459; CFTOKEN=98634115
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
header=content-length=340147
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
header=content-type=multipart/form-data;
boundary=---41184676334
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
header=accept-encoding=gzip,deflate
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
header=accept-charset=ISO-8859-1,utf-8;q=0.7,*;q=0.7
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
header=keep-alive=300
2004-10-28 10:59:43 RequestDumperValve[/ilt]: locale=en_US
2004-10-28 10:59:43 RequestDumperValve[/ilt]: method=POST
2004-10-28 10:59:43 RequestDumperValve[/ilt]:   pathInfo=null
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
protocol=HTTP/1.1
2004-10-28 10:59:43 RequestDumperValve[/ilt]:queryString=null
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
remoteAddr=10.20.3.42
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
remoteHost=10.20.3.42
2004-10-28 10:59:43 RequestDumperValve[/ilt]: remoteUser=null
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
requestedSessionId=3048D443AD4341273FB5FED42958E7C4
2004-10-28 10:59:43 RequestDumperValve[/ilt]: scheme=http
2004-10-28 10:59:43 RequestDumperValve[/ilt]: serverName=dkoesxp
2004-10-28 10:59:43 RequestDumperValve[/ilt]: serverPort=80
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
servletPath=/ilt/iltPerformUpload.do
2004-10-28 10:59:43 RequestDumperValve[/ilt]:   isSecure=false
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
---
2004-10-28 10:59:43 StandardWrapperValve[action]: Servlet.service() for
servlet action threw exception
org.apache.commons.fileupload.FileUploadException: Processing of
multipart/form-data request failed.
\WEB-INF\ilt\temp\upload_0001.tmp (The system cannot find the path
specified)
at
org.apache.commons.fileupload.Fi

File upload

2004-10-28 Thread Derrick Koes

Configuration:

Tomcat 5.0.24
IIS 5.0
JK2 connector
Isapi_redirector2.dll
Struts 1.1
Commons file upload 1.0


I seem to have an issue that when the file is a certain size it is
written to a temp file on the file system before it is parsed by the
multipart parser (at least that's what the exception message leads me to
believe).  However, since the working directory is my web app
(/WEB-INF/ilt), the parser can't seem to find the file (not a fully
qualified file name).  This is a guess, but if correct I don't know how
to fix the problem.

Any help is appreciated.

Belows is the stack trace and data from the request dumper valve:

2004-10-28 10:59:32 RequestDumperValve[/ilt]:
===
2004-10-28 10:59:43 RequestDumperValve[/ilt]: REQUEST URI
=/ilt/ilt/iltPerformUpload.do
2004-10-28 10:59:43 RequestDumperValve[/ilt]:   authType=null
2004-10-28 10:59:43 RequestDumperValve[/ilt]:  characterEncoding=null
2004-10-28 10:59:43 RequestDumperValve[/ilt]:  contentLength=340147
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
contentType=multipart/form-data;
boundary=---41184676334
2004-10-28 10:59:43 RequestDumperValve[/ilt]:contextPath=/ilt
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
cookie=com.skillsoft.mgs.sso.RedirectorServlet.ReturnToSkillPort=http://
dkoesxp/djk/home/index.cfm?selectdTab=0
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
cookie=CFMX_JSESSIONID=c8301990451098975559821
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
cookie=CFID=19459
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
cookie=CFTOKEN=98634115
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
header=accept=text/xml,application/xml,application/xhtml+xml,text/html;q
=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
header=accept-language=en-us,en;q=0.5
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
header=connection=keep-alive
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
header=host=dkoesxp
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
header=referer=http://dkoesxp/ilt/ilt/iltUpload.do;jsessionid=3048D443AD
4341273FB5FED42958E7C4
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
header=user-agent=Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3)
Gecko/20041001 Firefox/0.10.1
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
header=cookie=com.skillsoft.mgs.sso.RedirectorServlet.ReturnToSkillPort=
http://dkoesxp/djk/home/index.cfm?selectdTab=0;
CFMX_JSESSIONID=c8301990451098975559821; CFID=19459; CFTOKEN=98634115
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
header=content-length=340147
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
header=content-type=multipart/form-data;
boundary=---41184676334
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
header=accept-encoding=gzip,deflate
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
header=accept-charset=ISO-8859-1,utf-8;q=0.7,*;q=0.7
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
header=keep-alive=300
2004-10-28 10:59:43 RequestDumperValve[/ilt]: locale=en_US
2004-10-28 10:59:43 RequestDumperValve[/ilt]: method=POST
2004-10-28 10:59:43 RequestDumperValve[/ilt]:   pathInfo=null
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
protocol=HTTP/1.1
2004-10-28 10:59:43 RequestDumperValve[/ilt]:queryString=null
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
remoteAddr=10.20.3.42
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
remoteHost=10.20.3.42
2004-10-28 10:59:43 RequestDumperValve[/ilt]: remoteUser=null
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
requestedSessionId=3048D443AD4341273FB5FED42958E7C4
2004-10-28 10:59:43 RequestDumperValve[/ilt]: scheme=http
2004-10-28 10:59:43 RequestDumperValve[/ilt]: serverName=dkoesxp
2004-10-28 10:59:43 RequestDumperValve[/ilt]: serverPort=80
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
servletPath=/ilt/iltPerformUpload.do
2004-10-28 10:59:43 RequestDumperValve[/ilt]:   isSecure=false
2004-10-28 10:59:43 RequestDumperValve[/ilt]:
---
2004-10-28 10:59:43 StandardWrapperValve[action]: Servlet.service() for
servlet action threw exception
org.apache.commons.fileupload.FileUploadException: Processing of
multipart/form-data request failed.
\WEB-INF\ilt\temp\upload_0001.tmp (The system cannot find the path
specified)
at
org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase
.java:429)
at
org.apache.struts.upload.CommonsMultipartRequestHandler.handleRequest(Co
mmonsMultipartRequestHandler.java:233)
at
org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1209)
at
org.apache.struts.action.RequestProcessor.processPopulate(RequestProcess
or.java:821)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
254)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at
org.apache.s