wood burning stoves*
The moose likes Struts and the fly likes unknown problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "unknown problem" Watch "unknown problem" New topic
Author

unknown problem

Jordan Smith
Ranch Hand

Joined: Apr 06, 2008
Posts: 89
Hi
I have a form with a simple action:
<html:form action="ads/newObituaryUpload" enctype="multipart/form-data">
the problem is, that from unknow reasons, sometimes the form, with the same information is being submitted successfuly, and sometimes not.
what could be the problem?
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
I'm not sure if this is what's causing your problem, but it does concern me when I see action="ads/newObituaryUpload". If the current page exists in the context root, then this will work, but if it doesn't, it won't. It's better to specify action="/ads/newObituaryUpload".


Merrill
Consultant, Sima Solutions
Jordan Smith
Ranch Hand

Joined: Apr 06, 2008
Posts: 89
nope it's not the problem...
Brent Sterling
Ranch Hand

Joined: Feb 08, 2006
Posts: 948
Could you describe what you mean by "sometimes not"? Are you getting a specific error?

- Brent
 
 
subject: unknown problem