Hi All,
I Just wrote a program using struts,that is Login form,takes username and password and compares with some strings in MyAction class.depends upon the result, response is forwarded to any of one the pages success.jsp or Login.jsp.
I wrote this by importing struts-blank.war file.It works fine.
But i want to check username and password from database.so i just included the below code

Java Code:
    <data-source type="org.apache.commons.dbcp.BasicDataSource">
          <set-property property="key" value="siri"/>
		  <set-property property="driverClass" value="sun.jdbc.odbc.JdbcOdbcDriver"/>
		  <set-property property="url" value="jdbc:odbc:MyOracle"/>
		  <set-property property="user" value="system"/>
  		  <set-property property="password" value="welcomeme"/>
And also i changed action class accordingly.I didn't change any thing else.
But now when i try to run this form eclipse,first Login.jsp is working well.but when click on submit button i am getting error like below
Java Code:
HTTP Status 404 - Servlet action is not available

type: Status report

message: Servlet action is not available

description The requested resource (Servlet action is not available) is not available.
Apache Tomcat/5.5.26
I searched many forums to solve this problem..but it couldn't work..

Can any one please give me suggestions to solve this problem.

And also in both cases i have another problem..i am not getting error messages from my application.properties file.

Please help me..

Thankq very much.