Thanks a lot for answering again, Dave!
I felt that my latest questions hardly deserved an answer since they
were too basic. For that reason I have been reading some stuff myself
to try to find answers.. (See below.)

> If you're calling a JSP page directly (almost never a good idea) it won't go 
> through the action request process, so you won't have anything on the value 
> stack. Most S2 tags depends on something being on the value stack--like 
> <s:text...>.
Yes, I suspected something like that.

> You can configure an action without a class and S2 will use (normally) 
> ActionSupport, the default execute() method returns "success":
>
> <action name="foo">
>  <result>/WEB-INF/jsps/foo.jsp</result>
> </action>

Yes, I just read about that, but I didn't know that Struts
automatically uses ActionSupport in this case. Good to know. Then I
understand.

>> And how do I tell NetBeans that it should start by running an action?
>
> I'm not sure how to answer that; all NetBeans will do is start the 
> application server, and you make requests to the app.
Ok, I'll try to find that out by myself.

/Ylva

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

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

Reply via email to