1 |
4725
|
elena.nico
|
<?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 |
|
|
<struts>
|
6 |
|
|
<package name="myDriver" namespace="/" extends="struts-default">
|
7 |
4758
|
elena.nico
|
<global-results>
|
8 |
5591
|
elena.nico
|
<result name="error">/pages/myDriver/error.jsp
|
9 |
|
|
</result>
|
10 |
4758
|
elena.nico
|
</global-results>
|
11 |
|
|
|
12 |
5591
|
elena.nico
|
<action name="Account" class="gr.uoa.di.driver.web.myDriver.Account">
|
13 |
8100
|
katerina.i
|
<result name="input">/pages/myDriver/register.jsp</result>
|
14 |
|
|
<result type="redirect">MyDashboard.action</result>
|
15 |
4725
|
elena.nico
|
</action>
|
16 |
5591
|
elena.nico
|
<action name="Login" method="login" class="springManagedAccountAction">
|
17 |
|
|
<result name="error">/pages/myDriver/register.jsp
|
18 |
|
|
</result>
|
19 |
7942
|
katerina.i
|
<result type="redirect">${url}?${params}</result>
|
20 |
4758
|
elena.nico
|
</action>
|
21 |
4725
|
elena.nico
|
<action name="Logout" method="logout"
|
22 |
|
|
class="gr.uoa.di.driver.web.myDriver.Account">
|
23 |
5591
|
elena.nico
|
<result name="error">/pages/myDriver/register.jsp
|
24 |
|
|
</result>
|
25 |
4725
|
elena.nico
|
<result type="redirect">Welcome.action</result>
|
26 |
|
|
</action>
|
27 |
5591
|
elena.nico
|
<action name="Register" method="register" class="springManagedAccountAction">
|
28 |
|
|
<result name="error">/pages/myDriver/register.jsp
|
29 |
|
|
</result>
|
30 |
|
|
<result>/pages/myDriver/register.jsp
|
31 |
|
|
</result>
|
32 |
4725
|
elena.nico
|
</action>
|
33 |
5591
|
elena.nico
|
<action name="Activate" method="activate" class="springManagedAccountAction">
|
34 |
|
|
<result name="error">/pages/myDriver/register.jsp
|
35 |
|
|
</result>
|
36 |
4725
|
elena.nico
|
<result>/pages/search/welcome.jsp</result>
|
37 |
|
|
</action>
|
38 |
7513
|
katerina.i
|
<action name="showRepository" method="showRepository"
|
39 |
4758
|
elena.nico
|
class="springManagedRepositoriesAction">
|
40 |
5591
|
elena.nico
|
<result>/pages/myDriver/repository.jsp
|
41 |
|
|
</result>
|
42 |
4725
|
elena.nico
|
</action>
|
43 |
5591
|
elena.nico
|
<action name="SearchWithinTheRepository" method="searchWithinTheRepository"
|
44 |
4758
|
elena.nico
|
class="springManagedRepositoriesAction">
|
45 |
7513
|
katerina.i
|
<result type="redirectAction">
|
46 |
|
|
<param name="actionName">showResults</param>
|
47 |
|
|
<param name="parse">true</param>
|
48 |
|
|
<param name="query">${query}</param>
|
49 |
|
|
<param name="page">${page}</param>
|
50 |
|
|
<param name="size">${size}</param>
|
51 |
|
|
<param name="referer">showResults</param>
|
52 |
|
|
</result>
|
53 |
4758
|
elena.nico
|
</action>
|
54 |
4725
|
elena.nico
|
|
55 |
5591
|
elena.nico
|
<action name="EditUserPassword" method="editPassword"
|
56 |
|
|
class="gr.uoa.di.driver.web.myDriver.ResetPassword">
|
57 |
|
|
<result>/pages/myDriver/editPassword.jsp
|
58 |
|
|
</result>
|
59 |
4725
|
elena.nico
|
</action>
|
60 |
4758
|
elena.nico
|
|
61 |
5591
|
elena.nico
|
<action name="ResetPassword" class="gr.uoa.di.driver.web.myDriver.ResetPassword">
|
62 |
|
|
<result>/pages/myDriver/editPassword.jsp
|
63 |
|
|
</result>
|
64 |
4810
|
elena.nico
|
<result name="error">
|
65 |
|
|
/pages/myDriver/editPassword.jsp
|
66 |
4725
|
elena.nico
|
</result>
|
67 |
|
|
</action>
|
68 |
|
|
|
69 |
|
|
<action name="ResetUserPassword" method="resetPassword"
|
70 |
|
|
class="gr.uoa.di.driver.web.myDriver.ResetPassword">
|
71 |
4810
|
elena.nico
|
<result name="error">
|
72 |
|
|
/pages/myDriver/resetPassword.jsp
|
73 |
4725
|
elena.nico
|
</result>
|
74 |
5591
|
elena.nico
|
<result>/pages/myDriver/resetPassword.jsp
|
75 |
|
|
</result>
|
76 |
4725
|
elena.nico
|
</action>
|
77 |
4758
|
elena.nico
|
|
78 |
4725
|
elena.nico
|
<action name="SaveUserPassword" method="savePassword"
|
79 |
|
|
class="gr.uoa.di.driver.web.myDriver.ResetPassword">
|
80 |
4810
|
elena.nico
|
<result name="error">
|
81 |
|
|
/pages/myDriver/resetPassword.jsp
|
82 |
4725
|
elena.nico
|
</result>
|
83 |
5591
|
elena.nico
|
<result>/pages/myDriver/resetPasswordStatus.jsp
|
84 |
|
|
</result>
|
85 |
4725
|
elena.nico
|
</action>
|
86 |
|
|
|
87 |
5591
|
elena.nico
|
<action name="Help" class="gr.uoa.di.driver.web.myDriver.Help">
|
88 |
4725
|
elena.nico
|
<result>${helpPage}</result>
|
89 |
|
|
</action>
|
90 |
4810
|
elena.nico
|
|
91 |
6018
|
antonis.le
|
<action name="Refresh"
|
92 |
|
|
class="gr.uoa.di.driver.web.myDriver.Refresh">
|
93 |
|
|
<result>/pages/myDriver/refresh2.jsp</result>
|
94 |
|
|
</action>
|
95 |
|
|
|
96 |
6140
|
elena.nico
|
<action name="AllDRIVERCollections"
|
97 |
|
|
class="gr.uoa.di.driver.web.myDriver.BrowseCollections">
|
98 |
6773
|
elena.nico
|
<result>/pages/myDriver/allCollections.jsp</result>
|
99 |
6140
|
elena.nico
|
</action>
|
100 |
4758
|
elena.nico
|
|
101 |
4725
|
elena.nico
|
</package>
|
102 |
4758
|
elena.nico
|
|
103 |
|
|
|
104 |
5591
|
elena.nico
|
<package name="myDriverSecure" namespace="/" extends="struts-default">
|
105 |
4758
|
elena.nico
|
|
106 |
4725
|
elena.nico
|
<interceptors>
|
107 |
4758
|
elena.nico
|
|
108 |
|
|
<interceptor name="authenticationInterceptor"
|
109 |
|
|
class="gr.uoa.di.driver.web.interceptors.AuthenticationInterceptor" />
|
110 |
|
|
|
111 |
|
|
<interceptor-stack name="secureStack">
|
112 |
|
|
<interceptor-ref name="authenticationInterceptor" />
|
113 |
|
|
<interceptor-ref name="defaultStack" />
|
114 |
|
|
</interceptor-stack>
|
115 |
|
|
|
116 |
4725
|
elena.nico
|
</interceptors>
|
117 |
4758
|
elena.nico
|
|
118 |
|
|
<default-interceptor-ref name="secureStack" />
|
119 |
4810
|
elena.nico
|
|
120 |
4725
|
elena.nico
|
<global-results>
|
121 |
5591
|
elena.nico
|
<result name="error">/pages/myDriver/error.jsp
|
122 |
|
|
</result>
|
123 |
7970
|
katerina.i
|
<result name="login" type="chain">
|
124 |
|
|
<param name="actionName">Account</param>
|
125 |
5591
|
elena.nico
|
</result>
|
126 |
7970
|
katerina.i
|
|
127 |
4725
|
elena.nico
|
</global-results>
|
128 |
5591
|
elena.nico
|
|
129 |
8571
|
katerina.i
|
<action name="addToEPublication"
|
130 |
8703
|
katerina.i
|
class="springManagedEPCreateAction" method="addToEPublication">
|
131 |
8571
|
katerina.i
|
<result>/pages/ep/createEPublication.jsp</result>
|
132 |
8703
|
katerina.i
|
<result name="input" type="redirectAction">MyDropbox.action</result>
|
133 |
8571
|
katerina.i
|
</action>
|
134 |
|
|
|
135 |
8694
|
katerina.i
|
<action name="saveEPublication"
|
136 |
8703
|
katerina.i
|
class="springManagedEPCreateAction" method="saveEPublication">
|
137 |
8694
|
katerina.i
|
<result type="redirectAction">
|
138 |
|
|
<param name="actionName">showEPublication</param>
|
139 |
8703
|
katerina.i
|
<param name="epId">${id}</param>
|
140 |
8694
|
katerina.i
|
</result>
|
141 |
8703
|
katerina.i
|
<result name="input" type="redirectAction">MyDropbox.action</result>
|
142 |
8694
|
katerina.i
|
</action>
|
143 |
|
|
|
144 |
|
|
|
145 |
4972
|
elena.nico
|
<action name="MyDashboard" class="gr.uoa.di.driver.web.myDriver.MyDashboard">
|
146 |
5591
|
elena.nico
|
<result>/pages/myDriver/dashboard.jsp
|
147 |
|
|
</result>
|
148 |
4972
|
elena.nico
|
</action>
|
149 |
4758
|
elena.nico
|
|
150 |
|
|
<action name="Profile" class="springManagedProfileAction">
|
151 |
5591
|
elena.nico
|
<result>/pages/myDriver/myProfile.jsp
|
152 |
|
|
</result>
|
153 |
4758
|
elena.nico
|
</action>
|
154 |
|
|
<action name="ProfileUpdate" method="updateProfile"
|
155 |
|
|
class="springManagedProfileAction">
|
156 |
|
|
<result>/pages/search/welcome.jsp</result>
|
157 |
|
|
</action>
|
158 |
6018
|
antonis.le
|
<action name="ImageUpload" class="springManagedProfileAction"
|
159 |
|
|
method="uploadUserPhoto">
|
160 |
|
|
<result type="redirectAction">Profile</result>
|
161 |
|
|
</action>
|
162 |
4758
|
elena.nico
|
|
163 |
|
|
|
164 |
5591
|
elena.nico
|
<action name="MyFilter" class="gr.uoa.di.driver.web.myDriver.MyFilter">
|
165 |
|
|
<result>/pages/myDriver/myFilter.jsp
|
166 |
|
|
</result>
|
167 |
4725
|
elena.nico
|
</action>
|
168 |
5591
|
elena.nico
|
<action name="RemoveFilter" method="remove"
|
169 |
4810
|
elena.nico
|
class="gr.uoa.di.driver.web.myDriver.MyFilter">
|
170 |
6018
|
antonis.le
|
<result type="redirectAction">MyFilter</result>
|
171 |
4810
|
elena.nico
|
</action>
|
172 |
6018
|
antonis.le
|
<action name="SaveAsAFilter" method="saveAsAFilter"
|
173 |
5113
|
elena.nico
|
class="gr.uoa.di.driver.web.myDriver.MyFilter">
|
174 |
6018
|
antonis.le
|
<result type="redirectAction">MyFilter</result>
|
175 |
5113
|
elena.nico
|
</action>
|
176 |
6018
|
antonis.le
|
<action name="FilterAlert" method="changeAlert"
|
177 |
|
|
class="gr.uoa.di.driver.web.myDriver.MyFilter">
|
178 |
|
|
<result type="redirectAction">MyFilter</result>
|
179 |
|
|
</action>
|
180 |
5591
|
elena.nico
|
|
181 |
6018
|
antonis.le
|
<action name="MyQueries"
|
182 |
|
|
class="gr.uoa.di.driver.web.myDriver.MyQueries">
|
183 |
|
|
<result>/pages/myDriver/myQueries.jsp</result>
|
184 |
4810
|
elena.nico
|
</action>
|
185 |
6018
|
antonis.le
|
<action name="RemoveQuery"
|
186 |
|
|
class="gr.uoa.di.driver.web.myDriver.MyQueries"
|
187 |
5591
|
elena.nico
|
method="removeQuery">
|
188 |
6018
|
antonis.le
|
<result type="redirectAction">MyQueries</result>
|
189 |
5591
|
elena.nico
|
</action>
|
190 |
6018
|
antonis.le
|
<action name="SaveAsAQuery" method="saveAsAQuery"
|
191 |
|
|
class="gr.uoa.di.driver.web.myDriver.MyQueries">
|
192 |
|
|
<result type="redirectAction">MyQueries</result>
|
193 |
|
|
</action>
|
194 |
|
|
<action name="QueryAlert"
|
195 |
|
|
class="gr.uoa.di.driver.web.myDriver.MyQueries"
|
196 |
|
|
method="changeAlertForQuery">
|
197 |
|
|
<result type="redirectAction">MyQueries</result>
|
198 |
|
|
</action>
|
199 |
4758
|
elena.nico
|
|
200 |
6018
|
antonis.le
|
<!-- Add My Alerts -->
|
201 |
5591
|
elena.nico
|
<action name="MyAlerts" class="gr.uoa.di.driver.web.myDriver.MyAlerts">
|
202 |
|
|
<result>/pages/myDriver/myAlerts.jsp
|
203 |
|
|
</result>
|
204 |
5009
|
elena.nico
|
</action>
|
205 |
6018
|
antonis.le
|
|
206 |
|
|
<!-- Collections -->
|
207 |
|
|
<action name="BrowseCollections"
|
208 |
|
|
class="gr.uoa.di.driver.web.myDriver.BrowseCollections">
|
209 |
|
|
<result>/pages/myDriver/myCollections.jsp</result>
|
210 |
5009
|
elena.nico
|
</action>
|
211 |
6018
|
antonis.le
|
|
212 |
6140
|
elena.nico
|
|
213 |
6018
|
antonis.le
|
<action name="ManageCollections"
|
214 |
|
|
class="gr.uoa.di.driver.web.myDriver.ManageCollections">
|
215 |
|
|
<result>/pages/myDriver/editCollections.jsp</result>
|
216 |
5113
|
elena.nico
|
</action>
|
217 |
6018
|
antonis.le
|
|
218 |
|
|
<action name="SaveCollection"
|
219 |
|
|
class="gr.uoa.di.driver.web.myDriver.CreateCollection" method="saveCollection">
|
220 |
|
|
<result>/pages/myDriver/collection.jsp</result>
|
221 |
|
|
</action>
|
222 |
|
|
|
223 |
|
|
<action name="CreateCollection"
|
224 |
|
|
class="gr.uoa.di.driver.web.myDriver.CreateCollection">
|
225 |
|
|
<result>/pages/myDriver/collection.jsp</result>
|
226 |
|
|
</action>
|
227 |
|
|
|
228 |
|
|
|
229 |
|
|
<!-- Drop Box -->
|
230 |
|
|
<action name="MyDropbox" class="springManagedDropBoxAction">
|
231 |
|
|
<result>/pages/myDriver/dropbox.jsp</result>
|
232 |
|
|
</action>
|
233 |
|
|
<action name="AddDocumentsToCollection"
|
234 |
|
|
class="springManagedDropBoxAction" method="addToCollection">
|
235 |
5130
|
elena.nico
|
<result>/pages/search/welcome.jsp</result>
|
236 |
5009
|
elena.nico
|
</action>
|
237 |
6018
|
antonis.le
|
<action name="AddDocumentsToCommunity"
|
238 |
|
|
class="springManagedDropBoxAction" method="addToCommunity">
|
239 |
|
|
<result>/pages/search/welcome.jsp</result>
|
240 |
|
|
</action>
|
241 |
|
|
<action name="DeleteDocuments"
|
242 |
|
|
class="springManagedDropBoxAction" method="delete">
|
243 |
|
|
<result type="redirectAction">MyDropbox</result>
|
244 |
|
|
</action>
|
245 |
4725
|
elena.nico
|
</package>
|
246 |
5591
|
elena.nico
|
|
247 |
6830
|
antonis.le
|
<package name="jsonSmd" namespace="/" extends="json-default">
|
248 |
6018
|
antonis.le
|
<interceptors>
|
249 |
|
|
<interceptor-stack name="jsonSmdStack">
|
250 |
|
|
<interceptor-ref name="defaultStack"></interceptor-ref>
|
251 |
|
|
<interceptor-ref name="json">
|
252 |
|
|
<param name="enableSMD">true</param>
|
253 |
|
|
</interceptor-ref>
|
254 |
|
|
</interceptor-stack>
|
255 |
|
|
</interceptors>
|
256 |
|
|
<default-interceptor-ref name="jsonSmdStack" />
|
257 |
|
|
</package>
|
258 |
|
|
|
259 |
|
|
<package name="RPC" namespace="/" extends="jsonSmd">
|
260 |
|
|
<action name="SMDAction"
|
261 |
|
|
class="gr.uoa.di.driver.web.myDriver.SMDAction" method="smd">
|
262 |
|
|
<result type="json">
|
263 |
5591
|
elena.nico
|
<param name="enableSMD">true</param>
|
264 |
6018
|
antonis.le
|
</result>
|
265 |
|
|
</action>
|
266 |
|
|
<action name="AddToDropbox"
|
267 |
|
|
class="springManagedAddToDropboxAction" method="smd">
|
268 |
5591
|
elena.nico
|
<result type="json">
|
269 |
|
|
<param name="enableSMD">true</param>
|
270 |
|
|
</result>
|
271 |
|
|
</action>
|
272 |
6018
|
antonis.le
|
<action name="CollectionInfo"
|
273 |
|
|
class="springManagedCollectionAction" method="smd">
|
274 |
|
|
<result type="json">
|
275 |
|
|
<param name="enableSMD">true</param>
|
276 |
|
|
</result>
|
277 |
|
|
</action>
|
278 |
8405
|
antonis.le
|
|
279 |
|
|
<action name="EPublication"
|
280 |
|
|
class="springManagedEPublication" method="smd">
|
281 |
|
|
<result type="json">
|
282 |
|
|
<param name="enableSMD">true</param>
|
283 |
|
|
</result>
|
284 |
|
|
</action>
|
285 |
|
|
|
286 |
5591
|
elena.nico
|
</package>
|
287 |
6018
|
antonis.le
|
</struts>
|