Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
runcon
Plantuml Server
Commits
76ad7acd
Commit
76ad7acd
authored
Nov 23, 2013
by
maximesinclair
Browse files
[TASK] Port number 80 removed in URLs
parent
ac9d0e02
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/webapp/index.jsp
View file @
76ad7acd
...
...
@@ -3,6 +3,9 @@
<c:set
var=
"contextroot"
value=
"
${
pageContext
.
request
.
contextPath
}
"
/>
<c:set
var=
"hostpath"
value=
"http://${pageContext.request.serverName}:${pageContext.request.serverPort}${contextroot}"
/>
<c:if
test=
"
${
pageContext
.
request
.
serverPort
==
80
}
"
>
<c:set
var=
"hostpath"
value=
"http://${pageContext.request.serverName}${contextroot}"
/>
</c:if>
<c:if
test=
"
${
!
empty
encoded
}
"
>
<c:set
var=
"imgurl"
value=
"
${
hostpath
}
/img/${encoded}"
/>
<c:set
var=
"svgurl"
value=
"
${
hostpath
}
/svg/${encoded}"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment