RE: RowSetDynaClass

2004-06-14 Thread Rajat Pandit, Gurgaon
just one more passing thought, I was wondering if there was some way to make the SQL generic for all databases? (or is it not feasible). This seems to be specific for oracle? Do correct me If I am wrong. rajat -Original Message- From: CRANFORD, CHRIS [mailto:[EMAIL PROTECTED] Sent: Tuesda

RE: Internationalization support in Tiles

2004-06-14 Thread Suresh S
Thanx joe , so its something like this i may be reusing a particular layout again and again like the footer ,menu,.. etc but the original body content may vary now instead of defining the html tag in each of the body pages is there any way we could do it from tiles (i mean from tile-definitions.x

RE: RowSetDynaClass

2004-06-14 Thread Rajat Pandit, Gurgaon
Hey Chris, Thanks a lot for the detailed information. I have just one more issue, I have used the RowSetDynaClass (beanutils.jar) and I had this issue where I couldn't control the position of the column numbers as in the 2 column in the sql could be anywhere in the resultset returned. I was passing

RE: Internationalization support in Tiles

2004-06-14 Thread Joe Hertz
Assuming you understand how Struts deals with internationalization issues, and tiles here... What sort of things are you looking to see demonstrated? I'm doing just this, and I find that there isn't anything I really need that is specific to tiles. Your tiles deal with the i18n issues as if they

Re: RowSetDynaClass

2004-06-14 Thread Navjot Singh
http://www.onjava.com/pub/a/pub/a/onjava/2002/05/08/jstl.html?page=3 http://jsptags.com/tags/navigation/pager/pager-taglib-2.0.html http://java.sun.com/blueprints/patterns/ValueListHandler.html IMO, keep caching decoupled from pagination. navjot ps : with polaris. btw, do i know you? Rajat Pandit,

RE: RowSetDynaClass

2004-06-14 Thread CRANFORD, CHRIS
The PagedTableAction class I'm using don't do any client-side or JVM caching because the data could change relatively quickly depending on the nature of our business. Thus, for us, letting the database handle the "subset" rownum limits works well and is very efficient. Right now I can return any

RE: RowSetDynaClass

2004-06-14 Thread CRANFORD, CHRIS
My PagedTableBean constructor looks like the following: public PagedTableBean(Connection conn, String sql, long pageNumber, long pageSize) throws PagedTableException { this.pageNumber = pageNumber; this

Internationalization support in Tiles

2004-06-14 Thread Suresh S
hi all, I have seen in books that struts plug in 'tiles' support internationalization but i couldn't get any nick of example on this one.It would be great if i could have a piece of code to explain on this .Any URl's explaining on this would be great . Thanx Suresh S

RE: RowSetDynaClass

2004-06-14 Thread Rajat Pandit, Gurgaon
Hey navjot, Thanks for the inputs(any pointers to the documentations (URL) would again be of great help) I have been pretty happy using the display tag, for small record sets (about 12000 or so) but I needed something more in case I needed to customize the pagination stuff. Like caching stuff etc.

Re: RowSetDynaClass

2004-06-14 Thread Navjot Singh
if that was really a problem for you, then there could any/both of 2 reasons. 1. You never used ValueListHandler pattern. 2. You never had used any pager taglib. and Chris, you could also look into *sql* JSTL that can help you doing what you want. And probabaly i recommend using this only for qu

RE: RowSetDynaClass

2004-06-14 Thread Rajat Pandit, Gurgaon
Hey Chris, This seems like a pretty neat solution you have out here, could please explain this, as pagination stuff is kind of the most complicated things that I have to deal with and I see my self coding the same thing again and again over a period of time. I would really appreciate your time and

RE: RowSetDynaClass

2004-06-14 Thread CRANFORD, CHRIS
Found the answer ;-) ... Avoid the tags all together and stick with the standard struts tags. The following worked: - Now have a fast, efficient paging mechanism that permits me to pass in a database connection object, the sql query to execute, starting page # and size and it handles the

RE: session time out

2004-06-14 Thread Rajat Pandit, Gurgaon
Hello Lokanath, I am not sure if this is the best way to go about it, but yes maybe you could give it a shot, in the action where you are checking for the session object (could be a login bean or something) make sure that you throw a custom exception and using the global exception handler in the st

Re: Strange error message

2004-06-14 Thread Shailender Jain
I think you are using some code after response.sendRedirect() or doForward() which forward the request to other page. The best practice will be to use a return statement after doing the forward. You should ensure to complete all you business logic before these statements are used. "Rajat Pandit, G

RE: Strange error message

2004-06-14 Thread Rajat Pandit, Gurgaon
Hello Scott, Yes, this happens when you have already sent the headers to the client and then you are trying to re-send the information. This will cause the application container to give you this error. Make sure that before you do a dispatch no headers have been changed including cookie values etc.

RE: Cannot Find Bean in Any Scope

2004-06-14 Thread Caroline Jen
I am following your suggestion. I put my "while" loop in the tag, and I have changed <%=threadBean.getSender()%> to There is a situation which I do not know how to handle. Inside the tag, I have a line of code: <%=SiteUtil.filter( threadBean.getPostTopic(), false/*html*/, true/*emo

RowSetDynaClass

2004-06-14 Thread CRANFORD, CHRIS
I am storing a RowSetDynaClass property in my java class and I have implemented a method on my class as follows: public Collection getRows() { return((Collection)rsdc.getRows()); } In my action, I store my custom class object reference as follows: request.setAttribute("results", myResultsObj)

session time out

2004-06-14 Thread Lokanath
hi all , can anyone tell me how to reach a page automatically when session expires in a stusts application lokanath -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, June 11, 2004 3:04 PM To: Struts Users Mailing List Subject: RE: session problem

Re: [OT]Help needed in wring regular expression

2004-06-14 Thread Navjot Singh
but you can achieve your objective in 2 easy regex. Anyway can you try something like this (\d(1)[^0])|(\d(1)\d(1)[0-9]{1,3})|(FEW)|(few)|(MANY)|(many) [EMAIL PROTECTED] wrote: Hi, Web page contains a text box can accept only maximum of four digits and it can be integers/String(accepts only "many"

Re: [OT] A first look at Spring vs Struts

2004-06-14 Thread Nick Heudecker
Rick: I've seen 'rogue' developers do remarkably stupid things with Struts and Spring, as well as numerous other frameworks. The best framework in the world can't save your project from an apathetic developer. :) Rick Reumann wrote: Martin Gainty wrote: funky things in Action execute methods ?

Re: [OT] A first look at Spring vs Struts

2004-06-14 Thread Rick Reumann
Martin Gainty wrote: funky things in Action execute methods ? please describe.. Well you can do almost anything in there since you're in a servlet, so you can totally break Struts concepts. You can do redirects (when you shouldn't) you could not use a Form bean to capture properties, you can do

Re: Chaining dispatchactions problem, how to do it cleanly

2004-06-14 Thread Erwin Cabral
Your forward config to another dispatch action should contain the "method" parameter. For instance, I hope I interpreted your problem correctly. On Mon, 14 Jun 2004 10:20:21 +0200, Cosyns Xavier <[EMAIL PROTECTED]> wrote: > > >I've used a similar approach but mine is working fine. > >what doe

Re: Charts with struts

2004-06-14 Thread Mike Duffy
I'll also endorse JFreeChart. It is open-source, free, and the guy who runs the project is good guy to work with. Mike --- Christophe_Thiébaud <[EMAIL PROTECTED]> wrote: > I use JFreeChart, "a free Java class library for generating charts." > http://www.jfree.org/jfreechart/ > > for example: >

Strange error message

2004-06-14 Thread Scott Smith
Has anyone seen the following error message and know what it means? "Cannot forward after response has been committed". I think it's coming out of something called application.dispatcher (doForward; line 138).

Re: Charts with struts

2004-06-14 Thread Christophe Thiébaud
I use JFreeChart, "a free Java class library for generating charts." http://www.jfree.org/jfreechart/ for example: http://www.openmozart.net/jsp/community.jsp Christophe Thiébaud René Zbinden wrote: Hi everybody does anybody know a way to dynamically create a chart and display it in a JSP. I will r

RE: Cannot Find Bean in Any Scope

2004-06-14 Thread Caroline Jen
I am following your suggestion. I put my "while" loop in the tag, and I have changed <%=threadBean.getSender()%> to There is a situation which I do not know how to handle. Inside the tag, I have a line of code: <%=SiteUtil.filter( threadBean.getPostTopic(), false/*html*/, true/*emo

RE: [OT] A first look at Spring vs Struts

2004-06-14 Thread Martin Gainty
Rick- funky things in Action execute methods ? please describe.. Martin Gainty (cell) 617-852-7822 (e) [EMAIL PROTECTED] (http)www.laconiadatasystems.com From: Rick Reumann <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTE

Re: Simple struts question.

2004-06-14 Thread Rick Reumann
Bullard, James wrote: A couple tiles questions. 1.) Is there any way to have a global-forward forward to a tile, It always tells me that such a path does not exist, meaning that rather than recognize the page as tile def it thinks it is a page. Hmm not sure what is wrong. You could try adding co

Re: Charts with struts

2004-06-14 Thread Andy Engle
René_Zbinden <[EMAIL PROTECTED]> wrote: > Hi everybody > does anybody know a way to dynamically create a chart and display it > in a JSP. I will read the underlying data from a database. I used the stuff from jpowered.com and it works pretty well. I am not to the point yet where I have the lice

Re: Charts with struts

2004-06-14 Thread Andrey Rogov
try this http://cewolf.sourceforge.net/ RZ> Hi everybody RZ> does anybody know a way to dynamically create a chart and display it in a JSP. I will read the underlying data from a database. RZ> TIA Rene -- Best regards, Andreymailto:[EMAIL PROTECTED]

Charts with struts

2004-06-14 Thread René Zbinden
Hi everybody does anybody know a way to dynamically create a chart and display it in a JSP. I will read the underlying data from a database. TIA Rene

RE: security roles

2004-06-14 Thread Zhang, Larry \(L.\)
Thanks Pedro. I am not using Tomcat, instead I am using IBM WSAD , so if I define the following lines in web.xml, A normal employee user Employee a manager user can do PR Manager can I access Employee and/or Manager role in struts-config.xml? (2)also say a

Re: security roles

2004-06-14 Thread Martin Gainty
Larry read Sing Shins white paper on Web Tier Security www.javapassion.com/j2ee/AdvancedJ2EEFeatures4.pdf Martin - Original Message - From: "Zhang, Larry (L.)" <[EMAIL PROTECTED]> To: "Struts User Mailing List" <[EMAIL PROTECTED]> Sent: Monday, June 14, 2004 3:24 PM Subject: security roles

RE: [OT] A first look at Spring vs Struts

2004-06-14 Thread Ricardo Cortes
The best application framework I've used for developing web applications has to be WebObjects (http://webobjects.com), hands down. Although the cost is $700, you get what Struts, Tiles, Hibernate, JSP and servlets try so hard to emulate except that it's all bundled in one package. So integrati

[OT]Help needed in wring regular expression

2004-06-14 Thread RDoss
Hi, Web page contains a text box can accept only maximum of four digits and it can be integers/String(accepts only "many","MANY") if enter a single integer value it should not be 0(zero) and 0(zero) can be entered subsequently after first non-zero integer and totally 4 digit maximum. I tried usin

Re: security roles

2004-06-14 Thread Pedro Salgado
In struts-config.xml, define the actions this way: Only manager can execute the action Only employee can execute the action Manager or employee can execute the action Everyone can execute the action You can define the roles on your TOMCAT_HOME/conf/tomcat-users.xml (for Tomcat 4.

[OT] A first look at Spring vs Struts

2004-06-14 Thread Rick Reumann
Trust me this isn't an attempt to open up a whole flame war. I'm just curious how many of you have messed with Spring and what your thoughts concerning it are. I've been looking at it some and I do see some strengths it has, but some of those strengths I also see as potential weaknesses (maybe)

Help needed in wring regular expression

2004-06-14 Thread RDoss
Hi, Web page contains a text box can accept only maximum of four digits and it can be integers/String(accepts only "many","MANY") if enter a single integer value it should not be 0(zero) and 0(zero) can be entered subsequently after first non-zero integer and totally 4 digit maximum. I tried usin

security roles

2004-06-14 Thread Zhang, Larry \(L.\)
I want to define two security roles, one of which is employee and another is manager. Employee is not able to see some resources belonging to manager. Under J2EE standard, we can define these in web.xml, it also seems to me that this can be done in struts. Can you point out how to perform this

RE: Struts/Lunar Pages/Resin Issues

2004-06-14 Thread Jarnot Voytek Contr AU/SC
srun not binding is a Resin problem, not Struts. -- Voytek Jarnot "Racing makes heroin addiction look like a vague longing for something salty." - Peter Egan > - Original Message - > From: "Mike" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, June 14, 2004 2:27 PM > Subj

RE: Struts/Lunar Pages/Resin Issues

2004-06-14 Thread Jarnot Voytek Contr AU/SC
srun not binding is a Resin problem, not Struts. -- Voytek Jarnot "Racing makes heroin addiction look like a vague longing for something salty." - Peter Egan > - Original Message - > From: "Mike" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, June 14, 2004 2:27 PM > Subj

Re: Struts/Lunar Pages/Resin Issues

2004-06-14 Thread DGraham
It's not obvious from your email, but did you: 1) Check for conflicting servers i.e. telnet www.michaelmcgrady.com 6082 2) Check that /127.0.0.1 is a valid interface for [your] machine. Dennis mike <[EMAIL PROTECTED]> 06/14/2004 02:57 PM Please respond to "Struts Users Mailing List" <[E

Re[2]: Caching data from resultset

2004-06-14 Thread Andrey Rogov
You can try the following. If there are no data in the cache you can select SQL : SELECT *.blah..., rownum FROM ( SELECT *.blah... FROM portal.dbtables dbt WHERE ORDER BY dbt.datemessage desc

Re: Struts/Lunar Pages/Resin Issues

2004-06-14 Thread Niall Pemberton
http://caucho.rz.klopotek.de/support/resin-interest/0008/0416.html - Original Message - From: "Mike" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 14, 2004 7:27 PM Subject: Struts/Lunar Pages/Resin Issues > According to lunarpages, Struts is causing the following probl

Re: Struts/Lunar Pages/Resin Issues

2004-06-14 Thread mike
That makes sense, James, except my site is not using or accessing struts at this time. That site is only using a single page which merely accesses the request object's remoteAddr parameter.So, my product could not be the issue. Did you read the stderr log? My suspicion is that the server adm

Re: images

2004-06-14 Thread mike
There are lots of ways to do this. You can use the File class to see if a file exists (images are files, of course) and go from there in a million directions. At 11:20 AM 6/14/2004, CRANFORD, CHRIS wrote: Is there anyway within struts or a known taglib to check if an image exists at the specifi

Simple struts question.

2004-06-14 Thread Bullard, James
A couple tiles questions. 1.) Is there any way to have a global-forward forward to a tile, It always tells me that such a path does not exist, meaning that rather than recognize the page as tile def it thinks it is a page. 2.) I am using the same forms for editing and creating new entity instan

Re: Struts/Lunar Pages/Resin Issues

2004-06-14 Thread James Mitchell
You will need to reexamine YOUR project. I can assure you that nothing in the officially released Struts code (or dependencies) is causing this. -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx - Original Message - From: "Mike" <[EM

Struts/Lunar Pages/Resin Issues

2004-06-14 Thread Mike
According to lunarpages, Struts is causing the following problem, which causes Resin to restart continuously. They have suspended my account based on this problem. Does this mean anything to anyone else? THE STDERR log is below: Mike This is part of the stderr.log from the server pertaining

images

2004-06-14 Thread CRANFORD, CHRIS
Is there anyway within struts or a known taglib to check if an image exists at the specific URL or relative URI and if not, permit a separate action to occur within the JSP??? ___ Chris Cranford Programmer/Developer SETECH Inc. & Companies 6302 F

Lunar Pages suspension due to Resin difficulty with Struts

2004-06-14 Thread mike
For unknown reasons lunarpages suspended my account, saying that my struts application was causing the server to restart by having the initialization procedure tied to the message resources to try and bind to 127.0.0.1:6802. Does this make any sense to anyone? I think someone at lunarpages sc

Accessing Array element while iterating through Map

2004-06-14 Thread Geoff Simonds
I am trying to iterate through a Map and use the key from the map to access an element in a separate array. I have an array of data points and only want to display the entries that are specified in a separate Map. Here is a snippet: The Map contains data that looks like

Approach for using view Action and save action

2004-06-14 Thread Jyoti Singh
I am working on an application where I read combo boxes option values from database based on certain fields values. I do not want to store the option values in the session. Currently I forward to view action after saving the form data. View action always reads data from database for populating acti

how to transfer the link value of tiles to the related-URI in html:link tag...

2004-06-14 Thread Ricky Lee
thanks for reading i know the html tag of struts a little..and in the html:link tag, i can use the page attribute to generate a server-relative URI by including the context path... but now i have a problem. i couldn't nested a inside another tag. just like: " target="main"> because

RE: Caching data from resultset

2004-06-14 Thread Kies, Daniel
Here is where the inline views are needed. Try it like this: select * from ( select rownum r, --add your other records from (SELECT * FROM some_table)) WHERE r between 11 and 20 I can't remeber why you can't use: WHERE ROWNUM BETWEEN 11 AND 20 It

RE: Caching data from resultset

2004-06-14 Thread Kies, Daniel
Here is where the inline views are needed. Try it like this: select * from ( select rownum r, --add your other records from (SELECT * FROM some_table)) WHERE r between 11 and 20 I can't remeber why you can't use: WHERE ROWNUM BETWEEN 11 AND 20 It

Query question

2004-06-14 Thread CRANFORD, CHRIS
Anyone here familiar with using CATSEARCH type oracle queries? If so, I am trying to do something like: SELECT COLNAME FROM MYTABLE WHERE CATSEARCH(MYFIELD,'motor',NULL) > 0 OR SHORT_DESCRIPTION LIKE '%motor%' The problem is I get an oracle error about functional invocation; howeve

RE: Caching data from resultset

2004-06-14 Thread CRANFORD, CHRIS
This works fine when: WHERE ROWNUM BETWEEN 1 and 10 But when I use: WHERE ROWNUM BETWEEN 11 AND 20 I get no rows returned. Any ideas why? -Original Message- From: Kies, Daniel [mailto:[EMAIL PROTECTED] Sent: Monday, June 14, 2004 12:52 PM To: 'Struts Users Mailing List' Subject:

RE: Caching data from resultset

2004-06-14 Thread Kies, Daniel
I recently implemented pagination for resultsets using Oracle 9i. Instead of loading up the entire resultset into memory, I just queried based on the records that the user requested. 1) Before getting the records, I first counted the records that were coming back in the result. That way I can

RE: Caching data from resultset

2004-06-14 Thread CRANFORD, CHRIS
I also failed to mention that a database connection is unqiue for each user session and is persisted at the session-layer. Not sure if that makes a difference in how to best do what I'm after but I felt it was important mentioning is its how the user/security model was originally designed. -O

RE: Caching data from resultset

2004-06-14 Thread CRANFORD, CHRIS
Not sure how much this is going to help because we're averaging about 15 seconds to transform a resultset of 1200 records into dynabeans. My goal really is to be able to dynamically traverse only the needed records within my resultset. So, when my resultset gets returned and I forward to page 1

Indexed Property with checkbox

2004-06-14 Thread Davide Gurgone
Hi all, I'm new of this newsgroup and I tried to find about the subject, but I don't succeed :( ... however... I have a bean that extends ActionForm with also this R/W property private String[] esami; public String getEsami(int index) { return esami[index]; } public void setEsami(int

RE: Caching data from resultset

2004-06-14 Thread DGraham
Hmmm...maybe a RowSetDynaClass is what you need?  http://jakarta.apache.org/commons/beanutils/api/org/apache/commons/beanutils/RowSetDynaClass.html It's as simple as:     rs = stmt.executeQuery(MyQueryString);     // Transform the resultSet to a "disconnected" set of DynaBeans     RowSetDynaClass

RE: Caching data from resultset

2004-06-14 Thread CRANFORD, CHRIS
Not a problem because I do have an OTN account. But I guess the question is whether it will work with Oracle 8i or only 9? In the past what I have done is used introspection to convert the resultset via metadata into a collection of objects that represent a record in the database and use this "c

Re: Hi:

2004-06-14 Thread Andrey Rogov
Struttin with STRUTS lessons from Rick Reumann www.reumann.net Free JAKARTA-STRUTS LIVE book http://www.theserverside.com/books/sourcebeat/JakartaStrutsLive/index.tss g> Hi All, g> I m a new user of struts.still on R&D.on my forthcoming project i m going to work on struts.can any bod

RE: Different input formats

2004-06-14 Thread Robert Taylor
Use Strings as data memebers in your action form when ever possible. You can "translate" the input in the action class performing what ever logic is necessary. robert > -Original Message- > From: Renato Romano [mailto:[EMAIL PROTECTED] > Sent: Monday, June 14, 2004 11:29 AM > To: 'Struts

RE:

2004-06-14 Thread Anderson, James H [IT]
www.amazon.com or the Amazon site in the UK -Original Message- From: Janarthan Sathiamurthy [mailto:[EMAIL PROTECTED] Sent: Monday, June 14, 2004 8:32 AM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: Hi Group, I am from Mumbai/India. Looking to buy 'Struts in Action' bo

Issue resolved getAsString : component context is not defined

2004-06-14 Thread Shiva Narayanan
Hi All, I finally found the cause of this problem. I had the following tag in the html. I replaced this tag with simple tag and I am not getting this error anymore. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

RE: Caching data from resultset

2004-06-14 Thread DGraham
Actually, it looks like this is only available for Oracle 9 or greater.  Sorry about that.  You might have to go with the standalone rowset.jar. Dennis [EMAIL PROTECTED] 06/14/2004 11:07 AM Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]> To "Struts Users Mailing

Different input formats

2004-06-14 Thread Renato Romano
I have an input in my form, in which the user should put a float value. Now I would like to allow the user to enter the Italian decimal separator, that is comma (",") instead of dot ("."), but of course I got a null property value for the Float in my ActionForm!! I then tried to do this by myself,

response already committed

2004-06-14 Thread Ayoub, Ashraf A
Dears, In my struts application I open another application using Url conection, this application gets a PDF file and write it to my output stream. I tried the application and if I run my client code from JSP ==> it work fine, but if I run it inside Struts Action I get that the response is already

RE: Caching data from resultset

2004-06-14 Thread DGraham
http://otn.oracle.com/software/tech/java/sqlj_jdbc/htdocs/jdbc9201.html ocrs12.zip appears to be a library containing Oracles imlementation of CachedResultSet and there is a JDK 1.2 version.  However, it appears that you need to be a member of the OTN. Dennis "CRANFORD, CHRIS" <[EMAIL PROT

RE: Caching data from resultset - reply

2004-06-14 Thread Kathy Zhou
I was using rowset.jar before I started JDK 1.4. I think you could download it from the internet. Not sure if it works on your case. Let me know if you need me to send you this package. Kathy > -Original Message- > From: CRANFORD, CHRIS [SMTP:[EMAIL PROTECTED] > Sent: Monday, June 14, 2

RE: Caching data from resultset - reply

2004-06-14 Thread Kathy Zhou
I was using rowset.jar before I started JDK 1.4. I think you could download it from the internet. Not sure if it works on your case. Let me know if you need me to send you this package. Kathy -Original Message- From: CRANFORD, CHRIS [SMTP:[EMAIL PROTECTED] Sent: Monday, June 14, 20

RE: Caching data from resultset

2004-06-14 Thread CRANFORD, CHRIS
But CachedRowSet isn't available in JDK 1.2.2_014 right? I'm limited to this JDK because IBM AIX version our OS runs doesn't support a JDK after this version. -Original Message- From: Freddy Villalba Arias [mailto:[EMAIL PROTECTED] Sent: Monday, June 14, 2004 8:22 AM To: Struts Users Mail

RE: Help with Datavision + Struts

2004-06-14 Thread Frank Zammetti
I'm using Datavision in a Struts-based application. I'm not sure about passing an entire where clause, I've never tried that, but you can easily pass parameters to the report, which obviously you can use in your where clause. Here's some code for doing that: Report report = new Report(); repo

[ANN] Xkins 0.9.8 Released (includes Struts and Xkins POC)

2004-06-14 Thread Guillermo Meyer
A new version of Xkins (http://xkins.sourceforge.net/) has been released. This new version has some new features including the capability of compose new Skins based on existing ones. Xkins is a framework to mannage Skins for web applications. You can download the last version from: http:

RE: Cannot Find Bean in Any Scope

2004-06-14 Thread Ricardo Cortes
Caroline, This URL might help: http://www.geocities.com/Colosseum/Field/7217/SW/struts/errors.html Ciao, Ricardo -Original Message- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Saturday, June 12, 2004 7:28 PM To: [EMAIL PROTECTED] Subject: Cannot Find Bean in Any Scope I am usi

RE:

2004-06-14 Thread Kalra, Ashwani
check with Computer Bookshop (I) Pvt. Ltd. (Phone:563179 22/23/24/2207 6356/0989) -Original Message- From: Janarthan Sathiamurthy [mailto:[EMAIL PROTECTED] Sent: Monday, June 14, 2004 6:02 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: Hi Group, I am from Mumbai

RE:

2004-06-14 Thread Janarthan Sathiamurthy
Hi Group, I am from Mumbai/India. Looking to buy 'Struts in Action' book for a long time. But could not get it. Does anyone have address from where i can get it ? Regards, Janarthan S -Original Message- From: Shilpa Vaidya [mailto:[EMAIL PROTECTED] Sent: Monday, June 14, 2004 4:25 PM To

RE: Caching data from resultset

2004-06-14 Thread Freddy Villalba Arias
I'm sorry, my reply should have been directed to Chris, not Leon. My apologies, Leon. Regards, Freddy. -Mensaje original- De: Freddy Villalba Arias Enviado el: lunes, 14 de junio de 2004 14:22 Para: Struts Users Mailing List Asunto: RE: Caching data from resultset Hi Leon, I suppose th

R: Caching data from resultset

2004-06-14 Thread Amleto Di Salle
Hi, you can use the Value List Handler design pattern. See http://www.corej2eepatterns.com/Patterns2ndEd/ValueListHandler.htm for an overview. See http://www.theserverside.com/patterns/thread.tss?thread_id=26139 for an implementation. I never used it but it is seems very good. If you will use it

RE: Caching data from resultset

2004-06-14 Thread Freddy Villalba Arias
Hi Leon, I suppose that, since you're talking about caching the ResultSet, you've already given a thought to the amount of data that you'd be handling, consider it to be feasible and reasonable to cache it. This said, why don't you take a look at CachedRowSet? http://java.sun.com/j2se/1.5.0/do

RE: Caching data from resultset

2004-06-14 Thread CRANFORD, CHRIS
This will work for the "paging" aspect, but I'm more concerned with ways to cache the "resultset" itself in the session to avoid repeative database calls on each page request. -Original Message- From: Rosenberg, Leon [mailto:[EMAIL PROTECTED] Sent: Monday, June 14, 2004 6:21 AM To: Struts

RE: Struts scalability and benchmarking

2004-06-14 Thread Jesse Alexander (KXT)
If you are not sure whether you will end up with 100 or 100'000 users... Well, I would try do design the system with "clustering" in my mind. Then I could throw more hardware at it, without too much problems. Seems that even Tomcat 5 is capable of clustering nowadays, so it should not even be a p

RE: thnx for book reference :

2004-06-14 Thread Kalra, Ashwani
You will get lot of resources examples and good start at the apache site Thanks & Regds Ashwani Kalra -Original Message- From: gitanjali [mailto:[EMAIL PROTECTED] Sent: Monday, June 14, 2004 4:16 PM To: [EMAIL PROTECTED] Subject: thnx for book reference : Thnx Preetam & Chris fo

RE:

2004-06-14 Thread Shilpa Vaidya
hi anjali... I would say the best is James GoodWill wrox publication for new learners regds shilpa -Original Message- From: gitanjali [mailto:[EMAIL PROTECTED] Sent: Monday, June 14, 2004 4:03 PM To: [EMAIL PROTECTED] Subject: Hi: Hi All, I m a new user o

thnx for book reference :

2004-06-14 Thread gitanjali
Thnx Preetam & Chris for ur suggestion.preetam if u have some chapters pls send it to me or tell me the site where i can find it ? Anjali Yahoo! India Matrimony: Find your partner online.

RE:

2004-06-14 Thread Saurabh Bobde
Struts in Action by Ted Husted (Manning Publication) is an excellent book. -Saurabh Bobde -Original Message- From: gitanjali [mailto:[EMAIL PROTECTED] Sent: Monday, June 14, 2004 4:03 PM To: [EMAIL PROTECTED] Subject: Hi: Hi All, I m a new user of struts.still on R&D.on my for

RE:

2004-06-14 Thread McCormack, Chris
Struts in Action - Ted Husted (Manning) Programming Jakarta Struts - Chuck Cavaness (O'Reilly) Both very good books and should both be read to get a good all round view of struts. hth Chris McCormack -Original Message- From: gitanjali [mailto:[EMAIL PROTECTED] Sent: 14 June 2004 11:33 To

Hi:

2004-06-14 Thread gitanjali
Hi All, I m a new user of struts.still on R&D.on my forthcoming project i m going to work on struts.can any body suggest me a really good book for struts ? Thnx in advance. Anjali Yahoo! India Matrimony: Find your partner online.

AW: Caching data from resultset

2004-06-14 Thread Rosenberg, Leon
Take a look at the pager taglib. http://jsptags.com/tags/navigation/pager/pager-taglib-2.0.html regards Leon > -Ursprüngliche Nachricht- > Von: CRANFORD, CHRIS [mailto:[EMAIL PROTECTED] > Gesendet: Montag, 14. Juni 2004 11:23 > An: '[EMAIL PROTECTED]' > Betreff: Caching data from results

RE: Help with validate ActionForm method

2004-06-14 Thread Lesaint Sébastien
Hi Satish, Problem is not related to validate="true" set on two actions, I've only one in my whole struts-confif.xml file. Any other idea? -- Seb' -Message d'origine- De : Satish Kataria [mailto:[EMAIL PROTECTED] Envoyé : lundi 14 juin 2004 10:09 À : Struts Users Mailing List; Lesaint

Caching data from resultset

2004-06-14 Thread CRANFORD, CHRIS
I am working with Oracle 8i and JDBC and was curious how others have implemented paging through large record resultsets from a JSP application without making a SQL call from page to page to retreive the data and looping through records to place the cursor at the right offset in the resultset. What

RE: Chaining dispatchactions problem, how to do it cleanly

2004-06-14 Thread Cosyns Xavier
>I've used a similar approach but mine is working fine. >what does your struts-config.xml look like? Hi, Here is my struts-config, ShowAttributesList.do is my preaction before displayin the list of objects, then we select one of the list and execute the gocreateattribute action, and lastly we hav

RE: Cannot Find Bean in Any Scope

2004-06-14 Thread Satish Kataria
You are getting the error because you have not defined a scripting variable for the threadbean. Simple way of doing that is using the bean:define tag Please let me know if there is any problem in using this Thanks, Satish -Original Message- From: Caroline Jen [mailto:[EMAIL PROTECTED]

RE: Help with validate ActionForm method

2004-06-14 Thread Satish Kataria
I hope you have not set validate="true" for the both the load and submit action mapping i.e there wld be a action mapping for loading the screen(say load) The validate attribute for this action Be set to false Then there wld be a action maqpping when to want to validate(say on submit of a button

Help with validate ActionForm method

2004-06-14 Thread Lesaint Sébastien
Hi, I'm using ActionForm for one of my pages and I implemented the validate method as follow: public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) { ActionErrors errors = new ActionErrors(); if (isFieldEmpty(login)) { errors.

Help with Datavision + Struts

2004-06-14 Thread Miquel Angel
Hi. We are de developing an application using struts. In this application we have to develop reports (of course) and we decided to use Datavision. We want to use datavision in our action classes. We have one problem and we don't know how to solve it. The problem is: The user has a f