This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts action being executed upon page load!

 
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
Bartender
Posts: 7466
50
Android Eclipse IDE IntelliJ IDE Java Linux Mac Scala 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
Bartender
Posts: 7466
50
Android Eclipse IDE IntelliJ IDE Java Linux Mac Scala 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