> Date: Fri, 14 May 2010 19:10:20 +0200
> Subject: More action in one view
> From: [email protected]
> To: [email protected]
>
> Hi all, i am a newbie of struts. Before to start i want to say sorry for my
> bad english. I looked for any forum/blogs in my language (italian) :(
> I am developing a project for a university course.
>
> the first page is a login form, if the login success i have to show the
> index of a nurse or a doctor. It depends from the account.
> For do this i used a interceptor and all work...
mg>Which Interceptor are you referring to?
>
> Now i want that every page show the information about the worker, for
> example the name, the surname and the id.
> At the same time i want to do other action for example search patient,
> insert new, open a new medical record about a patient ... but any page must
> show the information of the nurse!
>
> How can i do? The principal problem is choose the action class.
mg>every action has input (form) and n results (usually success result jsp
page/failure result jsp pages)
>
> Thanks
> Fabio Perfetti
mg>way too little information to provide a comprehensive answer without looking
at
mg>a complete listing of current dbschema
mg>a complete display of all action classes you current are implementing
mg>applicationContext.xml
mg>web.xml
mg>/WEB-INF/classes/struts.xml
mg>WEB-INF/classes/globalMessages.properties
mg>jsp pages
mg>also include any *validation.xml you might be implementing
mg>are you using ORM like hibernate/toplink or are you going
querying/inserting/updating with jdbc?
mg>why dont you track down this italian professor that is getting paid to
(supposedly) help you
_________________________________________________________________
The New Busy is not the too busy. Combine all your e-mail accounts with Hotmail.
http://www.windowslive.com/campaign/thenewbusy?tile=multiaccount&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4