Re: Our name has changed!! [struts-atlanta - web-atlanta]

2005-07-09 Thread Vamsee Kanakala
John Henry Xu wrote: Once I worked with some developers in Banglore on web applications. The final product cannot handle more than 10 connections and we spend lots of time (more than the time they developed it) to fix it. It's changing. Real fast. Faster than you think. Vamsee.

Re: Multibox

2005-03-19 Thread Vamsee Kanakala
Ben Taylor wrote: Cheers, I've manged to get the ticks appearing now... However although they load fine on the first load they do not move after that. i.e. I can change which ones are selected and it'll go off and update the db but when I load the page again the origonal ticks are still shown.

Re: Problems using JSTL with struts

2005-03-18 Thread Vamsee Kanakala
Rodolfo GarcĂ­a Esteban/CYII wrote: 2. when I do c:out value=${}, in then web I don't see then content of , I see as a literal ${}. EL is not working for you. Most probable culprit is web.xml. It should have webapp 2.4 DTD like so: ?xml version=1.0 encoding=ISO-8859-1?

Re: Multiple ActionForms per ActionMapping

2005-03-18 Thread Vamsee Kanakala
Joe Germuska wrote: I don't know if we've all landed on most people's kill-filters or what, but one gets the sense that what some of us are interested in arguing thoroughly about is of little import to regular users. I'm as 'regular' a user as you can get, but I thoroughly enjoy these

Re: Validator Framework question

2005-03-15 Thread Vamsee Kanakala
Senthivel U S wrote: Each sub application is having its own config file but I could not create different validation.xml for each sub application. If I create also it takes only one validation.xml file into consideration. This may sound silly, but did you name them differently? Vamsee.

Re: [OT] Fresh Blood

2005-03-15 Thread Vamsee Kanakala
Rick Reumann wrote: Your friendly neighborhood losers are still hanging out in #FunkyCodeMonkey on irc.darkmyst.org and wouldn't mind having some fresh blood in the channel. Hi Rick, XChat says: * Looking up newserver * Unknown host. Maybe you misspelled it? Cycling to next server in

Re: Anybody who can answer this ?

2005-03-14 Thread Vamsee Kanakala
will be called only after B's form is populated. I think, what you are looking for is a 'PrepareAction' class. Please check Rick's excellent tutorial: http://www.reumann.net/struts/lesson2.do -Vamsee Kanakala. - To unsubscribe, e

Re: DataSource........

2005-03-11 Thread Vamsee Kanakala
K Rajesh wrote: i have one doubt. Connection Pooiling only possible thro' JSTL sql:DataSource Tag or any other way in JSP. kindly let me know. http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html HTH, Vamsee.

Re: Struts DB Access :: Best Practices

2005-03-09 Thread Vamsee Kanakala
karthikeyan balasubramanian wrote: I want to know what is the best way to access database using struts. This is just one way: http://www.ibatis.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: Struts Approach

2005-02-25 Thread Vamsee Kanakala
Tim Christopher wrote: CustomerService.java # Used to gain access to CustomerDAO and CustomerSqlMapDAO. CustomerDispatchAction.java (ex insert method - but will contain CRUD) # Gets instance of CustomerService; copies jsp form details into a DynaActionForm; copy form DynaActionForm to

Relation between validator html:options ?

2005-02-24 Thread Vamsee Kanakala
Hello Guys, I have a normal action class called PrepareFacultyEntryAction which basically retrieves some data from the database, and forwards it to a jsp page. I have a couple of html:options which are filled by an arraylist of label value beans. So far so good. The user selects

Re: Relation between validator html:options ?

2005-02-24 Thread Vamsee Kanakala
Vamsee Kanakala wrote: I have a normal action class called PrepareFacultyEntryAction which basically retrieves some data from the database, and forwards it [...] Sorry guys, my bad. I should've watched the logs properly. What was happening is that one of the arraylists I'm sending happens

Re: Struts or SpringFramework

2005-02-18 Thread Vamsee Kanakala
Marco Mistroni wrote: You can use both of them at same time, for example using Struts for weblayer and Spring for persistence layer (if you have one..) Huh? I thought Spring didn't have it's own persistence layer (as far as I know, Spring persists through iBatis or Hibernate). Vamsee.

Re: Struts or SpringFramework

2005-02-18 Thread Vamsee Kanakala
Richard Reyes wrote: Whats the advantage of using spring for your persitence layer when you can do it with struts? I had the good fortune to read Rod Johnson Juergen Hoeller's J2EE developement without EJB. From what I can glean from the book, Spring is much more than a MVC or a Persistenece

Re: Struts In Action - Still up to date?

2005-02-18 Thread Vamsee Kanakala
Christian Hauser wrote: What I wanna say is that I wouldn't like Struts in Action 2nd Editionn to have lots about Struts 1.2 when Struts 1.3 anyway makes it all different. +1. It was quite ugly to see all those arrow marks in Struts in Action saying Struts 1.1. I would rather the authors

Re: [HELP] Understanding clearly about function of Nested Tags

2005-02-18 Thread Vamsee Kanakala
Rick Reumann wrote: Now create a web page that has one form that will display all the companies (from a companies collection), and the departments underneath, and the employees in each department AND you can edit the name at any level... you can edit department names, employee names, company

Re: Struts Studio

2005-02-11 Thread Vamsee Kanakala
Brian Bezanson wrote: I used a good Struts book -- amazingly (despite my hating the title) I found the Jakarta Struts for Dummies book to be very well written and easy to learn from/reference. +1. Worked for me, too. Vamsee. -

Re: [OT] Logging Question

2005-01-30 Thread Vamsee Kanakala
Andrew Hill wrote: Commons Logging over Log4J. +1. There are several articles on the internet about why using commons logging is a bad idea, but so far I didn't face any problem. Vamsee. - To unsubscribe, e-mail: [EMAIL

Re: Connection Pool best practice

2005-01-19 Thread Vamsee Kanakala
Kalluru Uma. Maheswar wrote: Hi, I am using org.apache.commons.dbcp.BasicDataSource to implement a connection pooling and this is my class. If you're using Tomcat, you're better-off using JNDI Datasource:

Re: JDBC Driver

2005-01-18 Thread Vamsee Kanakala
David Bolsover wrote: What is wrong with the Microsoft driver? Well, I can actually give a whole lot of reasons. One, it's extremely slow. Two, you can retrieve objects from ResultSet only in a certain order. Three, sometimes it just conks out giving strange errors. If you check for them on

Re: URGENT : CMS Driven static site and Struts

2005-01-18 Thread Vamsee Kanakala
Jim Barrows wrote: The one thing I hate doing is trying to figure out someonelses undocumented framework. +1. I've been in that situation before, and believe me, it's an unenviable position that I wouldn't wish on my worst enemies! :) Vamsee.

Re: Using Validator framework with LookUpDispatchAction

2005-01-18 Thread Vamsee Kanakala
Venkata Krishna V. wrote: the flow. (i.e. Instead of validating only for Add, the form is validating even for Delete and Cancel) Add this in your validator plugin declaration in struts-config.xml: set-property property=stopOnFirstError value=true/ Vamsee.

Struts/Javascript mapping problem

2005-01-17 Thread Vamsee Kanakala
Hi List, I added a calendar control to my jsp page like so: A HREF=# name=date id = date onClick=cal.select(document.forms[0].dob,'date','MM/dd/'); return false;Select/A But, in case I use a validator form, and I have some validation errors, it maps the url to .do page. On

Errors with 'validwhen' rule

2005-01-15 Thread Vamsee Kanakala
Hi List, I have something like this in my validation.xml: field property=stdCode depends=validwhen arg0 key=entry.std/ varvar-nametest/var-name var-value ((phone != null) or (mobile == null) or (*this* != null)) /var-value /var

Re: Errors with 'validwhen' rule

2005-01-15 Thread Vamsee Kanakala
Kishore Senji wrote: http://struts.apache.org/userGuide/dev_validator.html Probably you missed the validWhen rules; Search for A few quick notes on the grammer on the above page Thanks, I really missed that part. I have one more problem: My form is populating a drop-down like this: select

Re: Unable to see c:forEach out put

2005-01-12 Thread Vamsee Kanakala
Rick Reumann wrote: It sounds like you are probably are now using a JSP2.0 container like Tomcat5 and are refering to the wrong tld. Refer to the one in the jar like: %@ taglib prefix=c uri=http://java.sun.com/jsp/jstl/core% and remove and direct pointing to the tlds you have. Yes, I am using

Re: Unable to see c:forEach out put

2005-01-12 Thread Vamsee Kanakala
Dakota Jack wrote: Don't you have to define what items are covered by your var? Sorry if I sound daft, but I do I have to do that? Where do I do that? TIA, -Vamsee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Javascript gibberish thrown by ValidatorForm!

2005-01-12 Thread Vamsee Kanakala
Hi List, I have a strange problem - I'm trying to display a ArrayList made of LabelValueBeans. I'm trying to display them in a html:options like this: html:select property=status html:options collection=${sessionScope.status} / /html:select But, All I'm getting is a bunch of

Re: Unable to see c:forEach out put

2005-01-12 Thread Vamsee Kanakala
Vamsee Kanakala wrote: I have a code fragment like this: td align=left c:forEach items=${statusList} var=current c:out value=${current.name}/ /c:forEach /td Thanks guys... I solved it. Seems like it's an issue with the Tomcat 5, which

Unable to see c:forEach out put

2005-01-11 Thread Vamsee Kanakala
Hi List, I have a code fragment like this: td align=left c:forEach items=${statusList} var=current c:out value=${current.name}/ /c:forEach /td Where statusList is a list of class instances, which has a setters and getters for properties id

Nice article...

2005-01-06 Thread Vamsee Kanakala
Hi folks, I found this nice article on TSS about Struts Action Mappings by Michael Jouravlev. http://www.theserverside.com/articles/article.tss?l=StrutsActionMapping Cheers, Vamsee. - To unsubscribe, e-mail: [EMAIL

Re: Best tutorial

2004-12-16 Thread Vamsee Kanakala
uma.k wrote: Where can I get the best tutorial on struts? http://www.reumann.net/struts/main.do -VK - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]