jQuery in Action, 3rd edition
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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "unknown problem" Watch "unknown problem" New topic

unknown problem

Jordan Smith
Ranch Hand

Joined: Apr 06, 2008
Posts: 89
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".

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
I agree. Here's the link: http://aspose.com/file-tools
subject: unknown problem
It's not a secret anymore!