hey all..

just installed struts, got demo up and running fine on iPlanet Web Server.
just trying to create a simple demo app.
1 view(jsp) 2 fields
1 form, matching fields
1 action

It seems that my jsp forwards correctly to my action mapping, my bean is
populated correctly and validated. my logs look like this:
[03/Dec/2002:13:50:23] info ( 2956):  action: Processing a POST for
/submitform1  
[03/Dec/2002:13:50:23] info ( 2956):  action: Setting locale 'en_US'  
[03/Dec/2002:13:50:23] info ( 2956):  action: Looking for ActionForm bean
under attribute 'form1'  
[03/Dec/2002:13:50:23] info ( 2956):  action: Creating new ActionForm
instance of class 'com.sc.struts.form.Form1'  [03/Dec/2002:13:50:23] info (
2956):  action: Storing instance under attribute 'form1' in scope 'session'
[03/Dec/2002:13:50:23] info ( 2956):  action: Populating bean properties
from this request  
[03/Dec/2002:13:50:23] info ( 2956):  action: Validating input form
properties  
[03/Dec/2002:13:50:23] info ( 2956):  action: No errors detected, accepting
input  
[03/Dec/2002:13:50:23] info ( 2956):  action: Looking for Action instance
for class com.sc.struts.action.Form1Action  [03/Dec/2002:13:50:23] info (
2956):  action: Double checking for Action instance already there  
[03/Dec/2002:13:50:23] info ( 2956):  action: Creating new Action instance 

and my app just displays a blank screen (no errors, no errors in log file)
in my browser with my new '.do' url. It doesnt seem as if im able to return
the correct action mapping object. I have now resorted to throwing an
exception in the first line of my Action.execute method, which as you can
see, isnt being thrown. Is this just a setup problem?


Has anyone else had this problem and/or know how I can fix this?

thanks 
Sean


pretty simple struts config as well:
<struts-config>


  <form-beans>

    <!-- Logon form bean -->
   
    <form-bean      name="form1"
                    type="com.sc.struts.form.Form1"/>
  </form-beans>



  <global-forwards>
  </global-forwards>


  <action-mappings type="org.apache.struts.action.ActionMapping">

    <!-- process form 1 -->
    <action
        path="/submitform1"
        type="com.sc.struts.action.Form1Action"
        name="form1"
        scope="request"
        input="/form1.jsp">
    </action>

  </action-mappings>

</struts-config>

==============================================================================
"MLB Mail Domain" made the following
 annotations on 12/03/02 14:11:22
------------------------------------------------------------------------------------------------------------------------------------------------------------
[INFO] -- Virus Manager:
No Viruses were detected in this message.

==============================================================================


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to