reset password
Author Message
nehabhatt
Posts: 9
Posted 13:14 May 05, 2009 |

I am writing following code to map create blog.

<bean name="/blog/createBlog.html"
        class="csns.spring.controller.blog.CreateBlogController">
        <property name="commandName" value="blog" />
        <property name="commandClass" value="csns.model.blog.Blog" />
        <property name="formView" value="/blog/createBlog" />
        <property name="userDao" ref="userDao" />
        <property name="blogDao" ref="blogDao"></property>
    </bean>

But this is not working.

You can see the screen shots attached.

I have also created jsp name createBlog.jsp as displayed in form view.

Please help me....

cysun
Posts: 2935
Posted 15:23 May 05, 2009 |

If you get 404 error on every page, it means your project is not started. Try "Run on Server" and see what error message you get in the Console panel.

If you get 404 error only on the blog page, see http://sun.calstatela.edu/csns/forum/viewTopic.html?topicId=2103113.

nehabhatt
Posts: 9
Posted 18:03 May 05, 2009 |

Thanks Pfofessor,

Now Its working....