Yes Peter, that's what I have exactly done at first attempt and worked
perfectly, the problem is that I don't want any featureA destination url
so that's why I asked about the root behavior.
If is so difficult I would make a tomcat redirection .
Anyway I can't understand which is the main servlet
Pablo,
There is no main servlet for all of the DSpace JSPUI. The individual
servlet mappings are all defined in that web.xml, and mapped to various
url-patterns. So, as Peter notes, you'd need to add a new
servlet-mapping to this section:
Hi Pablo,
DSpaceWebappServletFilter is part of dspace-services, which is a different
layer than JSPUI. So, if you wanted to create a Java class, or servlet to
match a custom url, then follow Tim's advice, customize web.xml in
up
--
View this message in context:
http://dspace.2283337.n4.nabble.com/main-servlet-for-url-pattern-dspaceurl-com-tp4676559p4677050.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.
--
Dive into
up!
--
View this message in context:
http://dspace.2283337.n4.nabble.com/main-servlet-for-url-pattern-dspaceurl-com-tp4676559p4676945.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.
--
Dive into
Hi Pablo,
For the JSPUI, you'd want to look in the JSPUI's web.xml. It is what
matches various URL paths and defines which Java Servlet will respond to
the request:
https://github.com/DSpace/DSpace/blob/master/dspace-jspui/src/main/webapp/WEB-INF/web.xml
- Tim
On 2/27/2015 4:11 AM, Pablo
Hi Pablo,
Sorry for the delayed response.
Assuming you are looking to use the XMLUI, I think what you are looking
for is the XMLUI sitemap.xmap (which is an Apache Cocoon config):
https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/src/main/webapp/sitemap.xmap
This sitemap config file
hello?
--
View this message in context:
http://dspace.2283337.n4.nabble.com/main-servlet-for-url-pattern-dspaceurl-com-tp4676559p4676646.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.
--
Download
Hi,
I want to modify the behavior when someone request an url like
dspaceurl.com/1234-567-890-1234
What I understand is that I need to look if in web.xml there is a servlet
that captures that url pattern, as java servlets doesn't allow regexp in url
patterns, I think that the servlet that would
9 matches
Mail list logo