Answer Posted / shiva
web.xml is useful to map the url pattern given by the client
to the appropriate servlet. This is the main purpose of the
web.xml.
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
Explain the difference between an Interface and an Abstract class?
What is google full form?
What is garbage collector?
What is ternary operator?
What is the difference between object oriented programming language and object based programming language?
Draw a UML class diagram for the code fragment given below: public class StringApplet extends Applet { private Label sampleString; private Button showTheString; private ButtonHandler bHandler; private FlowLayout layout; public StringApplet() { sampleString = new Label(" "); showTheString = new Button (" Show the String"); bHandler = new ButtonHandler(); layout = new FlowLayout(); showTheString.addActionListener(bHandler); setLayout(layout); add(sampleString); add(showTheString); } class ButtonHandler implements ActionListener { public void actionPerformed(ActionEvent e) { samplestring.setText("Good Morning"); } } } Note: The methods need not be indicated on the diagram.
Can anonymous class have constructor?
Can constructor be protected in java?
What is immutable class in java?
Why do we need singleton class?
Explain tree set and its features?
Explain importance of finally block in java?
What are the 6 mandatory procedures for iso 9001?
When a lot of changes are required in data, which one should be a preference to be used? String or stringbuffer?
What is package protected in java?