Check out http://www.taglib.com
This is the book that I used to learn about taglibs. I think it is pretty
good.
HTH,
Pete
Vikramjit Singh wrote:
> thanks Lou for your help.
> but i could not find any jsp books in which Tag Libraries are given in
> detail.
> if u could suggest them then it
Are you able to get to pages in your app without taglibs?
If so,
Did you set up the tag libraries in the web.xml file?
myTags
/WEB-INF/tlds/myTags.tld
Do you reference the taglib at the top of the page?
<%@ taglib uri="myTags" prefix="mytags" %>
Pete
The Struts project has a tag called "IfParameterEqualsTag" that does this.
Not sure if that helps you though.
Pete
"Procek, Brett" wrote:
> Does anyone know of a simple tag that checks if an request parameter is
> equal to a string?
>
> For example, I cannot find the following kind of tag:
>
>
Subbarayan Ramanathan wrote:
> There are a variety of books available and personal preference plays a
> great part in the books one likes. Regarding the original question of
> assigning the contents of a tag to a java variable, I think there is no
> elegant way of doing it.
I asked this questi
"Web Development with JavaServer Pages" shown at http://www.taglib.com/ is
a pretty good book.
The site also has some links to other taglib sites.
HTH,
Pete
"Procek, Brett" wrote:
> If I'm understanding you correctly, then what you have to use a
> 'cooperating tag' which can create a new v
Thomas,
I think that this might help.
Pete
Original Message
Subject: Re: exposing script variables
Date: Wed, 25 Apr 2001 09:20:02 -0500
From: Peter Alfors <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Organization: HK Systems, Inc
To: [EMAIL PROTECTED]
Refe
,user);
>
> Would this work?
> user
>
> Thanks!
> Brett
>
> -Original Message-
> From: Peter Alfors [mailto:[EMAIL PROTECTED]]
> Sent: Monday, May 14, 2001 8:49 AM
> To: [EMAIL PROTECTED]
> Subject: Re: quick question
>
> you can use the jsp:useBean ta
you can use the jsp:useBean tag.
"Procek, Brett" wrote:
> Does anyone know if it's possible to use taglibs for getting a not
> string object value back
> from a session?
>
> For example, how could I use taglibs to convert the following:
>
> <% User user = (User)session.getValue("user"); %>
>
We have been using struts for about a year now, and it is a wonderful
framework.
I guess that it depends on the type of site you are creating. If you are
producing a static site, then
I would say that it is overkill. However, what struts does give you is the
ability to drive your
user through yo
te
Barbara Johnson wrote:
> Thanks for your help.This is the taglib part of my .xml file.
> BArb
>
>
> http://jakarta.apache.org/taglibs/input-0.90
> /WEB-INF/input.tld
>
>
> -Original Message-
> From: Peter Alfors [mailto:[EMAIL PROTECT
This sounds like a good application for the struts framework.
It is easy to install, and there are over 1000 helpful people currently on the
user-list.
Download the example and take a look.
The Ant software is used for building/compiling jars/wars, etc. You shouldn't
need it to run your app.
Wh
My understanding is that a redirect creates a new request. Whereas, the forward
uses the same request.
So that would be why you were losing data.
HTH,
Pete
Sam Newman wrote:
> It ok, fixed it. I needed to use a RequestDispatcher to forward, rather than
> redirecting the user, e.g.:
>
> Re
It is an admirable goal, but not necessarily an easy one to achieve.
The problem lies (as you pointed out) in the fact that custom tags cannot be
embedded into another one as an attribute.
I think that what you will notice as you move onward is that there are times
when you will want to have a dy
Just a thought. Is the compiler getting messed up with all of the
double quotes?
does this work?
Using single quotes for the href attribute?
HTH,
Pete
[EMAIL PROTECTED] wrote:
> I'm trying to create an online directory for a club I'm
> in. I want to include a mailto link w
Pierre, Morgan:
Thank you VERY much! That is exactly what I needed.
Pete
Morgan Delagrange wrote:
> (Pierre sent a related response as I was typing this, but I think it's
> still helpful.)
>
> Ah, OK, I think I see what you're asking for now. Often when people
> talk about scripting variabl
Oops.. I miss-typed.
Here is what I am currently doing:
<% String organizationId = (String)
organizationsBean.getColumn("ORGANIZATIONID"); %>
The define tag retrieves the specified object from my own session management
utility. The session scope in the define tag is different
from the httpses
how this is done??
my temporary solution (which is not real pretty) is for my DefineTag to place
the object into the request, then
use a jsp:useBean tag to retrieve it from the request.
thanks,
Pete
Morgan Delagrange wrote:
> On Tue, 24 Apr 2001, Peter Alfors wrote:
>
> &g
Hello all,
This is probably a simple question (hopefully) for you all.
I am writing a tag that is similar to jsp:useBean.
This new tag needs to be able to make an object available as a scripting
variable.
example:
<% String organizationId = (String)
organizationsBea
18 matches
Mail list logo