Re: JSTL, struts and pagination

2005-09-07 Thread Lorenzo Siclia
On Wednesday 31 August 2005 21:50, Luca Passani wrote: > people, what's the elegant way to do pagination with JSTL? > I am using struts, my Action generates a LinkedList which a JSP page > is supposed to visualize: > > > > > > > I'd like the

Re: JSTL, struts and pagination

2005-09-01 Thread Martin Cooper
eople, what's the elegant way to do pagination with JSTL? > > I am using struts, my Action generates a LinkedList which a JSP page > > is supposed to visualize: > > > > > > http://item.name> <http://item.name>}"/> /> > > > > > >

RE: [opencms] JSTL, struts and pagination

2005-09-01 Thread Jorge González
Take a look at: - http://valuelist.sourceforge.net/ - http://struts.application-servers.com/index.html - http://jsptags.com/tags/navigation/pager/index.jsp - http://displaytag.homeip.net/example-pse.jsp And tell me if you find what you need here. I've used displaytag, and it's great. -

Re: JSTL, struts and pagination

2005-09-01 Thread Chandramohan Mani
pagination is not a part of view... On 9/1/05, Luca Passani <[EMAIL PROTECTED]> wrote: > > people, what's the elegant way to do pagination with JSTL? > I am using struts, my Action generates a LinkedList which a JSP page > is supposed to visualize: &

JSTL, struts and pagination

2005-08-31 Thread Luca Passani
people, what's the elegant way to do pagination with JSTL? I am using struts, my Action generates a LinkedList which a JSP page is supposed to visualize: I'd like the JSP to recognize long lists and split it in pages, possibly with backward and forward navigation. I wo

Re: Struts 1.1 - html:select and html:options usage

2005-08-19 Thread Rahul P Akolkar
[EMAIL PROTECTED] wrote on 08/18/2005 06:29:41 PM: > Hi I'm new to struts and having problems referencing a nested collection of > objects for display in an dropdown list using and > tags user@struts.apache.org [ http://struts.apache.org/mail.html ] -Rahul

Struts 1.1 - html:select and html:options usage

2005-08-18 Thread jmazzella
Hi I'm new to struts and having problems referencing a nested collection of objects for display in an dropdown list using and tags I am attempting to reference the following...UserProfileForm has a getter which returns a List of Objects that have getGrpId() and getGrpDesc() For te

Re: Struts Validator - missing longRange and doubleRange

2005-08-11 Thread Rahul P Akolkar
"Givler, Eric" <[EMAIL PROTECTED]> wrote on 08/10/2005 08:16:25 AM: > Our development tool at the office includes an older version of > Struts (v1.16). The tool mentions some incompatibilities with newer > versions of struts, so we have not changed this. Anyway, th

Struts Validator - missing longRange and doubleRange

2005-08-10 Thread Givler, Eric
Our development tool at the office includes an older version of Struts (v1.16). The tool mentions some incompatibilities with newer versions of struts, so we have not changed this. Anyway, there is a "Validator" in struts that includes an XML validation-rules file as well as a vali

Re: Integrating Struts with my taglib

2005-07-21 Thread Luca Passani
Martin Cooper wrote: You probably want to look at the way the Struts tags are implemented, and especially the latest code in 'trunk'. The code you want has most likely already been extracted into the RequestUtils and TagUtils classes, outside the tags themselves. ok. Thanks. I&#x

Re: Integrating Struts with my taglib

2005-07-20 Thread Martin Cooper
On 7/19/05, Luca Passani <[EMAIL PROTECTED]> wrote: > Martin Cooper wrote: > > > > >Pointer 1 would be to ask about this on the Struts lists rather than > >the Taglibs lists, since the Struts taglibs are part of, uh, Struts, > >not Taglibs. ;-) > > >

Re: Integrating Struts with my taglib

2005-07-19 Thread Luca Passani
Martin Cooper wrote: Pointer 1 would be to ask about this on the Struts lists rather than the Taglibs lists, since the Struts taglibs are part of, uh, Struts, not Taglibs. ;-) you are right of course. It's just that I knew that you (one of the major authors behind the Struts taglibs)

Re: Integrating Struts with my taglib

2005-07-19 Thread Martin Cooper
On 7/19/05, Luca Passani <[EMAIL PROTECTED]> wrote: > > Hello, > > I have developed a JSP tag-library to fix mark-ups on mobile phones (WALL). > Some people are using it with struts and they request that my anchor tag > integrates with Struts by being able to mimic the

Integrating Struts with my taglib

2005-07-19 Thread Luca Passani
Hello, I have developed a JSP tag-library to fix mark-ups on mobile phones (WALL). Some people are using it with struts and they request that my anchor tag integrates with Struts by being able to mimic the behavior of the struts tag: http://struts.apache.org/userGuide/struts-html.html#link

Re: Struts integration

2005-01-17 Thread Rahul P Akolkar
blame you for this email ;-) We can continue this offline (w.r.t this list) if needed. Its always going to be a string sent verbatim to the client, irrespective of struts/no struts. The struts machinery comes into play once the client follows the href on the anchor (think of it as a servlet mappin

Re: Struts integration

2005-01-17 Thread Martin Cooper
On Mon, 17 Jan 2005 22:17:43 +0100, luca <[EMAIL PROTECTED]> wrote: > > apologies if I continue this thread on this list. Martin, > what's the name of the Struts list you mentioned? http://struts.apache.org/using.html#Lists -- Martin Cooper > Rahul P Akolkar wrote: >

Re: Struts integration

2005-01-17 Thread luca
apologies if I continue this thread on this list. Martin, what's the name of the Struts list you mentioned? Rahul P Akolkar wrote: I will assume that you want to give differential treatment for struts vs. non-struts "href"s (though I can't be sure this is even required wit

Re: Struts integration

2005-01-17 Thread Rahul P Akolkar
> Someone told me that they would like to use WALL with struts, > but they have no easy way to invoke actions > (). I will assume that you want to give differential treatment for struts vs. non-struts "href"s (though I can't be sure this is even required without looking

Re: Struts integration

2005-01-17 Thread Martin Cooper
On Mon, 17 Jan 2005 21:05:58 +0100, luca <[EMAIL PROTECTED]> wrote: > > Hallo everyone again, I maintain and develop a tag-library (WALL) > > Among other things I have a tag called a (). > > Someone told me that they would like to use WALL with struts, > but they

Struts integration

2005-01-17 Thread luca
Hallo everyone again, I maintain and develop a tag-library (WALL) Among other things I have a tag called a (). Someone told me that they would like to use WALL with struts, but they have no easy way to invoke actions (). Unfortunately, I have no idea about how to go about doing this kind of

RE: struts-logic counterpart of this...

2004-11-18 Thread Karr, David
> -Original Message- > From: luca [mailto:[EMAIL PROTECTED] > > Karr, David wrote: > > > If your web container doesn't support JSP 2.0, and you want > to use the > > EL in the attributes of your Struts tags, then you'll need > to utilize

Re: struts-logic counterpart of this...

2004-11-18 Thread luca
Karr, David wrote: Well, first of all, there's no technical reason you can't use the JSTL and Struts taglibs on the same page. you are perfectly right. In fact this is what I am doing at the moment and it works. This is simply an elegance and maintanance issue though. I am deali

RE: struts-logic counterpart of this...

2004-11-17 Thread Karr, David
Well, first of all, there's no technical reason you can't use the JSTL and Struts taglibs on the same page. An important question is what web container you're using. If your web container supports JSP 2.0, then you can use the EL in your JSP (assuming you use the servlet 2.4

struts-logic counterpart of this...

2004-11-17 Thread luca
Hi, I'm a bit familiar with JSTL, but right now I need to integrate with some existing JSP code which uses the struts tag-lib and I am a bit lost there. How do I turn this JSTL: into something that works with the struts-logic tags? I understand that I can use something

Re: Struts integration

2004-11-02 Thread luca
It works! thank you luca Bill Siggelkow wrote: Here's a way w/o using JSP 2.0 EL: Bill Siggelkow [EMAIL PROTECTED] -Original Message- From: luca [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 02, 2004 3:28 AM To: Tag Libraries Users List Subject: Struts integration Gu

RE: Struts integration

2004-11-02 Thread Bill Siggelkow
Here's a way w/o using JSP 2.0 EL: Bill Siggelkow [EMAIL PROTECTED] > -Original Message- > From: luca [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 02, 2004 3:28 AM > To: Tag Libraries Users List > Subject: Struts integration > > > Guys,

Struts integration

2004-11-02 Thread luca
Guys, I need to integrate a new tag-lib into the JSP views of an existing Struts application. Here is my problem. I now have: : This should become: " /> Alas, this is not possible. Any idea how this can be achieved? I hear there's an EL port which makes EL variables wo

RE: Dynamic Expressions for Struts-EL and JSTL

2004-09-02 Thread Asleson, Ryan
would think that it would. -Original Message- From: Karr, David [mailto:[EMAIL PROTECTED] Sent: Thursday, September 02, 2004 11:09 AM To: Tag Libraries Users List Subject: RE: Dynamic Expressions for Struts-EL and JSTL I wonder if you need something like this: ${formBean[layoutObject.propert

RE: Dynamic Expressions for Struts-EL and JSTL

2004-09-02 Thread Karr, David
ermining whether this works would be one step forward. > -Original Message- > From: Asleson, Ryan [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 02, 2004 8:33 AM > To: '[EMAIL PROTECTED]' > Subject: RE: Dynamic Expressions for Struts-EL and JSTL &g

RE: Dynamic Expressions for Struts-EL and JSTL

2004-09-02 Thread Helios Alonso
e ideas?? I have to believe this can be done somehow using these tags. -Original Message- From: Helios Alonso [mailto:[EMAIL PROTECTED] Sent: Thursday, September 02, 2004 9:48 AM To: Tag Libraries Users List Subject: Re: Dynamic Expressions for Struts-EL and JSTL So, you could c

RE: Dynamic Expressions for Struts-EL and JSTL

2004-09-02 Thread Asleson, Ryan
t Like I said before, I want c:out to output the resulting String of formBean.getUserInfo.getFirstName, but it won't do it. Any more ideas?? I have to believe this can be done somehow using these tags. -Original Message- From: Helios Alonso [mailto:[EMAIL PROTECTED] Sent: Thursd

Re: Dynamic Expressions for Struts-EL and JSTL

2004-09-02 Thread Helios Alonso
ot;layoutObject")).getProperty(); to this: formBean[pageContext.layoutObject.property] (If I understood you have a layoutObject with a property saying which property read from formBean). At 08:37 02/09/2004 -0500, you wrote: Hello, I'm using the Struts-EL and JSTL custom tag implemen

Dynamic Expressions for Struts-EL and JSTL

2004-09-02 Thread Asleson, Ryan
Hello, I'm using the Struts-EL and JSTL custom tag implementations in my Web app. I want to use the c:out tag to output dynamic data. The tricky part is I want to dynamically build the EL expression at runtime by building up a String that should be evaluated. I don't want to output

Re: can i use jstl replace struts bean tags?

2004-08-05 Thread ?fffffffffb8?fffffffffdf ?fffffffffb5?fffffffffc f?=
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]> > 的正文: > > > >&

Re: can i use jstl replace struts bean tags?

2004-08-03 Thread Bill Siggelkow
docs ;) ?ffb8?ffdf ?ffb5?ffc f?= wrote: > --- Bill Siggelkow <[EMAIL PROTECTED]> 的正文: > >>The JSTL can easily replace many of the Struts tags. >> The tag is >>equivalent to . To iterate you can use >>the tag >>instead

Re: can i use jstl replace struts bean tags?

2004-08-03 Thread ?fffffffffb8?fffffffffdf ?fffffffffb5?fffffffffc f?=
--- Bill Siggelkow <[EMAIL PROTECTED]> 的正文: > The JSTL can easily replace many of the Struts tags. > The tag is > equivalent to . To iterate you can use > the tag > instead of the Struts > > Keep in mind that you still use Struts to provide > the controller and

Re: can i use jstl replace struts bean tags?

2004-08-03 Thread Bill Siggelkow
The JSTL can easily replace many of the Struts tags. The tag is equivalent to . To iterate you can use the tag instead of the Struts Keep in mind that you still use Struts to provide the controller and you will continue to use the Struts html tags for form creation. ?ffb8

can i use jstl replace struts bean tags?

2004-08-03 Thread ?fffffffffb8?fffffffffdf ?fffffffffb5?fffffffffc f?=
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,wh

RE: jstl, jsf , struts or ...

2004-07-28 Thread Simon Benzekri
I strongly suggest you download a demo of JSF you will be, as I was, very impressed with the power of it. Look up http://horstmann.com/corejsf/ for an intro. This other site will answer most of your questions as to were JSF & struts fit. http://www.jsfcentral.com/ Cheers, Simon -Orig

jstl, jsf , struts or ...

2004-07-28 Thread Lorenzo Sicilia
hi to all, I use jstl 1.0 e 1.1 and I love it. Now, I want evaluate a j2ee framework. I understand that jstl is integrated with jsf and struts but what do you think it is the best solution? Other good framework? thanks in adavace for any opinion regards Lorenzo Sicilia

Re: Using struts-nested tags

2004-07-07 Thread Paride Perazzolo
> I would recommend asking Struts questions on the Struts mailing lists, > since there are likely many more people there who will understand the > issue you are trying to resolve, and be able to help you solve it. ok, thanks -- Paride Perazzolo [EMAIL

Re: Using struts-nested tags

2004-07-06 Thread Martin Cooper
I would recommend asking Struts questions on the Struts mailing lists, since there are likely many more people there who will understand the issue you are trying to resolve, and be able to help you solve it. -- Martin Cooper On Tue, 6 Jul 2004, Paride Perazzolo wrote: thanks for your answer. 1

Re: [despammed] Re: Using struts-nested tags

2004-07-06 Thread Paride Perazzolo
> 1) The bean is placed in the page as part of an action form and exists > because it is declared in the associated action. UseBean is not > normally used to create struts FormBeans. I repeat here what wrote to the user mailing list: ok, now I understand what you mean. I should nev

Re: Using struts-nested tags

2004-07-06 Thread Paride Perazzolo
thanks for your answer. > 1) The bean is placed in the page as part of an action form and exists > because it is declared in the associated action. UseBean is not normally > used to create struts FormBeans. the point is: 1) beanContainer was put into session by another jsp previous

Re: Using struts-nested tags

2004-07-05 Thread Steve Lewis
1) The bean is placed in the page as part of an action form and exists because it is declared in the associated action. UseBean is not normally used to create struts FormBeans. 2) Nothing initializes the ArrayList except the default constructor - you are better off a map based method than a

Using struts-nested tags

2004-07-05 Thread Paride Perazzolo
Hi folks, I'm new to the list, so forgive me if I'm not respecting Netiquette or asking off-topics. I'm trying to render pieces of html using the following syntax: from struts-config.xml the definition of the form follows: into the jsp I wrote (MyBeanContainer

Re: Using ExpressionEvaluatorManager in a Struts Action execute()

2004-03-17 Thread f.
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

Re: Using ExpressionEvaluatorManager in a Struts Action execute()

2004-03-17 Thread f.
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

Re: Using ExpressionEvaluatorManager in a Struts Action execute()

2004-03-17 Thread Marc Guillemot
: 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.Defa

RE: Using ExpressionEvaluatorManager in a Struts Action execute()

2004-03-17 Thread Martin van Dijken
List Onderwerp: Re: Using ExpressionEvaluatorManager in a Struts Action execute() Martin, First thanks for your reactivity. I sent message to struts-user list before I post here . The evaluation of the expression can not be done during jsp processing because 1- custom tags are processed definin

Re: Using ExpressionEvaluatorManager in a Struts Action execute()

2004-03-17 Thread f.
Martin, First thanks for your reactivity. I sent message to struts-user list before I post here . The evaluation of the expression can not be done during jsp processing because 1- custom tags are processed defining a datatable 2- table is then sent to browser 3- click each cell in the same

RE: Using ExpressionEvaluatorManager in a Struts Action execute()

2004-03-17 Thread Martin van Dijken
Hey Denis, - first of all, this is really the list for non-struts taglibraries, for struts issues please refer to [EMAIL PROTECTED] - second, I'm not that sure what you mean, but can't you use the struts-el taglibraries to create the param at the time the link is created? I think the

Using ExpressionEvaluatorManager in a Struts Action execute()

2004-03-17 Thread f.
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.Defa

RE: Indexed properties struts 1.0

2004-02-24 Thread Martin van Dijken
Hey Niall, Please direct your question to the Struts-user list. This list is for discussions of the non-struts taglibraries. Grtz, Martin > -Original Message- > From: Niall Lynch [mailto:[EMAIL PROTECTED] > Sent: dinsdag 24 februari 2004 13:29 > To: [EMAIL PROTECTE

Indexed properties struts 1.0

2004-02-24 Thread Niall Lynch
Hi All, I am restricted to using struts 1.0 at the moment and have run into a problem with indexed properties. I have an ActionForm with a member variable of an array of userProducts. I am having trouble updating the properties of each user product that is in the page. What type of setter

RE: Struts html:text value initialized using JSTL

2004-02-13 Thread Wendy Smoak
> From: Just Fun 4 You [mailto:[EMAIL PROTECTED] > " /> JSTL works best in conjunction with the Struts-EL tags: However, if something on the page fails validation, and the user has changed this value, it's going to revert back to the value in 'ventureObject.startD

Re: Struts html:text value initialized using JSTL

2004-02-13 Thread Kris Schneider
You can't use a tag as the attribute value for another tag. It has nothing to do with Struts or JSTL. Try using Struts-EL: <%@ taglib prefix="html" uri="http://jakarta.apache.org/struts/tags-html-el"; %> You'll find the required JAR file in contri

Struts html:text value initialized using JSTL

2004-02-13 Thread Just Fun 4 You
Hi, the following is perfectly valid using plain html input syntax. However, when using Struts it is not working: " /> I could use a bean:define to set it up, but I am wondering how to do this using JSTL. thx, Dirk

Works: Struts + c:import w/ Tomcat 5.0.18!!!

2004-01-26 Thread Timo --Blazko-- Boewing
Hiho all, Just for interest: with Tomcat 5.0.18 (prior: 5.0.16) it finally works: Including a fragment using JSTL's c:import or jsp:include that is invoked by a Struts Action! Prior, it failed, when the importing JSP was also invoked by a Struts action; thus having two Struts' Actio

Re: Multipart/form-data support in Struts

2004-01-09 Thread Mark R. Diggory
[mailto:[EMAIL PROTECTED] Sent: 02 December, 2003 7:02 PM To: Tag Libraries Users List Subject: Re: Multipart/form-data support in Struts I've been using the COS library, its a bit lower level but currently meets my streaming needs for things like DOM'ing and XSL transforming str

RE: Multipart/form-data support in Struts

2004-01-09 Thread Rudi Doku
#x27;m new to deploying servlets so I could do with some help. Thanks in advance. Rudi -Original Message- From: Mark R. Diggory [mailto:[EMAIL PROTECTED] Sent: 02 December, 2003 7:02 PM To: Tag Libraries Users List Subject: Re: Multipart/form-data support in Struts I've been using

RE: using struts for http to https redirect problem in IE6

2004-01-05 Thread N.N.S.S Ravi Krishna
Thanx Martin, I did that just now . --Ravi Krishna -Original Message- From: Martin Cooper [mailto:[EMAIL PROTECTED] Sent: Friday, January 02, 2004 11:13 PM To: Tag Libraries Users List; [EMAIL PROTECTED] Subject: Re: using struts for http to https redirect problem in IE6 In general

Re: using struts for http to https redirect problem in IE6

2004-01-02 Thread Martin Cooper
In general, you'll get a much better response to Struts questions by posting them to the struts-user mailing list, instead of here. Not only is that list more appropriate, it also has many more subscribers who might be able to help you. -- Martin Cooper On Fri, 2 Jan 2004, N.N.S.S Ravi Kr

using struts for http to https redirect problem in IE6

2004-01-02 Thread N.N.S.S Ravi Krishna
Hi all, I'm trying to redirect from http page to https page by configuring the struts-config.xml. I could do that successfully in a Netscape7.1 browser but failing to do so in IE6.0. Please tell me whether there are any browser based settings to be done.If so where I have to take care of

Re: Multipart/form-data support in Struts

2003-12-03 Thread Mark R. Diggory
Martin, sorry, I just noticed the depricated FileUpload code in the struts does some of this. http://cvs.apache.org/viewcvs/jakarta-struts/src/share/org/apache/struts/upload/ -Mark Mark R. Diggory wrote: Martin, This could probably be more appropriate for Commons Developer, but: Any

Re: Multipart/form-data support in Struts

2003-12-03 Thread Mark R. Diggory
The actual form and action are located here: http://cvs.apache.org/viewcvs/jakarta-struts/src/upload/org/apache/struts/webapp/upload/UploadAction.java?rev=1.8&content-type=text/vnd.viewcvs-markup http://cvs.apache.org/viewcvs/jakarta-struts/src/upload/org/apache/struts/webapp/up

Re: Multipart/form-data support in Struts

2003-12-03 Thread Mark R. Diggory
You can also see this via the web: examples of the upload JSP's K.C. is refering to http://cvs.apache.org/viewcvs/jakarta-struts/web/upload/upload.jsp?rev=1.6&content-type=text/vnd.viewcvs-markup struts-config http://cvs.apache.org/viewcvs/jakarta-struts/web/upload/WEB-INF/struts-c

RE: Multipart/form-data support in Struts

2003-12-03 Thread Ravi Krishna
Oh Thnx a ton all of u, I could fix it Regards,RaviKrishna -Original Message- From: K.C. Baltz [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 02, 2003 10:05 PM To: Tag Libraries Users List Subject:Re: Multipart/form-data support in Struts One of the example webapps

RE: Multipart/form-data support in Struts

2003-12-02 Thread Ravi Krishna
Martin, Can you please point me to source where I can find the file upload feature in struts. Thanks in advance. ravikrishna -Original Message- From: Martin Cooper [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 02, 2003 11:59 PM To: Tag Libraries Users List Subject

Re: Multipart/form-data support in Struts

2003-12-02 Thread Mark R. Diggory
it lower level but currently meets my streaming needs for things like DOM'ing and XSL transforming straight off the request input stream. http://www.servlets.com/cos/index.html With file upload capability built into Struts, I'm curious as to why you would choose to use a different library? One

Re: Multipart/form-data support in Struts

2003-12-02 Thread Mark R. Diggory
1.) Historical (When we started writing our project there were no multipart parsing libraries available other than COS). 2.) We aren't commercial, Yet I do actually own Jason's Book. 3.) I don't actually use Struts in my applications right now. I don't want to be depe

Re: Multipart/form-data support in Struts

2003-12-02 Thread Martin Cooper
ex.html With file upload capability built into Struts, I'm curious as to why you would choose to use a different library? One thing to watch out for with the COS library is the license. If you use it in a commercial application, you are *required* to purchase copies of (the latest edition of) Jason Hun

Re: Multipart/form-data support in Struts

2003-12-02 Thread Mark R. Diggory
uest input stream. http://www.servlets.com/cos/index.html -Mark K.C. Baltz wrote: One of the example webapps included with Struts 1.1 is struts-upload. I've based my code off that. You'll probably want the source distribution of Struts to see how it's done. K.C. Ravi Krishna

Re: Multipart/form-data support in Struts

2003-12-02 Thread Mark R. Diggory
I've been using the COS library, its a bit lower level but currently meets my streaming needs for things like DOM'ing and XSL transforming straight off the request input stream. http://www.servlets.com/cos/index.html -Mark K.C. Baltz wrote: One of the example webapps included with

Re: Multipart/form-data support in Struts

2003-12-02 Thread K.C. Baltz
One of the example webapps included with Struts 1.1 is struts-upload. I've based my code off that. You'll probably want the source distribution of Struts to see how it's done. K.C. Ravi Krishna wrote: Hey Guys , I want to upload data of wave , jpeg and MPEG formats .Is t

RE: Multipart/form-data support in Struts

2003-12-02 Thread Marcelo Flores
Exist a object FormFile in struts than support upload of files Here a few code and attach a file helper than do convert. Sorry for my english, but I am just learning. FormFile theFile = ( FormFile ) digitalizaForm.getFile(); if ( theFile != null && theFile.getFileSi

Re: Multipart/form-data support in Struts

2003-12-02 Thread James Neville
Hey Ravi, I believe a lot of the Struts guys use Commons File Upload. We've rolled our own, but then File Upload wasn't around back then :) http://jakarta.apache.org/commons/fileupload Make a post to the Struts list as I think there were some other alternatives, but I just can'

Multipart/form-data support in Struts

2003-12-02 Thread Ravi Krishna
Hey Guys , I want to upload data of wave , jpeg and MPEG formats .Is there any tag in struts which I can use in my application to achieve this??? Your response is highly appreciated Regards/Ravi Krishna - To unsubscribe, e

Re: fmt+struts headaches.

2003-11-25 Thread Caoilte O'Connor
hmmm, I thought I'd better just say that it appears to be working fine for us however. we've got no clumsy bundle or locale tags in our jsp pages anymore and we can change language quite happily using a struts action. That Config thing should really be added to the Struts doc

Re: fmt+struts headaches.

2003-11-21 Thread Kris Schneider
//java.sun.com/jstl/fmt > > > >JSP 2.0 / JSTL 1.1 (e.g. Tomcat 5): > >http://java.sun.com/jsp/jstl/fmt > > > >Quoting Caoilte O'Connor <[EMAIL PROTECTED]>: > > > > > > > >>hey all, > >>I'm playing around and tr

Re: fmt+struts headaches.

2003-11-21 Thread K.C. Baltz
un.com/jsp/jstl/fmt Quoting Caoilte O'Connor <[EMAIL PROTECTED]>: hey all, I'm playing around and trying to get the jstl internationalization tags working with struts. It's proving a bit more of a headache than I'd like. I made the usual changes and eventually figured

Re: fmt+struts headaches.

2003-11-20 Thread Caoilte O'Connor
ot;fmt" uri="/WEB-INF/fmt.tld"%> > > > -Original Message- > > From: Caoilte O'Connor [mailto:[EMAIL PROTECTED] > > Sent: Thursday, November 20, 2003 7:43 AM > > To: [EMAIL PROTECTED] > > Subject: Re: fmt+struts headaches. > > > >

RE: fmt+struts headaches.

2003-11-20 Thread Morrow, Steve D.
b prefix="fmt" uri="/WEB-INF/fmt.tld"%> > -Original Message- > From: Caoilte O'Connor [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 20, 2003 7:43 AM > To: [EMAIL PROTECTED] > Subject: Re: fmt+struts headaches. > > > hehe, that

Re: fmt+struts headaches.

2003-11-20 Thread Caoilte O'Connor
g TLD files in /WEB-INF, you can use <%@ > taglib prefix="c" uri="/WEB-INF/c.tld"%>, for example. No > connectivity problems... :o) > > > -Original Message- > > From: Caoilte O'Connor [mailto:[EMAIL PROTECTED] > > Sent: Thursday, No

RE: fmt+struts headaches.

2003-11-20 Thread Kris Schneider
Connor [mailto:[EMAIL PROTECTED] > > Sent: Thursday, November 20, 2003 7:31 AM > > To: [EMAIL PROTECTED] > > Subject: Re: fmt+struts headaches. > > > > > > will that work testing a container not connected to the > > internet though? I'd hate to be

RE: fmt+struts headaches.

2003-11-20 Thread Morrow, Steve D.
> From: Caoilte O'Connor [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 20, 2003 7:31 AM > To: [EMAIL PROTECTED] > Subject: Re: fmt+struts headaches. > > > will that work testing a container not connected to the > internet though? I'd hate to be sitting

Re: fmt+struts headaches.

2003-11-20 Thread Caoilte O'Connor
or separate tld > files and entries in web.xml - at least for > packaged taglibs like Struts and JSTL. Just use the > following directive in your JSP: > > <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"; > %> > > Quoting Caoilte O'Con

Re: fmt+struts headaches.

2003-11-20 Thread Kris Schneider
As of JSP 1.2, there's really no need for separate tld files and entries in web.xml - at least for packaged taglibs like Struts and JSTL. Just use the following directive in your JSP: <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"; %> Quoting Cao

Re: fmt+struts headaches.

2003-11-20 Thread Caoilte O'Connor
/ JSTL 1.0 (e.g. Tomcat 4): > http://java.sun.com/jstl/fmt > > JSP 2.0 / JSTL 1.1 (e.g. Tomcat 5): > http://java.sun.com/jsp/jstl/fmt > > Quoting Caoilte O'Connor <[EMAIL PROTECTED]>: > > hey all, > > I'm playing around and trying to get the jstl > > i

Re: fmt+struts headaches.

2003-11-20 Thread Kris Schneider
l/fmt JSP 2.0 / JSTL 1.1 (e.g. Tomcat 5): http://java.sun.com/jsp/jstl/fmt Quoting Caoilte O'Connor <[EMAIL PROTECTED]>: > hey all, > I'm playing around and trying to get the jstl > internationalization tags working with struts. It's proving > a bit more of a he

fmt+struts headaches.

2003-11-20 Thread Caoilte O'Connor
hey all, I'm playing around and trying to get the jstl internationalization tags working with struts. It's proving a bit more of a headache than I'd like. I made the usual changes and eventually figured out that the 1.0.0 release (included in the struts 1.1 contrib dir) is s

Re: c:import and Struts actions physically losing bytes

2003-11-05 Thread Brice Ruth
doing so with a Struts action, the request gets shortened (First x bytes are cut)! The Struts action really does nothing more than that in my testcase: just setting a forward to the same JSP page to include. The page to include is kept simple to avoid intereference of any other called code, it

c:import and Struts actions physically losing bytes

2003-11-05 Thread Timo --Blazko-- Boewing
Hello all, Yet again another problem: i want to include another dynamic resource via JSTL's c:import into a JSP. When doing so with another JSP everything works great. However, when doing so with a Struts action, the request gets shortened (First x bytes are cut)! The Struts action really

Re: Struts and vs

2003-10-29 Thread Kris Schneider
Or try Struts-EL ($STRUTS_HOME/contrib/struts-el/lib/struts-el.jar): <%@ taglib prefix="bean-el" uri="http://jakarta.apache.org/struts/tags-bean-el"; %> Quoting Joanne L Corless <[EMAIL PROTECTED]>: > Hi > > I am currently building a Struts app whi

Struts and vs

2003-10-29 Thread Joanne L Corless
Hi I am currently building a Struts app which accesses a backend database for alot of its info, so far so good. However I am building a menu page dynamically based on database values and I have a problem when trying to access a message bundle resource based on a I have built up Using

RE: message and struts tiles

2003-09-02 Thread Chen, Gin
Subject: fmt:message and struts tiles Is there a way to pass a

fmt:message and struts tiles

2003-08-31 Thread Ray Madigan
Is there a way to pass a

RE: Can't find struts DynaActionForm property with JSTL

2003-07-16 Thread Helen Ge
Thanks Matt, that does help me out! -Original Message- From: Sgarlata Matt [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 10:54 AM To: Tag Libraries Users List Subject: Re: Can't find struts DynaActionForm property with JSTL Your syntax for is correct using ActionForms

Re: Can't find struts DynaActionForm property with JSTL

2003-07-16 Thread Sgarlata Matt
Your syntax for is correct using ActionForms, but for DynaActionForms you need to do this: Matt - Original Message - From: "Helen Ge" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 16, 2003 10:50 AM Subject: Can't find struts DynaActionForm

Can't find struts DynaActionForm property with JSTL

2003-07-16 Thread Helen Ge
Hi, I am using Struts DynaActionForm object dataForm (session scope) to hold a form data. It is no problem to display that form bean property in the JSP page by using the Struts bean tag . However I'd like see how the JSTL works by using JSTL without specifying scope , it gave me exce

  1   2   >