1
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2
|
<!DOCTYPE struts PUBLIC
|
3
|
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
|
4
|
"http://struts.apache.org/dtds/struts-2.0.dtd">
|
5
|
|
6
|
<struts>
|
7
|
<package name="search" namespace="/" extends="struts-default">
|
8
|
|
9
|
<interceptors>
|
10
|
|
11
|
<interceptor name="criteriaInterceptor" class="gr.uoa.di.driver.web.interceptors.CriteriaInterceptor" />
|
12
|
<interceptor name="resultsInterceptor" class="gr.uoa.di.driver.web.interceptors.ResultsInterceptor" />
|
13
|
<interceptor name="refineDataInterceptor" class="gr.uoa.di.driver.web.interceptors.RefineDataInterceptor" />
|
14
|
<interceptor name="similarityDocumentsInterceptor" class="gr.uoa.di.driver.web.interceptors.SimilarityDocumentsInterceptor" />
|
15
|
<interceptor name="relationDocumentsInterceptor" class="gr.uoa.di.driver.web.interceptors.RelationDocumentsInterceptor" />
|
16
|
<interceptor name="browseDataInterceptor" class="gr.uoa.di.driver.web.interceptors.BrowseDataInterceptor" />
|
17
|
<interceptor name="prepareBrowseDataInterceptor" class="gr.uoa.di.driver.web.interceptors.PrepareBrowseData" />
|
18
|
<interceptor name="history" class="gr.uoa.di.driver.web.interceptors.HistoryInterceptor" />
|
19
|
|
20
|
<interceptor-stack name="searchStack">
|
21
|
<interceptor-ref name="i18n"/>
|
22
|
<interceptor-ref name="criteriaInterceptor" />
|
23
|
<interceptor-ref name="resultsInterceptor" />
|
24
|
<interceptor-ref name="defaultStack" />
|
25
|
</interceptor-stack>
|
26
|
|
27
|
<interceptor-stack name="refineStack">
|
28
|
<interceptor-ref name="i18n"/>
|
29
|
<interceptor-ref name="criteriaInterceptor" />
|
30
|
<interceptor-ref name="refineDataInterceptor" />
|
31
|
<interceptor-ref name="prepareBrowseDataInterceptor"/>
|
32
|
<interceptor-ref name="resultsInterceptor" />
|
33
|
<interceptor-ref name="defaultStack" />
|
34
|
</interceptor-stack>
|
35
|
|
36
|
<interceptor-stack name="criteriaStack">
|
37
|
<interceptor-ref name="i18n"/>
|
38
|
<interceptor-ref name="criteriaInterceptor" />
|
39
|
<interceptor-ref name="history" />
|
40
|
<interceptor-ref name="defaultStack" />
|
41
|
</interceptor-stack>
|
42
|
|
43
|
<interceptor-stack name="similarityStack">
|
44
|
<interceptor-ref name="similarityDocumentsInterceptor" />
|
45
|
<interceptor-ref name="defaultStack" />
|
46
|
</interceptor-stack>
|
47
|
|
48
|
<interceptor-stack name="relationStack">
|
49
|
<interceptor-ref name="i18n"/>
|
50
|
<interceptor-ref name="relationDocumentsInterceptor" />
|
51
|
<interceptor-ref name="defaultStack" />
|
52
|
</interceptor-stack>
|
53
|
|
54
|
<interceptor-stack name="browseStack">
|
55
|
<interceptor-ref name="i18n"/>
|
56
|
<interceptor-ref name="browseDataInterceptor"/>
|
57
|
<interceptor-ref name="prepareBrowseDataInterceptor"/>
|
58
|
<interceptor-ref name="defaultStack" />
|
59
|
</interceptor-stack>
|
60
|
|
61
|
</interceptors>
|
62
|
|
63
|
<default-interceptor-ref name="defaultStack" />
|
64
|
|
65
|
<global-results>
|
66
|
<result name="error">/pages/search/searchError.jsp
|
67
|
</result>
|
68
|
</global-results>
|
69
|
|
70
|
<action name="SearchFormPage" class="gr.uoa.di.driver.web.SearchFormPage">
|
71
|
<interceptor-ref name="criteriaStack" />
|
72
|
<result>/pages/search/searchForm.jsp</result>
|
73
|
</action>
|
74
|
|
75
|
<action name="DateFormPage" class="gr.uoa.di.driver.web.DateFormPage">
|
76
|
<result>/pages/search/dateForm.jsp</result>
|
77
|
</action>
|
78
|
|
79
|
<action name="CheckBoxFormPage" class="gr.uoa.di.driver.web.CheckBoxFormPage">
|
80
|
<result>/pages/search/checkBoxForm.jsp</result>
|
81
|
</action>
|
82
|
|
83
|
<action name="readFieldValues" class="gr.uoa.di.driver.web.CheckBoxFormPage" method="readFieldValues">
|
84
|
<result>/pages/search/checkBoxForm.jsp</result>
|
85
|
</action>
|
86
|
|
87
|
<action name="SearchResultsPage" class="gr.uoa.di.driver.web.SearchResultsPage">
|
88
|
<result>/pages/search/results/html/searchResults.jsp</result>
|
89
|
</action>
|
90
|
|
91
|
<action name="RefineFormPage" class="gr.uoa.di.driver.web.SearchFormPage">
|
92
|
<result>/pages/search/refineForm.jsp</result>
|
93
|
</action>
|
94
|
|
95
|
<action name="ShowDocument" class="gr.uoa.di.driver.web.DocumentDetailsPage">
|
96
|
<result>/pages/search/documentDetails.jsp</result>
|
97
|
<result name="xml">/pages/search/results/xml/documentDetails.jsp</result>
|
98
|
<result name="error">/pages/search/publisherError.jsp</result>
|
99
|
<result name="xmlError">/pages/search/results/xml/error.jsp</result>
|
100
|
</action>
|
101
|
|
102
|
<action name="Welcome" class="springWelcomePageAction">
|
103
|
<result>/pages/search/welcome.jsp</result>
|
104
|
</action>
|
105
|
|
106
|
<action name="browseData" class="gr.uoa.di.driver.web.BrowseDataPage">
|
107
|
<interceptor-ref name="browseStack"/>
|
108
|
<result>/pages/search/browseData.jsp</result>
|
109
|
<result name="error">/pages/search/searchError.jsp</result>
|
110
|
</action>
|
111
|
|
112
|
<action name="showSimilar" >
|
113
|
<interceptor-ref name="similarityStack"/>
|
114
|
<result>/pages/search/similarity.jsp</result>
|
115
|
<result name="publisherError">/pages/search/publisherError.jsp</result>
|
116
|
<result name="similarityError">/pages/search/similarityError.jsp</result>
|
117
|
</action>
|
118
|
|
119
|
<action name="showRelated" >
|
120
|
<interceptor-ref name="relationStack"/>
|
121
|
<result>/pages/search/relation.jsp</result>
|
122
|
<result name="publisherError">/pages/search/publisherError.jsp</result>
|
123
|
<result name="similarityError">/pages/search/relationError.jsp</result>
|
124
|
</action>
|
125
|
|
126
|
<action name="RelationResultsPage" class="gr.uoa.di.driver.web.RelationResultsPage">
|
127
|
<result>/pages/search/relationResults.jsp</result>
|
128
|
<result name="publisherError">/pages/search/publisherError.jsp</result>
|
129
|
</action>
|
130
|
|
131
|
<action name="SimilarityResultsPage" class="gr.uoa.di.driver.web.SimilarityResultsPage">
|
132
|
<result>/pages/search/similarityResults.jsp</result>
|
133
|
<result name="publisherError">/pages/search/publisherError.jsp</result>
|
134
|
</action>
|
135
|
|
136
|
<action name="DocumentListPage" class="gr.uoa.di.driver.web.DocumentListPage">
|
137
|
<result>/pages/search/documentList.jsp</result>
|
138
|
</action>
|
139
|
|
140
|
<action name="xmlCriteria" class="springManagedXmlSearchFormAction" method="xmlCriteria">
|
141
|
<interceptor-ref name="criteriaStack"/>
|
142
|
<result>/pages/search/form/xml/criteriaForm.jsp</result>
|
143
|
</action>
|
144
|
|
145
|
</package>
|
146
|
|
147
|
</struts>
|