See below..

On Tue, 23 Apr 2002, rohit iyer wrote:

> WARNING: I am newbie.
>
> Hi all,
>       Its a nice sunny day here at St Louis...but my state is in dark...
> I was going through the new app example, trying to figure out the links
> between the .vm files and java code...
>       Had some questions.... please excuse the trivialness..
>
> 1)when the user logs in.... the Post Action message points to a file
>   /servlet/newapp/action/LoginUser
>
>   I tried searching for a link to a class named LoginUser or reference to a
> template and could not find any. Is there some default parameter?
> SecureScreen.java and SecureAction.java do not hint to redirection to any
> template.
>
>    Am I missing something here? Please do let me know

You should read the "action events" how-to at:
http://jakarta.apache.org/turbine/turbine-2/howto/action-event-howto.html
Then you'll notice that the Actions are stored in the "modules/actions"
directory of your webapp.


> 2) The spec doc says...
> " The Turbine servlet then checks to see if a user is attempting to Login to
> the system by looking at the defined Action and checking to see if the value
> is "LoginUser." If so, it will execute the "LoginUser" action (again, the
> action to execute here can be defined in the TurbineResources.properties
> file)"
>    Now, in the example, I could not find the value for LoginUser in the
> properties file.. Is there some default value?

>From what I can remember, it is in the TR.props file in 'newapp'.

Hope this helps,
dan


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

Reply via email to