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.
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.
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?
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
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.
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
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
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.
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:
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
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
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
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.
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
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
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
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.
-
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
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:
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
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.
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.
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
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
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
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
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
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
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
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
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
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]
32 matches
Mail list logo