Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

can anyone help me on get this simple struts application running 10g

389873Jul 30 2004 — edited Feb 5 2005
I am using JDeveloper 10g to code and run this simple application. When I tried to run it, I saw the oc4j console showing the following message:
Target URL -- http://163.252.70.93:8988/Leo-Project-context-root/createPerformanceGoal.do
Jul 30, 2004 5:37:34 PM org.apache.struts.util.PropertyMessageResources <init>

INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true

Jul 30, 2004 5:37:34 PM org.apache.struts.util.PropertyMessageResources <init>

INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true

Jul 30, 2004 5:37:36 PM org.apache.struts.util.PropertyMessageResources <init>

INFO: Initializing, config='mypackage.ApplicationResources', returnNull=true

However, my web brower will just give me the http 500 error.

Here is my struts-config.xml
<?xml version = '1.0' encoding = 'windows-1252'?>
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
<struts-config>
<form-beans>
<form-bean name="performanceGoalFormBean" type="formbean.PerformanceGoalFormBean"/>
</form-beans>
<action-mappings>
<action path="/createPerformanceGoal" forward="/performanceGoalForm.jsp" name="performanceGoalFormBean"/>
<action path="/save">
<forward name="success" path="/valid.do"/>
</action>
<action path="/valid" forward="/valid.jsp"/>
</action-mappings>
<message-resources parameter="mypackage.ApplicationResources"/>
</struts-config>

If I took out name="performanceGoalFormBean", I would get the exception from jsp saying that form bean is null. But if I put the name="performanceGoalFormBean" back, I got the http 500 error. I did create the form bean (formbean.PerformanceGoalBean). What am I doing wrong here? I need help! Please help!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 5 2005
Added on Jul 30 2004
4 comments
233 views