I've noticed that I can do that too.
I'm not expert, but I'm guessing that it's not an issue, and this behavior
is fine (as long as it is login protected if necessary).
I'm also GUESSING that the rule that actions can only be called from JSP
pages is made with the assumption that you're taking input from that page to
use within the action.
So, if there is no input necessary for the action, then this is fine.

Maybe some of the struts gurus out there can tell me if I'm on the right
track?

Keith Kamholz
Programming and Architecture
Moog Inc.

Phone: (716) 687-7001

www.buffalo.edu/~kkamholz


-----Original Message-----
From: Brian McSweeney [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 05, 2003 9:03 AM
To: Struts Users Mailing List
Subject: calling actions directly


Hi again everyone,

yet another question.

I read that one of the things about struts is the actions are only able to 
be called from the pages directly. Ie, you shouldn't be able to bookmark 
the actions themselves like:

http://myhost/myaction.do

However, I can do this no problem and it runs the action. Am I missing 
something?

I'm using JBoss3.04_tomcat4.1.12

thanks,
Brian

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to