You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Dan Allen <da...@mojavelinux.com> on 2003/02/24 03:31:00 UTC
handoff to ActionServlet question
I am currently working on porting the Struts concept to PHP (can I
cry on your shoulder now?) My hopes are to do a more complete job
than phrame.
On to my question. The way I see it, ActionServlet is only
initialized when the url-pattern matches that specified in the
web.xml file. So in the case of a request such as
/struts-example/index.jsp
struts plays no part at all. If this is in fact the case, then
when/where are the Application.properties placed into the context of
the jsp page. Also, say on my front page I had an html select with
information from my datasource. It seems to me like the *.jsp could
get at this stuff to fill in the form bean unless the logic was
placed in a scriptlet. Does that mean that if the index page has
information from the datasource (like the most recent news articles)
then the index must be an index.do?
Thanks for the help!
Dan Allen
--
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Daniel Allen, <da...@mojavelinux.com>
http://www.mojavelinux.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
There is no such thing as a casual knowledge of xslt, either
you know everything about it or you are sitting in the creek.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org