hi Dan,
      I am still troubled. the Actions directory has 3 action files.
SecureAction,SQL and Upload.
      The post request is : servlet/newapp/action/LoginUser
The action-event-howto says
###
Then, write your HTML tags specially like this:
<input type="submit" name="eventSubmit_doAdd" value="Add User">
When your Action is executed, an "event" is sent to it by attempting to 
execute a "doAdd()" method in your Action. ###

note: The login page has the submit button value as 'Login'
      I am confused here.. This is what I Infer, a class name LoginUser has 
to be present in action folder and run the method doLogin().

       I cannot find this file  'LoginUser', am I missing this file?

kindly confirm,

thanks,
cheers
Rohit




>From: "Dan K." <[EMAIL PROTECTED]>
>Reply-To: "Turbine Users List" <[EMAIL PROTECTED]>
>To: Turbine Users List <[EMAIL PROTECTED]>
>Subject: Re: doubt in newapp example
>Date: Tue, 23 Apr 2002 13:28:38 -0400 (EDT)
>
>
>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]>
>


_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


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

Reply via email to