-
-
Struts Application in RAD error
I am trying to run the Struts Application in RAD using Websphere application 6.1 but its not working its giving as error:
There is no Action mapped for namespace / and action name . - [unknown location]
at com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:178)
at org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionProxy.java:61) -
How to add multiple .property files in Sturts-config.xml file..?
If any one knows the answer plz add..
-
-
-
What is Struts
Answered by asreeni on 2005-04-08 03:24:40: The core of the Struts framework is a flexible control layer based on standard technologies like Java Servlets, JavaBeans, ResourceBundles, and XML, as well as various Jakarta Commons packages. Struts encourages application architectures based on the Model 2 approach, a variation of the classic Model-View-Controller (MVC) design paradigm. Struts...
-
-
Struts 2 Framework
What are the advantages and disadvantages of Struts 2 Framework?
-
Struts Framework
Why we use Struts framework in project?
-
Struts Heirarchy of Files
What is heirarchy of files in Struts?
-
How do you perform tight coupling and loose coupling in Struts ?
Is it require to perform coupling in struts ? if yes then how?
-
-
-
-
-
-
-
-
-
type="com.test.LoginForm"/>
path="/login"
type="com.test.user.login.LoginAction"
name="loginForm"
validate="false">
Question: Assuming the class LoginForm contains a String property named "password", how does the LoginAction class access the attribute called "password" in the above request? Explain why.
Choice 1
String password = request.getParameter("password");
Choice 2
String password = request.getAttribute("password");
Choice 3
request.getParameterNames().getParameter("password");
Choice 4
String password = ((LoginForm) form).getPassword();
Choice 5
String password = form.getPassword();
">Question: Assuming the class LoginForm contains a String property named "password", how does the LoginAction class access the attribute called "password" in the above request? Explain why.Choice 1 String password = request.getParameter("password"); Choice 2 String password = request.getAttribute("password"); Choice 3 request.getParameterNames().getParameter("password"); Choice 4 String password = ((LoginForm) form).getPassword(); Choice 5 String password = form.getPassword();
Struts Interview Questions
Ans