aspose file tools*
The moose likes Struts and the fly likes Struts action being executed upon page load! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts action being executed upon page load!" Watch "Struts action being executed upon page load!" New topic
Author

Struts action being executed upon page load!

Andy Deighton
Ranch Hand

Joined: Apr 01, 2003
Posts: 39
Hi,
I have a frameset in which one frame contains a page that is totally "harmless" in that all it contains is a some text. However, upon loading this frameset, one of my defined Struts actions gets executed!
I can only assume that because this frame, in a previous session, contained the result of an action being called, that it is somehow remembering that action and running it. But, I've never come across this before. Anyone seen this odd behaviour before?
I'm using Struts 1.1 and Tomcat 4.1.27.
Regards,
Andy
Junilu Lacar
Bartender

Joined: Feb 26, 2001
Posts: 4462
    
    6

Is the URL for one of the frames a Struts action? That's one possible cause.


Junilu - [How to Ask Questions] [How to Answer Questions]
Andy Deighton
Ranch Hand

Joined: Apr 01, 2003
Posts: 39
Good suggestion, but no. It's totally strange. Even after restarting the PC (!), thinking it was a session cache issue, it still persists!
Andy
Junilu Lacar
Bartender

Joined: Feb 26, 2001
Posts: 4462
    
    6

I don't know about the session cache thing...seems unlikely to me. Could you post your frameset definition?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts action being executed upon page load!