It's not a secret anymore!
The moose likes Struts and the fly likes Weird Struts Error- Need help Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "Weird Struts Error- Need help" Watch "Weird Struts Error- Need help" New topic
Author

Weird Struts Error- Need help

sankey jain
Ranch Hand

Joined: Apr 29, 2010
Posts: 58
Hi all,
I have unique problem here
Little background here

My application runs in 74 countries
It s a J2EE application based on Struts Jsp Hibernate
Our application has 2 users from london, when they try to do a sql search function it throws up the error
But, other users from the different countries are able to do it..

url being passed is


[url] https://conflicts.intranet.standardchartered.com/conflict/listManagement/viewWatchRestrictedSearch.action?company.dateListAdded=4/1/2010&company.dateListAddedTo=4/30/2010&company.dateListRemoved=&company.dateListRemovedTo=[url]

conflicts.intranet.standardchartered.com : potentially vulnerable to CVE-2009-3555- this is the message that is shown in error console of mozilla
Can you help??



[Thumbnail for Error.JPG]

David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

There are two different issues here, the known vulnerability, and the missing S2 result.

That S2 is trying to find an "input" result means that validation (or type conversion, perhaps on the dates?) has failed. Without knowing more it's impossible to help.

Did you try URL-encoding the link?
sankey jain
Ranch Hand

Joined: Apr 29, 2010
Posts: 58
David Newton wrote:There are two different issues here, the known vulnerability, and the missing S2 result.

That S2 is trying to find an "input" result means that validation (or type conversion, perhaps on the dates?) has failed. Without knowing more it's impossible to help.

Did you try URL-encoding the link?


Hi david,

but, this works for all the other users across the world. i have tried executing the same functionality with people from dubai,Singapore etc.
it works jsut fine !!
Funny thing, this is what i did.

i have this application hosted on my local as well.
i gave the London user url of my local apache/tomcat and asked her to access the same function
she was unable to do it
but, i was able to do it from my laptop

i am guessing a browser issue, and when you say more information, what is required?
will be more than happy to post it up

Sanket
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Turn on devMode, set logging to DEBUG, and find out why it's looking for the "input" result.
sankey jain
Ranch Hand

Joined: Apr 29, 2010
Posts: 58
David Newton wrote:Turn on devMode, set logging to DEBUG, and find out why it's looking for the "input" result.


issue resolved, it was the regional settings, the london user had the setting to english(UK)
thus the date sent was in a different format from what was expected
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

David Newton wrote:(or type conversion, perhaps on the dates?)

;)

Glad you worked it out :)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Weird Struts Error- Need help
 
Similar Threads
Struts in Websphere Application Developer 5
please help in setting db connection in jboss
Aspose.Newsletter October 2010 Edition is out now
SSO Using JBoss Negotiation
struts2.2.1 combined tutorial with modified changes not able to work