I added below code. I am new to
struts.
Web.xml file:
struts-config-student.xml
struts-config-sample.xml
struts-config-employee.xml
student.jsp
sample.jsp
employee.jsp
index.jsp
StudentAction.java
EmployeeAction.java
SampleAction.java
When i call localhost:8080/multipleStrutsConfigEx/welcome.cd
output is You came here through sample action.
when i call localhost:8080/../stud/welcome
output is again You came here through sample action.
whien i call localhost:8080/../emp/welcome
output is again You came here through sample action.
but i expect You came here through student action and You came here through employee action resp.
Please correct my code. i am standing here for long time..
File Hierarchy
MultipleStrutsConfigEx
--employee folder
-----employee.jsp
--student foler
-----student.jsp
--WEB-INF
----classes
-------com.....
----lib
----struts-employee
----struts-sample
----struts-sample
----web.xml
--index.jsp
--sample.jsp