Hi List!
No ideas on the topic below? There are two similar bugs in the struts-faces
buglist, both of them unresolved. So I suppose I'm not the only one with
this eraneous behaviour. It is, as far as I can tell, directly linked to
tiles and tags-faces.
Thanks alot for your time.
Karsten Krieg
----- Weitergeleitet von Karsten Krieg/intarsys am 14.09.2004 08:35 -----
|---------+---------------------------->
| | "Karsten Krieg" |
| | <[EMAIL PROTECTED]|
| | de> |
| | |
| | 10.09.2004 14:44 |
| | Bitte antworten |
| | an "Struts Users |
| | Mailing List" |
|---------+---------------------------->
>----------------------------------------------------------------------------------------------------------------------|
|
|
| An: [EMAIL PROTECTED]
|
| Kopie:
|
| Thema: Blank pages after three submits
|
>----------------------------------------------------------------------------------------------------------------------|
Hi!
I'm using Tomcat 5, Struts 1.2.3, Struts-Faces (nightly 9/3), Tiles and JSF
1.1. The whole compendium.
I've a simple login page and an action, which performs the validation of
the login. If the validation fails, the forward 'failure' is invoked (see
snippet of struts-config below). If I do this three times in a row (hitting
submit with no entries made), the returned page is blank. This happens also
after some navigation through my application. Everythings works fine until
a blank page is displayed.
After that I cannot start the application again without restarting tomcat.
I'm doing nothing like <s:commandLink> or such, just submit -> action ->
forward.
Any ideas here? Thanks for your time!
Karsten Krieg
Here's my relevant config:
struts-config.xml
------------------------
<!-- process Login -->
<action
name="loginForm"
input=".login"
path="/login"
scope="request"
type="de.intarsys.efselect.web.action.LoginAction"
validate="true">
<forward name="success" path=".template" />
<forward name="failure" path=".login" />
</action>
<controller>
<!-- The "input" parameter on "action" elements is the name of a
local or global "forward" rather than a subapp-relative path -->
<set-property property="inputForward" value="true"/>
<set-property property="processorClass"
value=
"org.apache.struts.faces.application.FacesTilesRequestProcessor"/>
</controller>
web.xml
-----------
<!-- JavaServer Faces Servlet Configuration -->
<servlet>
<servlet-name>faces</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<!-- ActionServlet (struts) configuration -->
<servlet>
<servlet-name>action</servlet-name>
<servlet-class>de.intarsys.efselect.web.IntarsysActionServlet
</servlet-class>
<load-on-startup>2</load-on-startup>
</servlet>
tiles-def.xml
--------------
<!-- Base Layout -->
<definition name=".base" page="/layout.faces">
<put name="title" value="blank"/>
<put name="header" value="/header.jsp"/>
<put name="footer" value="/footer.jsp"/>
<put name="menu" value="/left_side_menu.jsp"/>
<put name="user" value="/user.jsp"/>
<put name="task" value="blank"/>
<put name="errors" value="/errors.jsp"/>
<put name="print_button" value="/print_button.jsp"/>
<put name="nav_buttons" value="/nav_buttons.jsp"/>
<put name="content" value="/blank.jsp"/>
</definition>
<!-- ========== PAGES ========== -->
<definition name=".login" extends=".base">
<put name="content" value="/login.jsp"/>
<put name="title" value="Bitte anmelden" />
<put name="task" value="Anmeldung" />
</definition>
---------------------------------------------------------------------
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]