Search:

Type: Posts; User: deeptiagrawal; Keyword(s):

Search: Search took 0.00 seconds.

  1. Answers
    2
    Views
    11,089

    Re: Form Bean vs Action Form

    Logically there is only difference between form bean and Action Form that is form bean that we define extends the Action form. Form beans contains the setter and getter of the bean elements. We...
  2. Answers
    3
    Views
    12,275

    Re: achieve Encapsulation in Java

    Define a class with all the data members declared as private so that they are not publically accessible to any other class and all the methods that works upon or uses these data members as public. In...
  3. Answers
    5
    Views
    5,077

    Re: method overloaing?

    Method overloading help you to perform same/similar task but with different parameter list. Suppose you are writing a program to calculate the area of figures.
    With the help of function overloading...
  4. Answers
    4
    Views
    7,418

    java source file into byte code

    Is javac a command to complie the java source file into byte code OR it is the name of the compiler available with JDK ?
  5. Answers
    6
    Views
    9,611

    JSP Re: about WEB-INF folder

    No you need a struts-config file also which specifies the action class & action form name. The struts config determines the path of a Jsp page once a jsp page is being submitted & u need to the...
  6. Answers
    27
    Views
    20,890

    Re: Which constructor will be called in main

    hello,
    Daisy deepa is correct it will give an compilation error stating : "reference to A is ambiguous, both method A(A) in A and method A(java.lang.String) in A match
    A a=new A(null);"
  7. Answers
    4
    Views
    3,829

    Re: servlet - struts

    We define the name & path of the Action Servlet in the Web.xml.Web.xml is the deployment descriptor of the application. Thus,whenever any request has been made by submitting the JSP page control goes...
  8. JSP Re: When I submit the JSP page it is not going to servlet

    You first check your JSP that whether you have given the action path in your JSP or not eg. login.do in your JSP.Then check in your struts config also same path with same case of the alphabets &...
  9. Answers
    6
    Views
    9,611

    JSP Re: about WEB-INF folder

    WEB-INF folder contains Wex.xml,Strut-config.xml,all the TLDs etc,.class files, libraries etc.
  10. Answers
    1
    Views
    3,157

    Re: Types of java progamming languages

    Java Standard Edition(J2SE) comprise of the core java such as swing,AWt etc which is used to develop desktop-based applications.
    Java Enterprise Edition(J2EE) comprise of the adavced things like...
  11. Re: In Action I want to access the formbean values

    You create the object of the form bean class in your Action class2. Use the object to access the form bean values in Action2.
  12. Re: Can we change the name of the web.xml file

    No we cannot the change of the WEb.xml because there are certain which is defined as standards as we cannot change the name of folder webapps in the Tomcat server same way we cannot change the name...
  13. Re: Creating multiple projects on a single server like tomcat

    You always deploy the the WAR file in the Tomcat. When you start the Tomcat, the WAR File unwars itself(i.e. it create folder into the webapps folder with the name of the WAR File). So in this way...
  14. JSP Re: Display data in the form of table in Struts

    Hi,

    You will display the data in a jsp so you can use <table><tr><td></td></tr></table> tag to display ur data in a tabular form in a jsp.
  15. JSP Re: single action to forward to different multiple JSP pages

    When we submit any request it goes Action servlet if ur action servlet comprise of different taskaction thn u can return different values for Action forward object. Accordingly you can change the...
  16. Answers
    10
    Views
    15,123

    JSP Re: Can we have 2 Struts Config.xml file

    Yes u can have 2 or more number of struts config but there would be only 1 web.xml.
  17. Re: What actually happens internally in struts framework?

    Struts framework is based on MVC architecture. When we put some values in the jsp file (whatever the view component is) & submit that page it contains the action path which is mapped to a action...
  18. Re: Will the compiler creates/assigns the memory for String

    Hi

    The difference between the two is that the first one creates the reference of string class & second creates the object of the string class that acquires some memory & will have the value "Hai"
Results 1 to 18 of 20
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact