RequestProcessor/Dispatcher & render page

2005-10-16 Thread devosc
Hi, How does Java/Struts determine when/how to render a page fro the current findForward path ? For some reason I cant seem to determine how the RequestDispatcher is directly invoking the this target path without failing in the processMapping method of RequestProcessor ? For example, in a demo, i

Re: RequestProcessor/Dispatcher & render page

2005-10-16 Thread Frank W. Zammetti
Take a look at the RequestProcessor class source (pre-1.3 Struts, I'm looking at 1.2.4 at the moment). Look for the process() method. This is, in a high-level way, where most of the work occurs in the request processing cycle (at least the part that you are likely to be concerned with). Spec

Re: RequestProcessor/Dispatcher & render page

2005-10-16 Thread devosc
Hi, I've been looking at the src of v1.2.7. I think the real question is, what happens when no action is invoked, or configured in the struts xml file. For example, the initial request is to main.jsp which has no associated mappings in the xml config file, how does the RequestProcessor (or Reque

Re: RequestProcessor/Dispatcher & render page

2005-10-16 Thread Frank W. Zammetti
If you invoke main.jsp, the RequestProcessor IS NOT invoked. Well, not unless you've mapped in to .jsp. Most people tend to map ActionServlet to .do, and I think extension mapping is probably more prevalent than path mapping. This is done in web.xml, same as any servlet mapping is. Remember

Re: RequestProcessor/Dispatcher & render page

2005-10-16 Thread devosc
Hi Frank, Thanks for the explanation, I realized shortly afterwards that there in the web.xml which pertains to the higher level of the application/servlet... and thus like you siad unless an action is in the mappings file the RequestProcessor wouldnt know what to do (unless there is an action wi

Bug report for Struts [2005/10/16]

2005-10-16 Thread bugzilla
+---+ | Bugzilla Bug ID | | +-+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned

[Struts Wiki] Update of "BuildingShale" by WendySmoak

2005-10-16 Thread Apache Wiki
Dear Wiki user, You have subscribed to a wiki page or wiki category on "Struts Wiki" for change notification. The following page has been changed by WendySmoak: http://wiki.apache.org/struts/BuildingShale The comment on the change is: Added a link to experimental m2 build files for Shale -

Publishing the new website

2005-10-16 Thread Wendy Smoak
One more (last) time... http://svn.apache.org/builds/struts/maven/trunk/site-test/ (I only uploaded the 1.2.7 docs, so the other links to old docs won't work.) I'm ready to publish it. Briefly, I plan to create struts-doc-1.2.x under /www/struts.apache.org/ and move the current site content do

Re: Test failure in Struts Flow

2005-10-16 Thread Wendy Smoak
From: "Don Brown" <[EMAIL PROTECTED]> As for a Maven build, I'm not against using it, I just don't know how to convert the tasks to Maven, particularly building the examples. I also have this problem with BSF, code I want to start a release on, but am hung up on whether (or more accurately, how)