Read Chapter 4, "Programming Jakarta Struts" by Chuck Cavaness (O'Reilly
2003).  It answers most, if not all, your questions.

Mark

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, January 15, 2003 10:56 AM


Im new to struts. I have been reading struts in action, and Im trying to
develop my first web app. My application is currently quite simple. I have a
welcome which I would like to incorporate a counter on this page. To keep
tabs of the # of people who have hit my site. I have a servlet which needs
to be called when the page is first visited. My question is where do I call
this servlet? I know i need to use the <logic present tags to verify if the
bean is present; and I need to call an Action class which in turn will call
a bean which will connect to a database which will keep count of the hits.
Can the actionServlet directly call an Action since I have no need to call
an ActionForm?  And I was under the impresion that an Action would need to
call an ActionForward when it completes its tasks. Would i still need to do
this if the client remains on the same page? Thank you all for your time



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

Reply via email to