-
Notifications
You must be signed in to change notification settings - Fork 0
/
struts-interview.html
744 lines (610 loc) · 37.9 KB
/
struts-interview.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title> Achievers Crush || Best place to learn how to Achieve our Goal </title>
<link rel="shortcut icon" type="image/png" href="resources/images/favicon.png"/>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="resources/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="resources/css/bootstrap-theme.min.css" >
<script src="resources/js/jquery-3.1.0.js"></script>
<!-- Latest compiled and minified JavaScript -->
<script type="text/javascript" src="resources/js/bootstrap.min.js"></script>
<script type="text/javascript" src="resources/js/bootstrapValidator.js"></script>
<script type="text/javascript" src="resources/js/script.js"></script>
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="resources/css/style.css">
</head>
<body>
<!-- Header -->
<nav class="navbar navbar-default" role="navigation">
<div class="container-fluid header">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-megadropdown-tabs">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="home.html"><img src="resources/images/logo.png"></a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="navbar-collapse style= collapse in" id="bs-megadropdown-tabs" style="
padding-left: 0px;
">
<ul class="nav navbar-nav">
<li><a href="home.html"><i class="fa fa-globe"></i> Home</a></li>
<li><a href="blogs-interview.html"><i class="fa fa-pencil"></i> Blogs</a></li>
<li class="dropdown mega-dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"> <i class="fa fa-space-shuttle"></i> CATEGORIES <span class="caret"></span></a>
<div id="filters" class="dropdown-menu mega-dropdown-menu">
<div class="container-fluid2">
<!-- Tab panes -->
<div class="tab-content">
<div class="tab-pane" id="others">
<ul class="nav-list list-inline">
<li><a data-filter=".89" href="#"><img src="http://content.nike.com/content/dam/one-nike/globalAssets/menu_header_images/OneNike_Global_Nav_Icons_Running.png"><span>HR Interview </span></a></li>
<li><a data-filter=".97" href="#"><img src="http://content.nike.com/content/dam/one-nike/globalAssets/menu_header_images/OneNike_Global_Nav_Icons_Basketball.png"><span>Tips</span></a></li>
<li><a data-filter=".96" href="#"><img src="http://content.nike.com/content/dam/one-nike/globalAssets/menu_header_images/OneNike_Global_Nav_Icons_Football.png"><span>Top Questions</span></a></li>
</ul>
</div>
<div class="tab-pane active" id="java">
<ul class="nav-list list-inline">
<li><a data-filter=".38" href="corejava-interview.html"><img src="resources/images/corejava.png"><span>Core Java</span></a></li>
<li><a data-filter=".41" href="spring-interview.html"><img src="resources/images/spring.png"><span>Spring</span></a></li>
<li><a data-filter=".62" href="hibernate-interview.html"><img src="resources/images/hibernate.png"><span>Hibernate</span></a></li>
<li><a data-filter=".82" href="struts-interview.html"><img src="resources/images/struts.png"><span>Struts</span></a></li>
<li><a data-filter=".93" href="jsp-interview.html"><img src="resources/images/jsp.png"><span>JSP</span></a></li>
<li><a data-filter=".94" href="servlet-interview.html"><img src="resources/images/servlet.png"><span>Servlet</span></a></li>
</ul>
</div>
</div>
</div>
<!-- Nav tabs -->
<ul class="nav nav-tabs" role="tablist">
<li class="active"><a href="#java" role="tab" data-toggle="tab">Java</a></li>
<li><a href="#others" role="tab" data-toggle="tab">Others</a></li>
</ul>
</div>
</li>
</ul>
<div class="row">
<div class="span12">
<form id="custom-search-form" class="form-search form-horizontal pull-right">
<div class="input-append span12">
<input type="text" class="search-query mac-style" placeholder="Search">
<button type="submit" class="btn"><i class="fa fa-search"></i></button>
</div>
</form>
</div>
</div>
<!-- <ul class="nav navbar-nav navbar-right">
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<span class="glyphicon glyphicon-user"></span>
<strong>Nombre</strong>
<span class="glyphicon glyphicon-chevron-down"></span>
</a>
<ul style="background-color:white;" class="dropdown-menu">
<li>
<div class="navbar-login">
<div class="row">
<div class="col-lg-4">
<p class="text-center">
<span class="glyphicon glyphicon-user icon-size"></span>
</p>
</div>
<div class="col-lg-8">
<p class="text-left"><strong>Nombre Apellido</strong></p>
<p class="text-left small">correoElectronico@email.com</p>
<p class="text-left">
<a href="#" class="btn btn-primary btn-block btn-sm">Actualizar Datos</a>
</p>
</div>
</div>
</div>
</li>
<li class="divider"></li>
<li>
<div class="navbar-login navbar-login-session">
<div class="row">
<div class="col-lg-12">
<p>
<a href="#" class="btn btn-danger btn-block">Cerrar Sesion</a>
</p>
</div>
</div>
</div>
</li>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">SIGN IN <span class="caret"></span></a>
<ul id="login-dp" class="dropdown-menu">
<li>
<div class="row">
<div class="col-md-12">
Login via
<div class="social-buttons">
<a href="#" class="btn btn-fb"><i class="fa fa-facebook"></i> Facebook</a>
<a href="#" class="btn btn-tw"><i class="fa fa-twitter"></i> Twitter</a>
</div>
or
<form class="form" role="form" method="post" action="login" accept-charset="UTF-8" id="login-nav">
<div class="form-group">
<label class="sr-only" for="exampleInputEmail2">Email address</label>
<input type="email" class="form-control" id="exampleInputEmail2" placeholder="Email address" required="">
</div>
<div class="form-group">
<label class="sr-only" for="exampleInputPassword2">Password</label>
<input type="password" class="form-control" id="exampleInputPassword2" placeholder="Password" required="">
<div class="help-block text-right"><a href="">Forget the password ?</a></div>
</div>
<div class="form-group">
<button type="submit" class="btn btn-primary btn-block">Sign in</button>
</div>
<div class="checkbox">
<label>
<input type="checkbox"> keep me logged-in
</label>
</div>
</form>
</div>
<div class="bottom text-center">
New here ? <a href="#"><b>Join Us</b></a>
</div>
</div>
</li>
</ul> -->
</li>
</ul>
</div><!-- /.navbar-collapse -->
</div><!-- /.container-fluid -->
</nav>
<!-- Header -->
<!-- Body main -->
<!-- Sidebar -->
<div class="container-fluid qabody">
<div class="row">
<
<!-- Sidebar left -->
<div class="col-md-3">
<div class="sidebar-left sidebar">
<div class="well">
<ul class="nav ">
<li class="nav-header"><strong>Core Java Interview Questions</strong></li>
<li class="active"><a href="corejava-interview.html"><i class="fa fa-caret-right"></i> 10 Basic Questions</a>
</li>
<li><a href="inheritance-interview.html"><i class="fa fa-caret-right"></i> Inheretance</a>
</li>
<li><a href="encapsulation-interview.html"><i class="fa fa-caret-right"></i> Encapsulation</a>
</li>
<li><a href="jdbc-interview.html"><i class="fa fa-caret-right"></i> JDBC</a>
<li><a href="collection-interview.html"><i class="fa fa-caret-right"></i> Collection</a>
<li><a href="multithreading-interview.html"><i class="fa fa-caret-right"></i> Multithreading</a>
</li>
<li class="nav-header"><strong>Web Service Interview Questions</strong></li>
<li><a href="servlet-interview.html"><i class="fa fa-caret-right"></i> Servlet</a>
</li>
<li><a href="jsp-interview.html"><i class="fa fa-caret-right"></i> Jsp</a>
</li>
<li><a href="spring-interview.html"><i class="fa fa-caret-right"></i> Spring</a>
</li>
<li><a href="springmvc-interview.html"><i class="fa fa-caret-right"></i> Spring MVC</a>
</li>
<li><a href="struts-interview.html"><i class="fa fa-caret-right"></i> Struts</a>
</li>
<li><a href="hibernate-interview.html"><i class="fa fa-caret-right"></i> Hibernate</a>
</li>
<li><a href="maven-interview.html"><i class="fa fa-caret-right"></i> Maven</a>
</li>
<li class="nav-header">Interview Experiencs</li>
<li><a href="tips-interview.html"><i class="fa fa-caret-right"></i> Tips</a>
</li>
<li><a href="topquestions-interview.html"><i class="fa fa-caret-right"></i> Top Questions</a>
</li>
<li><a href="hr-interview.html"><i class="fa fa-caret-right"></i> HR Interview Questions</a>
</li>
<li><a href="blogs-interview.html"><i class="fa fa-caret-right"></i> Blogs</a>
</li>
</ul>
</div>
<!--/.well -->
</div>
<!--/sidebar-nav-fixed -->
</div>
<!-- sidebar left -->
<!--/span-->
<div class="col-md-6">
<h3><strong>Struts Interview Questions</strong></h3>
<div class="panel-group" id="accordion">
<!-- panel1 -->
<div class="panel panel-default green" id="panel1">
<div class="panel-head" data-toggle="collapse" data-target="#collapse1">
<h4 class="panel-title"><a data-toggle="collapse" data-target="#collapse1" href="#collapse1"></a>1) What is Struts ? </h4>
</div>
<div id="collapse1" class="panel-collapse collapse in fade">
<div class="panel-body">
<p>Struts is open source software used to develop java based web page.</p>
<p>Struts uses Jakarta Packages, Java Servlets, JavaBeans, ResourceBundles, and XML.</p>
<p>Struts takes the help of Model View Controller (MVC) architecture. Where Model is referring to business or database, View is referring to the Page Design Code, and Controller is referring to navigational code.</p>
</div>
</div>
</div>
<div class="panel panel-default green" id="panel2">
<div class="panel-head" data-toggle="collapse" data-target="#collapse2">
<h4 class="panel-title"><a data-toggle="collapse" data-target="#collapse2" href="#collapse2"></a>2) What is Action Class?</h4>
</div>
<div id="collapse2" class="panel-collapse collapse fade">
<div class="panel-body">
<p>An Action class in the struts application is used to handle the request.</p>
<p>It acts as interface or communication medium between the HTTP request coming to it and business logic used to develop the application.</p>
<p>Action class consists of RequestProcessor which act as controller. This controller will choose the best action for each incoming request, generate the instance of that action and execute that action.</p>
<p>This should be in thread-safe manner, because RequestProcessor uses the same instance for number of requests at same time.</p>
</div>
</div>
</div>
<div class="panel panel-default green" id="panel3">
<div class="panel-head" data-toggle="collapse" data-target="#collapse3">
<h4 class="panel-title"><a data-toggle="collapse" data-target="#collapse3" href="#collapse3"></a>3 ) What are the components of Struts?</h4>
</div>
<div id="collapse3" class="panel-collapse collapse fade">
<div class="panel-body">
<p>
Struts components can be categorize into Model, View and Controller:
</p>
<ul>
<li><strong>Model:</strong> Components like business logic /business processes and data are the part of model.</li>
<li><strong>View:</strong> HTML, JSP are the view components.</li>
<li><strong>Controller:</strong> Action Servlet of Struts is part of Controller components which works as front controller to handle all the requests.</li>
</ul>
</div>
</div>
</div>
<div class="panel panel-default green" id="panel4">
<div class="panel-head" data-toggle="collapse" data-target="#collapse4">
<h4 class="panel-title"><a data-toggle="collapse" data-target="#collapse4" href="#collapse4"></a>4) What is ActionServlet?<h4>
</div>
<div id="collapse4" class="panel-collapse collapse fade">
<div class="panel-body">
<p>ActionServlet is a simple servlet which is the backbone of all Struts applications. It is the main Controller component that handles client requests and determines which Action will process each received request. It serves as an Action factory - creating specific Action classes based on user's request.</p>
</div>
</div>
</div>
<div class="panel panel-default green" id="panel5">
<div class="panel-head" data-toggle="collapse" data-target="#collapse5">
<h4 class="panel-title"><a data-toggle="collapse" data-target="#collapse5" href="#collapse5"></a>5) What is role of ActionServlet?</h4>
</div>
<div id="collapse5" class="panel-collapse collapse fade">
<div class="panel-body">
<p>ActionServlet performs the role of Controller:</p>
<ul>
<li>Process user requests</li>
<li>Determine what the user is trying to achieve according to the request</li>
<li>Pull data from the model (if necessary) to be given to the appropriate view,</li>
<li>Select the proper view to respond to the user</li>
<li>Delegates most of this grunt work to Action classes</li>
<li>Is responsible for initialization and clean-up of resources</li>
</ul>
</div>
</div>
</div>
<div class="panel panel-default green" id="panel6">
<div class="panel-head" data-toggle="collapse" data-target="#collapse6">
<h4 class="panel-title"><a data-toggle="collapse" data-target="#collapse6" href="#collapse6"></a>6) What is ActionMapping?</h4>
</div>
<div id="collapse6" class="panel-collapse collapse fade">
<div class="panel-body">
<p>Action mapping contains all the deployment information for a particular Action bean. This class is to determine where the results of the Action will be sent once its processing is complete.</p>
</div>
</div>
</div>
<div class="panel panel-default green" id="panel7">
<div class="panel-head" data-toggle="collapse" data-target="#collapse7">
<h4 class="panel-title"><a data-toggle="collapse" data-target="#collapse7" href="#collapse7"></a>7) What design patterns are used in Struts?</h4>
</div>
<div id="collapse7" class="panel-collapse collapse fade">
<div class="panel-body">
<p>Struts is based on model 2 MVC (Model-View-Controller) architecture. Struts controller uses the command design pattern and the action classes use the adapter design pattern. The process() method of the RequestProcessor uses the template method design pattern. Struts also implement the following J2EE design patterns.</p>
<ul>
<li>Service to Worker</li>
<li>Dispatcher View</li>
<li>Composite View (Struts Tiles)</li>
<li>Front Controller</li>
<li>View Helper</li>
<li>Synchronizer Token</li>
</ul>
</div>
</div>
</div>
<div class="panel panel-default green" id="panel8">
<div class="panel-head" data-toggle="collapse" data-target="#collapse8">
<h4 class="panel-title"><a data-toggle="collapse" data-target="#collapse8" href="#collapse8"></a>8) What is Struts Validator Framework?</h4>
</div>
<div id="collapse8" class="panel-collapse collapse fade">
<div class="panel-body">
<ul>
<li>Struts Validator Framework enables us to validate the data of both client side and server side.</li>
<li>When some data validation is not present in the Validator framework, then programmer can generate own validation logic, this User Defined Validation logic can be bind with Validation Framework.</li><
<li>Validation Framework consist of two XML configuration Files:
<ol>
<li>Validator-Rules.xml file</li>
<li>Validation.xml file</li>
</ol>
</li>
</ul>
</div>
</div>
</div>
<div class="panel panel-default green" id="panel9">
<div class="panel-head" data-toggle="collapse" data-target="#collapse9">
<h4 class="panel-title"><a data-toggle="collapse" data-target="#collapse9" href="#collapse9"></a>9) What are the classes used in Struts?</h4>
</div>
<div id="collapse9" class="panel-collapse collapse fade">
<div class="panel-body">
<p>Struts Framework consists of following classes:</p>
<ul>
<li><strong>Action Servlets:</strong> Used to control the response for each incoming request.</li>
<li><strong>Action Class: </strong>Used to handle the request.</li>
<li><strong>Action Form:</strong> It is java bean, used to referred to forms and associated with action mapping.</li>
<li><strong>Action Mapping:</strong> Used for mapping between object and action.</li>
<li><strong>Action Forward:</strong> Used to forward the result from controller to destination</li>
</ul>
</div>
</div>
</div>
<div class="panel panel-default green" id="panel10">
<div class="panel-head" data-toggle="collapse" data-target="#collapse10">
<h4 class="panel-title"><a data-toggle="collapse" data-target="#collapse10" href="#collapse10"></a>10) What are Struts2 core components?</h4>
</div>
<div id="collapse10" class="panel-collapse collapse fade">
<div class="panel-body">
<p>Struts2 core components are:</p>
<ul>
<li>Action Classes</li>
<li>Interceptors</li>
<li>Result Pages, JSP of FreeMarker templates</li>
<li>ValueStack, OGNL and Tag Libraries</li>
</ul>
</div>
</div>
</div>
<div class="panel panel-default green" id="panel11">
<div class="panel-head" data-toggle="collapse" data-target="#collapse11">
<h4 class="panel-title"><a data-toggle="collapse" data-target="#collapse11" href="#collapse11"></a>11) Which class is the Front Controller in Struts2?</h4>
</div>
<div id="collapse11" class="panel-collapse collapse fade">
<div class="panel-body">
<p><code>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter</code> is the Front Controller class in Struts2 and every request processing starts from this class. Earlier versions of Struts2 uses <code>org.apache.struts2.dispatcher</code>.FilterDispatcher as Front Controller class.</p>
</div>
</div>
</div>
<div class="panel panel-default green" id="panel12">
<div class="panel-head" data-toggle="collapse" data-target="#collapse12">
<h4 class="panel-title"><a data-toggle="collapse" data-target="#collapse12" href="#collapse12"></a> 12) What is the purpose of action tag in struts.xml?</h4>
</div>
<div id="collapse12" class="panel-collapse collapse fade">
<div class="panel-body">
<p>We define action tags corresponds to every URL we want to access and we define a class with execute() method which will be accessed whenever we will access corresponding URL.</p>
<p>Results determine what gets returned to the browser after an action is executed. The string returned from the action should be the name of a result. Results are configured per-action as above, or as a "global" result, available to every action in a package. Results have optional name and type attributes. The default name value is "success".</p>
</div>
</div>
</div>
<div class="panel panel-default green" id="panel13">
<div class="panel-head" data-toggle="collapse" data-target="#collapse13">
<h4 class="panel-title"><a data-toggle="collapse" data-target="#collapse13" href="#collapse13"></a> 13) What is ValueStack and OGNL?</h4>
</div>
<div id="collapse13" class="panel-collapse collapse fade">
<div class="panel-body">
<p>ValueStack is the storage area where the application data is stored by Struts2 for processing the client requests. The data is stored in ActionContext objects that use ThreadLocal to have values specific to the particular request thread.</p>
<p>Object-Graph Navigation Language (OGNL) is a powerful Expression Language that is used to manipulate data stored on the ValueStack. As you can see in architecture diagram, both interceptors and result pages can access data stored on ValueStack using OGNL.</p>
</div>
</div>
</div>
<div class="panel panel-default green" id="panel14">
<div class="panel-head" data-toggle="collapse" data-target="#collapse14">
<h4 class="panel-title"><a data-toggle="collapse" data-target="#collapse14" href="#collapse14"></a>14) What is the difference between struts1 and struts2?</h4>
</div>
<div id="collapse14" class="panel-collapse collapse fade">
<div class="panel-body">
<!-- taBLE -->
<div class="container">
<div class="row">
<div class="col-md-6">
<table class="table table-hover">
<thead>
<tr>
<th>#</th>
<th> Struts1</th>
<th> Struts2</th>
</tr>
</thead>
<tbody>
<tr>
<td>1.</td>
<td>Action class is not POJO. You need to inherit abstract class.</td>
<td>Action class is POJO. You don't need to inherit any class or implement any interface.</td>
</tr>
<tr>
<td>2.</td>
<td>Front controller is ActionServlet.</td>
<td>Front Controller is StrutsPrepareAndExecuteFilter.</td>
</tr>
<tr>
<td>3.</td>
<td>It uses the concept of RequestProcessor class while processing request.</td>
<td>It uses the concept of Interceptors while processing the request.</td>
</tr>
<tr>
<td>4.</td>
<td>It has only JSP for the view component.</td>
<td>It has JSP, Freemarker, Valocity etc. for the view component.</td>
</tr>
<tr>
<td>5.</td>
<td>Configuration file name can be [anyname].xml and placed inside WEB-INF directory.</td>
<td>Configuration file must be struts.xml and placed inside classes directory.</td>
</tr>
<tr>
<td>6.</td>
<td>Action and Model are separate.</td>
<td>Action and Model are combined within action class.</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<!-- TABLE -->
</div>
</div>
</div>
<div class="panel panel-default green" id="panel15">
<div class="panel-head" data-toggle="collapse" data-target="#collapse15">
<h4 class="panel-title"><a data-toggle="collapse" data-target="#collapse15" href="#collapse15"></a>15) What are the features of Struts?</h4>
</div>
<div id="collapse15" class="panel-collapse collapse fade">
<div class="panel-body">
<ul>
<li>Configuration MVC components</li>
<li>POJO based action</li>
<li>AJAX Support</li>
<li>Various Tag Support</li>
<li>Various Result Types</li>
<li>Integration Support</li>
</ul>
</div>
</div>
</div>
</div>
</div>
<!--/span-->
<!-- <%@ include file="sidebarright.jsp" %> -->
<!--/span-->
</div>
<!--/row-->
</div>
<!-- Sidebar -->
<!-- Body main -->
<!-- Footer -->
<!--footer-->
<!--footer-->
<footer class="footer1">
<div class="container">
<div class="row"><!-- row -->
<div class="col-lg-3 col-md-3"><!-- widgets column left -->
<ul class="list-unstyled clear-margins"><!-- widgets -->
<li class="widget-container widget_nav_menu"><!-- widgets list -->
<h1 class="title-widget">Useful links</h1>
<ul>
<li><a href="topquestions-interview.html"><i class="fa fa-angle-double-right"></i> Top interview Questions</a></li>
<li><a href="topquestions-interview.html"><i class="fa fa-angle-double-right"></i> Freqently Asked Interview Questions</a></li>
<li><a href="#"><i class="fa fa-angle-double-right"></i> Success Stories</a></li>
<li><a href="home.html"><i class="fa fa-angle-double-right"></i> Interview Prepration</a></li>
</ul>
</li>
</ul>
</div><!-- widgets column left end -->
<div class="col-lg-3 col-md-3"><!-- widgets column left -->
<ul class="list-unstyled clear-margins"><!-- widgets -->
<li class="widget-container widget_nav_menu"><!-- widgets list -->
<h1 class="title-widget">Useful links</h1>
<ul>
<li><a href="corejava-interview.html"><i class="fa fa-angle-double-right"></i> Oops Interview Questions</a></li>
<li><a href="topquestions-interview.html"><i class="fa fa-angle-double-right"></i> Basic Questions Frequently Asked in Interview </a></li>
<li><a href="tips-interview.html"><i class="fa fa-angle-double-right"></i> Expert Advices</a></li>
<li><a href="servlet-interview.html"><i class="fa fa-angle-double-right"></i> Technical Interview Questions</a></li>
</ul>
</li>
</ul>
</div><!-- widgets column left end -->
<div class="col-lg-3 col-md-3"><!-- widgets column left -->
<ul class="list-unstyled clear-margins"><!-- widgets -->
<li class="widget-container widget_nav_menu"><!-- widgets list -->
<h1 class="title-widget">Useful links</h1>
<ul>
<li><a href="corejava-interview.html"><i class="fa fa-angle-double-right"></i> Interviewer's Favourite Questions</a></li>
<li><a href="tips-interview.html"><i class="fa fa-angle-double-right"></i> Get Ready For Interviews</a></li>
<li><a href="tips-interview.html"><i class="fa fa-angle-double-right"></i> Interview Funda</a></li>
<li><a href="#"><i class="fa fa-angle-double-right"></i> Interview Series</a></li>
</ul>
</li>
</ul>
</div><!-- widgets column left end -->
<div class="col-lg-3 col-md-3"><!-- widgets column center -->
<form class="well form-horizontal" action="https://docs.google.com/forms/d/1S8mO74t7MewcBtte0nfee7sxLBhGA26s_GQD5EOxIHE/formResponse" method="post" id="contact_form">
<fieldset>
<!-- Form Name -->
<legend>Contact Us Today!</legend>
<!-- Text input-->
<div class="form-group">
<div class="inputGroupContainer">
<div class="input-group">
<span class="input-group-addon"><i class="fa fa-user"></i></span>
<input name="entry.2005620554" placeholder="Name" class="form-control" type="text" required="name">
</div>
</div>
</div>
<div class="form-group">
<div class="inputGroupContainer">
<div class="input-group">
<span class="input-group-addon"><i class="fa fa-envelope"></i></span>
<input name="entry.1045781291" placeholder="E-Mail Address" class="form-control" required="email">
</div>
</div>
</div>
<!-- Text input-->
<div class="form-group">
<div class="inputGroupContainer">
<div class="input-group">
<span class="input-group-addon"><i class="fa fa-phone"></i></span>
<input name="entry.1166974658" placeholder="8986594xxx" class="form-control" type="text" required="mobile">
</div>
</div>
</div>
<div class="form-group">
<div class="inputGroupContainer">
<div class="input-group">
<span class="input-group-addon"><i class="fa fa-pencil"></i></span>
<textarea class="form-control" name="entry.839337160" placeholder="Message"></textarea>
</div>
</div>
</div>
<!-- Success message -->
<div class="alert alert-success" role="alert" id="success_message">Success <i class="fa fa-thumbs-up"></i> Thanks for contacting us, we will get back to you shortly.</div>
<!-- Button -->
<div class="form-group">
<label class="col-md-4 control-label"></label>
<div class="col-md-4">
<button type="submit" class="btn btn-warning" >Send <span class="fa fa-send"></span></button>
</div>
</div>
</fieldset>
</form>
</div>
<!-- Contact -->
</div>
</div>
</div>
</footer>
<!--header-->
<div class="footer-bottom">
<div class="container">
<div class="row">
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-6">
<div class="copyright">
<i class="fa fa-copyright" aria-hidden="true"></i> 2016, Achievers crush, All rights reserved
</div>
</div>
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-6">
<div class="design">
<a href="#"> </a> | <a target="_blank" href="#">Web Design & Development by Santosh Ray</a>
</div>
</div>
</div>
</div>
</div>
<!-- Footer -->
</body>
</html>