You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@beehive.apache.org by James Black <jb...@ieee.org> on 2005/05/13 16:24:35 UTC
re: how to access sharedflow from scriplet
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I can't get the jstl tags to work. My error is:
No tag "" defined in tag library imported with prefix "c"
I have standard.jar and jstl.jar in my WEB-INF/lib, using JDk1.5, and
Tomcat 5.0.27
I also have in my jsp page:
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
So, I am trying to just use java code within my jsp page, but my data
is stored in the sharedFlow object.
How do I access that from my jsp page?
Thanx.
- --
"Love is mutual self-giving that ends in self-recovery." Fulton Sheen
James Black james@usf.edu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFChLijikQgpVn8xrARAm9aAJ9xTV/908OyBpZpHAIs+Wkh89IFHgCeJTHC
JxdZie8E0Crhr84s95Sys6E=
=FCVs
-----END PGP SIGNATURE-----
Re: how to access sharedflow from scriplet
Posted by James Black <jb...@ieee.org>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Eddie O'Neil wrote:
>
> Hm. Getting the JSTL tags to work would just be a Tomcat
> configuration issue.
>
> Can you try the <c:if> in a page by itself and send that along?
This is the page I used for the following link:
http://dante.acomp.usf.edu:8080/lmsstats/jsptest.jsp
<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
<head>
<title>JSTL Test</title>
</head>
<body>
<c:out value="this is a test output"/>
<hr>
Have to print something anyway
</body>
</html>
The problem appears to be with beehive somehow, or at least my controller.
If you go to http://dante.acomp.usf.edu:8080/lmsstats/ the controller
will forward you to login.jsp, but that will throw an error.
If you go directly to http://dante.acomp.usf.edu:8080/lmsstats/login.jsp
then it works.
The 'Login Screen' line is actually <c:out value="Login Screen"/>
- --
"Love is mutual self-giving that ends in self-recovery." Fulton Sheen
James Black james@usf.edu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFChMIvikQgpVn8xrARAiHEAJ9JFFOcrC2KovCltNFOAeqoUU34pQCdE1Mz
AH07pLW2DRyvfbNTDp0Ei04=
=7oox
-----END PGP SIGNATURE-----
Re: how to access sharedflow from scriplet
Posted by Eddie O'Neil <ek...@bea.com>.
Hm. Getting the JSTL tags to work would just be a Tomcat
configuration issue.
Can you try the <c:if> in a page by itself and send that along?
Thanks!
Eddie
James Black wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I can't get the jstl tags to work. My error is:
> No tag "" defined in tag library imported with prefix "c"
>
> I have standard.jar and jstl.jar in my WEB-INF/lib, using JDk1.5, and
> Tomcat 5.0.27
>
> I also have in my jsp page:
> <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
>
> So, I am trying to just use java code within my jsp page, but my data
> is stored in the sharedFlow object.
>
> How do I access that from my jsp page?
>
> Thanx.
>
> - --
> "Love is mutual self-giving that ends in self-recovery." Fulton Sheen
> James Black james@usf.edu
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (MingW32)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>
> iD8DBQFChLijikQgpVn8xrARAm9aAJ9xTV/908OyBpZpHAIs+Wkh89IFHgCeJTHC
> JxdZie8E0Crhr84s95Sys6E=
> =FCVs
> -----END PGP SIGNATURE-----
>