This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Struts action being executed upon page load!  RSS feed

 
Andy Deighton
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Posts: 10878
158
Android Debian Eclipse IDE IntelliJ IDE Java Linux Mac Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is the URL for one of the frames a Struts action? That's one possible cause.
 
Andy Deighton
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Posts: 10878
158
Android Debian Eclipse IDE IntelliJ IDE Java Linux Mac Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know about the session cache thing...seems unlikely to me. Could you post your frameset definition?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!