Hi Matt, OK, the real question was: how can I write pure JSP code to process Action's data? Can I write Java code in an JSP structure to access Action's methods? For example: <% ActionList al = ???; Map map = al.getData( param1, param2, ... ); %>
Thanks Bye Attila mraible wrote: > > On Thu, May 15, 2008 at 3:46 AM, Attila <[EMAIL PROTECTED]> wrote: >> >> Hi, >> >> I've to recode a PHP based application. Many sites begins with database >> querying ( MySQL ), and produce HTML code ( iterate over lists, arrays ) >> depending on data. HTML and PHP code are mixed. >> >> I don't allowed to change the HTML structure, I've to rewrite code >> one-to-one! Because of time saving, I've decide to change only PHP code >> to >> JSP, JSF, Ajax (DWR), and not to touch business logic! But is not always >> easy. >> >> What is the best practise, to rewrite PHP code one-to-one to JSP? How to >> access DAOs and/or Managers and/or Action beans from pure JSP? > > You don't, it's not a recommended practice. We provide no facilities > w/in AppFuse to make this easy. You generally expose data in your > Actions and then retrieve that data in your JSP. > > Matt > >> >> >> Thanks >> Bye >> -- >> View this message in context: >> http://www.nabble.com/How-to-access-DAOs-and-or-Managers--and-or-Action-beans-from-pure-JSP--tp17249601s2369p17249601.html >> Sent from the AppFuse - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> 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] > > > -- View this message in context: http://www.nabble.com/How-to-access-DAOs-and-or-Managers--and-or-Action-beans-from-pure-JSP--tp17249601s2369p17528989.html Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
