first of all i am sory i dont know which is correct forum for this problem as i am new to JavaRanch bt still i am posting it
i developing a web portal using struts with jsp pages
my pages is developed but the action is not called at all
as i run my page index.jsp is shownn but after that nothng happens
Index.jsp file
My web.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN" "http://struts.apache.org/dtds/struts-config_1_2.dtd">
<struts-config>
<data-sources />
<form-beans >
<form-bean name="loginform" type="login.loginform"/>
</form-beans>
<global-exceptions />
<global-forwards >
<forward name="login" path="login.do"></forward>
</global-forwards>
<action-mappings >
<action attribute="loginform" input="index.jsp" name="loginform" path="/login" scope="request" type="login.loginaction" validate="false" >
<forward name="success" path="home.jsp"></forward>
<forward name="failure" path="index.jsp"></forward>
</action>
</action-mappings>
<message-resources parameter="com.yourcompany.struts.ApplicationResources" />
</struts-config>
[/code]
loginaction.java
loginform.java
i am working on this problem for last 1 & a half month please help me
I have also included my struts.jar
thank you