changed around to match the field order in the database?
--
Steven F. Bell
Software Engineer
Fry Communications, Inc.
This email message and any files transmitted with it contain information
which is confidential and intended only for the addressee(s). If you are
not the intended recipient(s
When using a tag library in an application, I am receiving a
java.lang.ClassCastException as listed in the Subject line, above.
I am using WSAD 4.0 with the WSAD 4.0 j2ee.jar file. The xerces jar
file that we are using is version 1.4.4. I have re-imported
the application's source code, property
So you do it "by hand". I was hoping that the input taglib would handle
this for me. The Struts taglib does. It knows to compare the values and if the
values equal, it marks it as 'selected'.
Anyhow, I wrote my own mod for the taglib that seems to work..
Thanks for
ot;, aMap);
}
Could someone please write out an example of what the select tag would look
like so that the selected item is the item that is equal to the "foo"
property?
Thanks
J
--
Justin F. Knotzke
[EMAIL PROTECTED]
http://www.shampoo.ca
---
i use struts framework in my project,and use the jstl
in the jsp page.now i want to write a page which will
auto forward to a struts action class,but whatever i
use jstl or jsp ,it can't find the url either.
in jstl i use:
and in jsp i use:
if i change the url to "xxx.jsp" or a simple hello
world
--- Helios Alonso <[EMAIL PROTECTED]> 的正文:
> In the first case, the code must be in "myMethod",
> in the second the code
> must be in the constructor (or in a static block
> inside the class ;-) but
> constructor would be nicer)
>
> At 15:32 09/08/2004 +0800, you wrote:
> >if i use ${myUseBean.
ethod of your bean
> >>>MyUseBean.java (for example public void
> getMyMethod() {})
> >>>Then, simply put in your JSP :
> ${myUseBean.myMethod}
> >>>
> >>>On Fri, 6 Aug 2004 14:30:10 +0800 (CST)
> >>>?fb8?fdf
> ?ff
in fact i want to execute some java code automaticly
when i open the jsp page.but i don't want to write the
code in the jsp and i wrap it in a class,can i use
jstl to call this class in the jsp page and execute
the code automaticly?
_
Do You
ld be done
> something like ...
>
> ...
>
> If this doesn't make sense to you -- read the docs
> ;)
>
> ?ffb8?ffdf
> ?ffb5?ffc f?= wrote:
>
> > --- Bill Siggelkow <[EMAIL PROTECTED]>
> 的正文:
> >
> >&
you
> will continue to use the Struts html tags for form
> creation.
>
> ?ffb8?ffdf
> ?ffb5?ffc f?= wrote:
> > i am developping a project based on struts,and i
> also
> > want to use jstl1.1 in the jsp page.in my action
> >
i am developping a project based on struts,and i also
want to use jstl1.1 in the jsp page.in my action
class,i have return a Iteratorobject like this:
Iterator iter = service.getLogs(querySentence, page);
request.setAttribute("logs", iter);
but i don't know how to get it in jstl,while in struts
u c
ve to provide a javax.servlet.jsp.el.VariableResolver and
I think you should write it carefully to avoid generating a security
hole as your EL comes from the request.
Marc.
f. wrote:
Hi,
The idea is an hyperlink on HTML Page calling a Struts Action
and with an URI ending with like
myActi
tly a
org.apache.commons.el.ExpressionEvaluatorImpl? No PageContext is needed.
You just have to provide a javax.servlet.jsp.el.VariableResolver and I
think you should write it carefully to avoid generating a security
hole as your EL comes from the request.
Marc.
f. wrote:
Hi,
The idea is an hyperlink on HTML Page calling a Struts A
ink
the el-taglibs are in the struts 1.1 distribution.
Grtz,
Martin
-Oorspronkelijk bericht-----
Van: f. [mailto:[EMAIL PROTECTED]
Verzonden: woensdag 17 maart 2004 10:00
Aan: [EMAIL PROTECTED]
Onderwerp: Using ExpressionEvaluatorManager in a Struts Action execute()
Hi,
The idea is an hyperlink on
Hi,
The idea is an hyperlink on HTML Page calling a Struts Action
and with an URI ending with like
myAction.do?elexpression="sessionScope['mylist'][param.row]"
So I need the ELanguage power in my Action.execute( ) method.
I tryed to get a PageContext( ) from JSPFactory.DefaultFactory( ) (using
ard/binaries/
--- Pierre Delisle <[EMAIL PROTECTED]> wrote:
> Did you download the nightly for the 1.0 branch, or
> the HEAD?
> Please note there is both 'standard-1.0' and
> 'standard'
> at
>
http://cvs.apache.org/builds/jakarta-taglibs/nightly/projects/.
Even the standard-examples.war application does not
work so I'm wondering if it's not necessarily my
taglib configuration. I began to wonder if I had some
weird XML library in my path that was hosing
everything up. So I reinstalled my JDK (1.4.1_02) and
Tomcat... but it had no effect. Okay, here
/WEB-INF/taglibs-string.tld
http://java.sun.com/jstl/core
/WEB-INF/c.tld
I think the taglib-uri's change for jstl 1.1.
Hen
On Tue, 15 Jul 2003, C F wrote:
> Hello,
> I tried for many hours to get Taglibs working with Tomcat. I'm at my wit's end!
> Hopefully someone h
/WEB-INF/taglibs-string.tld
http://java.sun.com/jstl/core
/WEB-INF/c.tld
I think the taglib-uri's change for jstl 1.1.
Hen
On Tue, 15 Jul 2003, C F wrote:
> Hello,
> I tried for many hours to get Taglibs working with Tomcat. I'm at my wit's end!
> Hopefully someone h
Hello,
I tried for many hours to get Taglibs working with Tomcat. I'm at my wit's end!
Hopefully someone here can help.
I'm using Tomcat tomcat-4.1.24 and jakarta-taglibs-20030713 nightly build. I'm trying
to get the standard JSTL 1.0 tags working.
When I copy the jars from standard-1.
T&F Information Exchange (T&F)
Physical Address : Room 210, Building 2, Chegongzhuang Street No. 6,
Xicheng District, Beijing, China
Post Code: 100044
Tel: +86-10-6800-3112
Fax: +86-10-6800-1452
Web site: http://www.tangfeng.org
E-mail: [EMAIL P
21 matches
Mail list logo