'/Action.do', which is what I needbut I
need it in the JSP.
Thanks,
Otis
On Wed, 03 Mar 2004, Hassan Schroeder
([EMAIL PROTECTED]) wrote:
otisg wrote:
Does anyone know how to get '/Action.do' or even
'/context/Action.do' from a request such as
http://www.example.com/context/Action.do
Yes, the filter approach I just added. I was hoping I could do
it just with JSTL. I guess not. :(
Thanks for your help!
Otis
On Thu, 04 Mar 2004, Hassan Schroeder
([EMAIL PROTECTED]) wrote:
otisg wrote:
However, c:out value=${pageContext.request.servletPath}/
gives me
to create the page, and not real request elements,
like '/Action.do'.
Thanks,
Otis
Get your own 800 number
Voicemail, fax, email, and a lot more
http://www.ureach.com/reg/tag
On Sat, 28 Feb 2004, otisg ([EMAIL PROTECTED]) wrote:
Hello,
I
Hello,
I am trying to use JSTL to get the part of the request URI that
is after the contextPath, and before the Query String.
For example:
If a request is http://./context/Action.do?x=y
I would like to get a hold of 'Action.do' part of the String.
Is there a way to get to this using JSTL?
I
Hello,
If I use java.util.Date with the following piece os JSTL, it
works nicely. However, I need to format an instance of
(Gregorian)Calendar. I used Google to try to find the answer,
but found nothing.
fmt:formatDate
value=${myDate}
var=mmdd
type=date
Muuuchos gracias!
I didn't see that DategetTime() method in Calendar.
Thanks,
Otis
On Tue, 3 Feb 2004, Brian Buckley
([EMAIL PROTECTED]) wrote:
fmt:formatDatevalue=${myDate.time}
var=mmdd
type=date
pattern=-MM-dd/
Note the .time.
-Brian
Hello,
If
Hello,
I am trying to do something like this in a JSP:
a href=
c:url value=Foo.do
c:param name=_doneURI value=/MYAPP/Action.do/
/c:url/a
That /MYAPP part is hard-coded, and I would like ot replace it
with a piece of JSTL that would always put the name of the
current web application context
PROTECTED]) wrote:
pageContext.request.contextPath
Quoting otisg [EMAIL PROTECTED]:
Hello,
I am trying to do something like this in a JSP:
a href=
c:url value=Foo.do
c:param name=_doneURI value=/MYAPP/Action.do/
/c:url/a
That /MYAPP part is hard-coded, and I would like ot
Hello,
Here is the problem (using [] to avoid problems with email
clients not handling HTML well).
Summary:
c:forEach loop, inside it c:import, but the c:import-ed JSP does
not see the var from the c:forEach loop.
[c:forEach var=foo items=${bars}]
[c:import url=some/page.jsp/]
[/c:forEach]
-Original Message-
From: otisg [mailto:[EMAIL PROTECTED]
Here is the problem (using [] to avoid problems with email
clients not handling HTML well).
Summary:
c:forEach loop, inside it c:import, but the c:import-ed JSP
does
not see the var from the c:forEach loop.
[c:forEach var
Hello,
Aaaalmost there :)
On Tue, 09 Dec 2003, Hans Bergsten
([EMAIL PROTECTED]) wrote:
Ben Anderson wrote:
How bout this:
c:forEach var=foo items=${bars}
c:import url=some/page.jsp
c:param name=foop value=${foo}/
/c:import
/c:forEach
some/page.jsp
On Tue, 09 Dec 2003, K.C. Baltz ([EMAIL PROTECTED])
wrote:
Could it be related to your map being keyed by Integers
instead of
Strings? I know that JSTL/EL does a lot of magical
conversions, but I'm
not sure how far they extend.
K.C.
otisg wrote:
Hello,
Aaaalmost
Hello,
I am trying to find out if I can use any of the Jakarta taglibs
to do some string formatting. In particular, I am trying to
trim strings that exceed a certain length, and append something
like ellipses to it.
e.g.
Wolfgang Amadeus Mozard - Wolfgang Amadeus M...
I tried looking at the
PROTECTED]) wrote:
Hi
You should use the String tag library for that:
http://jakarta.apache.org/taglibs/doc/string-doc/string-1.0.1/index.html
Best regards,
Eric
-Original Message-
From: otisg [mailto:[EMAIL PROTECTED]
Sent: Mittwoch, 26. November 2003 15:58
To: [EMAIL
14 matches
Mail list logo