Are you talking about different databases on different machines? Is that
where the "distributed transactions" question comes up? And, would the
databases be different if they were both MySql? I assume so, but I cannot
tell from the way you talk.
On 4/7/06, olonga henry <[EMAIL PROTECTED]> wrote
You have not clearly identified what your problem is. I am not going to
make a course of study on your posts to see what you are facing. Your
obligation is to clearly set out IN ONE POST what your situation is and what
you need.
On 4/7/06, olonga henry <[EMAIL PROTECTED]> wrote:
>
> Rick, I am n
Actually, many good databases are not a collection of tables. That is what
is new about SQL and its relation to the first order predicate calculus.
The new thing about SQL was that there were multiple files and the
normalization rules established via the rules of the first order predicate
calculus
Yeah, that's all reasonable. Well, back to the filter then :)
One thing you may want to do is have a look at the filters in Java Web
Parts (http://javawebparts.sourceforge.net). We have them all
implemented with some added flexibility in mapping to paths. At least
that way you can only fire
OK. I contemplated creating a base class, but didn't like the idea of having to
create a basically empty Action class for Actions that use ActionForward to
forward to a jsp for display without calling an Action. And, frankly, thought it
would be more complex to go learn the order of method calls of
#1. Most DB's let you connect to another DB, even to another vendor to
do a join. That be the simplest.
#2. What ever you are doing you need to do in the DAO layer only ( and I
do not see how transcations are helping you on a select).
So I suggest you document a unit test of what you want the
Hi Quinn,
Quinn Stone wrote:
1. Does the Servlet filter seem a good solution?
Yes, but not quite as described, and ironically its because of the
answer to #2 :)
2. If I throw an EnrollmentDingBat exception from said Servlet Filter, will a
handler defined in catch it? My suspicion is that
Hi all,
I don't know how to catch the url like http://www.myweb.com/myweb <--- I wanna
do a action with this url, something like 360o yahoo did.
ex: with url: 360.yahoo.com/myusername <--- you can go to my page.
who know how, help me plz :(
thanks in advance,
bowlkhin
I have a wizard-type flow for an enrollment process. I use a session scoped
EnrollmentBean to store the form-beans as they are gathered through the process.
If the user cancels the enrollment anywhere along the way, I remove the
EnrollmentBean from the session and forward to a "Your enrollment has
Hi,
At a quick glance I'd say you need to use html:option and not html:options
You need something like:
You then need to define the keys in your ApplicationResources.properties
file like so:
tp_acomodacao.eletivo=Eletivo
tp_acomodacao.emergencia=Emergência
tp_acomodacao.urg
<> I've done the same myself.
The alternate version keys on the path instead of name attribute.
We should probably call it the DynaPathValidatorForm or something to
make the difference more clear.
-Ted.
On 4/7/06, Eric Rank <[EMAIL PROTECTED]> wrote:
> Thanks Ted.
>
> After sitting with it for
hi all!
I need to do a combobox, it's a simple question..., but i can't do...
this is my way ( wrong ):
What's right way??
Sorry for english
--
Joaquim Azevedo
Linux Users #398795
UECE - Ciências da Computação
Larces-NOKIA
==
I don't think that the base tag helps me. For example, I have an
index.jsp file that looks like...
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
The HTTP header Location is being returned...
HTTP/1.1 302 Moved Temporarily
Set-Cookie: JSESSIONID=1F664A9B4B0612843864A5B817DE0AE8; P
Thanks Ted.
After sitting with it for a while longer, I realized that with my
configuration, my dynaform needed to be of type:
org.apache.struts.validator.DynaValidatorForm
rather than
org.apache.struts.validator.DynaValidatorActionForm
There were a few other creases, but the above seemed to b
Anil,
Have you tried using a tag?
http://www.htmlhelp.com/reference/html40/head/base.html
> -Original Message-
> From: Anil Arora [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 06, 2006 2:35 PM
> To: user@struts.apache.org
> Subject: Proxy rewrites
>
>
> Didn't see this go through.
The required validator would need to be registered, as usual. But the
rest seems OK.
If it were me, I'd try deploying the "simplied" version as its own
application, and seeing if that works.
-Ted.
On 4/7/06, Eric Rank <[EMAIL PROTECTED]> wrote:
> Ted,
>
> Thanks for responding. In my real code,
Ted,
Thanks for responding. In my real code, I have the one-to-one
relationship set up correctly. In my efforts to make my problem as
simple as possible for this mailing list, I neglected to change
to read
Assuming that the above was fixed, is there any reason why the above
validation exampl
The framework matches the formset's *form.name* property with the
*form-bean.name* property, so they must be the same value. (It's a 1:1
relationship.)
-
+
HTH, Ted.
On 4/7/06, Eric Rank <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I'm attempting to use the Validation framework to validate
On 4/7/06, Rick Reumann <[EMAIL PROTECTED]> wrote:
>
> Jim Reynolds wrote the following on 4/7/2006 2:27 PM:
> > PS, Isn't it just the JSP, JSTL that enables that snippet to work? Or
> > do I need a certain jar?
>
> Not sure what could be wrong. Tomcat 5 supports EL expressions ( ${}
> stuff ) by d
Jim Reynolds wrote the following on 4/7/2006 2:27 PM:
PS, Isn't it just the JSP, JSTL that enables that snippet to work? Or
do I need a certain jar?
Not sure what could be wrong. Tomcat 5 supports EL expressions ( ${}
stuff ) by default. Paste the tag declarations you are using on the top
of
Leon, I am using Hibernate with 2 different databases (mysql and
as400): I don't think HibernateTransactionManager can handle
distributed transactions. Even though this discussion should not be
on the struts list, but here it is:
java:comp/env/jdbc/myds1
Thanks. The problem is that we can't use absolute path (leading "/") because
we are forwarding the request from webserver to app server. So even we move
them into common, we still have to use relative path to point to them.
On 4/6/06, Adam Hardy <[EMAIL PROTECTED]> wrote:
>
> Scott,
>
> try placi
PS, Isn't it just the JSP, JSTL that enables that snippet to work? Or
do I need a certain jar?
Maybe I am missing something.
On 4/7/06, Jim Reynolds <[EMAIL PROTECTED]> wrote:
> It is the later. I just checked my lib dir. Only using the latest
> struts jars and no struts-el jars even in there.
>
I still don't get what should be wrong with the 2 DAO, 1
BusinessManager (or two depending on where do you want to federate, in
business or presentation layer) and a struts action to trigger it.
I thought your question was about how to do it best MVC-conform way,
you've got Joe's and mine answer.
It is the later. I just checked my lib dir. Only using the latest
struts jars and no struts-el jars even in there.
Thanks,
On 4/7/06, Rick Reumann <[EMAIL PROTECTED]> wrote:
> Jim Reynolds wrote the following on 4/7/2006 2:02 PM:
> > Thanks Rick for the info.
> >
> > I am running Tomcat 5.5. Bu
temp temp wrote the following on 4/7/2006 1:59 PM:
I must create "export to excel spreadsheet" capability for my pages .
I will be having java.util.Collection containing search results which I
have to convert into an excel sheet.What is the best and simplest way to
convert a Collecti
Hi All,
I'm attempting to use the Validation framework to validate a Dynaform,
and it doesn't seem to be working. I've done a bit of googling, but
haven't been able to dig up anything definitive about validating
dynaforms. Now, I'm looking for your collective help.
Running the following code shou
The jexelapi tool is pretty nice. Easy, too.
Larry
On 4/7/06, temp temp <[EMAIL PROTECTED]> wrote:
> I must create "export to excel spreadsheet" capability for my pages .
> I will be having java.util.Collection containing search results which I
> have to convert into an excel sheet.Wh
Jim Reynolds wrote the following on 4/7/2006 2:02 PM:
Thanks Rick for the info.
I am running Tomcat 5.5. But for some reason, it is still not happy.
It just prints out the tag like in the page, and does no variable
substitution.
What do you mean by it prints out the tag like in the page? Are y
Thanks Rick for the info.
I am running Tomcat 5.5. But for some reason, it is still not happy.
It just prints out the tag like in the page, and does no variable
substitution.
On 4/7/06, Rick Reumann <[EMAIL PROTECTED]> wrote:
> Jim Reynolds wrote the following on 4/7/2006 1:38 PM:
> > I have
I must create "export to excel spreadsheet" capability for my pages .
I will be having java.util.Collection containing search results which I
have to convert into an excel sheet.What is the best and simplest way to
convert a Collection into excel spreadsheet .
Thanks & Regards
Jim Reynolds wrote the following on 4/7/2006 1:38 PM:
I have the following logic:iterate loop
Depends what servlet and jsp spec you are using. Are you using something
like Tomcat 5.x? If so...
onchange="updateStatus('${index}');" />
--
Rick
http://ww
I have the following logic:iterate loop
The loop is happy and creates nice names and indexed properties.
Problem is, when someone does an update on one of the slices (of the
indexed data), I need to know which one they clicked.
The line updateStatus(
On 4/7/06, olonga henry <[EMAIL PROTECTED]> wrote:
> Tamas,
> I know JSTL exists, but I know that's not a good thing to do, that's why I
> was looking for the options if anybody knew. Again, read my first email
> closely ...I was looking for better alternatives which confirm to MVC
> principles.
On 4/8/06, olonga henry <[EMAIL PROTECTED]> wrote:
>
> Tamas,
> I know JSTL exists, but I know that's not a good thing to do, that's why I
> was looking for the options if anybody knew. Again, read my first email
> closely ...I was looking for better alternatives which confirm to MVC
> principles.
On 4/7/06, olonga henry <[EMAIL PROTECTED]> wrote:
> That's Right, there are multiple issues here that involves
> JTATransactionManager which I can deal with. However what I am asking here
> is more of a design pattern type (between dao layer and business
> logic/service layer) of question on how
Tamas,
I know JSTL exists, but I know that's not a good thing to do, that's why I
was looking for the options if anybody knew. Again, read my first email
closely ...I was looking for better alternatives which confirm to MVC
principles.
On 4/7/06, Tamas Szabo <[EMAIL PROTECTED]> wrote:
>
>
> Furth
This is a very specific situation - you have 2 heterogeneous databases, that
can't be joined, right? I'm talking by my own little experience with this
type of thing, it's best to you work with a search engine in a heterogeneous
environment like yours. Something like Lucene is good (both Hibernate a
>
> On 4/7/06, olonga henry <[EMAIL PROTECTED]> wrote:
> > No, I am using Hibernate 3 and there are a lot of advantages you get
> from
> > using a complete ORM solution like this compared to Ibatis.
> > No, I am forced to use two databases Ticket (MySql) and Employee(AS/400,
> > legacy info). I ha
I recently picked up "Ajax Patterns" from APress, it was good, in
spite of being written by a .net hack. ;-)
Larry
On 4/7/06, Ashish Kulkarni <[EMAIL PROTECTED]> wrote:
> Hi
> I need to buy couple of books, 1 for AJAX, and 2 for
> Webservices,
> I know the basics of Ajax and Webservices, and nee
Larry Meadors wrote:
Now that is what i miss in Hibernate. Using projection queries, there
should be a way to get Map objects out of the box but unfortunatelly i
have to create them from Object Arrays manually or create my own
ResultTransformer (i hated that cause the only way i saw it
Hi
I need to buy couple of books, 1 for AJAX, and 2 for
Webservices,
I know the basics of Ajax and Webservices, and need to
use them in real time application
These are the onces i have seen, need input from
people who have read them so can purchase them
Ajax
1 Ajax Hacks, by Bruce W. Perry Oreill
Rick, I am not trying to be an a**ss, but what he talked about is the most
basic stuff to any programmer. That's what I was pointing towards. Even you
admitted later that you were replying without getting complete hold of the
subject matter.
"... although I wasn't following the thread that closely
olonga henry wrote the following on 4/7/2006 11:33 AM:
Larry, person who talks about Spring, Hibernate and struts and know about
JTA certainly knows that a database is a collection of tables.
You don't have to be an a**ss when someone is just trying to get
clarification. Good luck getting help
Bummer, sucks to be you. Enjoy. :-)
Larry
On 4/7/06, olonga henry <[EMAIL PROTECTED]> wrote:
> No, I am using Hibernate 3 and there are a lot of advantages you get from
> using a complete ORM solution like this compared to Ibatis.
> No, I am forced to use two databases Ticket (MySql) and Employee
Larry, person who talks about Spring, Hibernate and struts and know about
JTA certainly knows that a database is a collection of tables.
On 4/7/06, olonga henry <[EMAIL PROTECTED]> wrote:
>
> No, I am using Hibernate 3 and there are a lot of advantages you get from
> using a complete ORM solution
No, I am using Hibernate 3 and there are a lot of advantages you get from
using a complete ORM solution like this compared to Ibatis.
No, I am forced to use two databases Ticket (MySql) and Employee(AS/400,
legacy info). I have no choice here.
On 4/7/06, Larry Meadors <[EMAIL PROTECTED]> wrote:
hi Antonio,
my web application runs both as Normal and plumtree portal.
so i want to clarify if any performance issues before implementing tiles
I have header,body,footer in my application.
header and footer are common through out application.
only "body" changes for all jsp's.I may be having 50
All you want is a list of tickets by employeeId with the employee name?
You confused us all with the database term, I guess - if I am reading
your question correctly, you mean two tables, not two databases (a
database is a collection of tables).
Keep it simple - use iBATIS (or jdbc) and put the r
That's Right, there are multiple issues here that involves
JTATransactionManager which I can deal with. However what I am asking here
is more of a design pattern type (between dao layer and business
logic/service layer) of question on how do you handle such a scenario where
after gettting list of
Rick Reumann wrote the following on 4/7/2006 10:50 AM:
I've been following this thread,
... although I wasn't following the thread that closely and missed about
the different databases. I'll just shut up and let smarter people
answer. (I will almost bet though that hibernate isn't helping t
Neither. List of open tickets that can belong to any employee.
It's just happens that I want to display the name of the employee instead of
their Ids. I have been telling this in every email. But you people don't
seem to get this.
On 4/7/06, Rick Reumann <[EMAIL PROTECTED]> wrote:
>
> olonga h
On 4/7/06, Carl Smith <[EMAIL PROTECTED]> wrote:
> Hello folks, I got two replies, can someone else offer some more insights on
> this topic?
I've written many applications that only used one ActionForm class,
and just validated it differently. I find it useful to have a single
object that repres
olonga henry wrote the following on 4/7/2006 10:21 AM:
After getting the ticket list, I will have to read the employeeIds first in
memory then make those calls and put 'em in a hashmap so that I can disply
'em properly in the hashmap.
I've been following this thread, and it's amazing how overco
Hello folks, I got two replies, can someone else offer some more insights on
this topic?
Thanks.
It is practical to share the same action form by different
actions, For example (I only listed two actions sharing the same form here,
but the questions apply for multiple actions sha
Thank you Michael for the reply. I like the answer, which agree with what I
thought, but can you explain it in a little detail? The website you attached
doesn't clearly explain your answer "No".
Thanks.
Michael Jouravlev <[EMAIL PROTECTED]> wrote:
On 4/6/06, Carl Smith wrote:
> It is pr
After getting the ticket list, I will have to read the employeeIds first in
memory then make those calls and put 'em in a hashmap so that I can disply
'em properly in the hashmap.
On 4/7/06, olonga henry <[EMAIL PROTECTED]> wrote:
>
> Thanks leon, what you are saying applies well to your sitation
Thanks leon, what you are saying applies well to your sitation, but my
situation is different.
I have to do this first:
List tickets = TicketManager.getTickets( ticketStatus );
now each ticket record has an employeeId associated with it.
Then I will have to go back to 'Employee' for each of them:
On 4/7/06, olonga henry <[EMAIL PROTECTED]> wrote:
> That's what I am talking about this is a situation which needs JTA
> transaction manager otherwise how would spring handle distributed
> transactions.
I think (assume) spring has a built-in support for this (declarative
transaction an all).
I
That's what I am talking about this is a situation which needs JTA
transaction manager otherwise how would spring handle distributed
transactions. I don't even know what do you mean by " good application (at
least a good co-oriented application)
shouldn't use joins or distributed transactions", I
One, or both, of these may help:
1. http://jakarta.apache.org/commons/beanutils/
2. http://cglib.sourceforge.net/
-Dennis
"Neil Meyer" <[EMAIL PROTECTED]>
04/07/2006 01:31 AM
Please respond to
"Struts Users Mailing List"
To
"Struts Users Mailing List"
cc
Subject
Bean Question
Good
Hi All,
I am using Struts 1.0 and struts-validator 1.0.
I have a JSP which has 3 tabs. Each tab body has a different element
inside it. I am using Ajax to dynamically generate the tab body content.
Let me take an example and explain it. Assume there are 2 tabs - Tab1 and
Tab2.
*Controls in Tab1:
Neil Meyer wrote:
> Value=test1,test2
>
> So I want to dynamically tell the system to get
>
> testBean.getTest1
> testBean.getTest2
>
> I really hope there is somebody that can give me some pointers here.
>
If you want to invoke a method named by a string from a class that
instantiates that me
Is htere a way to print a value in html as label from Form bean, without
using bean:write tag?
I cant use the bean:write because it is asking for the bean name.
I have some include jsp files, which may have different form bean
depending on the file where it is included.
So I cant give the fo
I think spring will handle the transactions for you, if you want to do
it yourself, you'll do it in the dao objects, or in case of a
2-phase-commit, start and commit the transaction in the "business
manager" and extend your dao object to support 2-phase commits
accordingly.
However, a good applica
Raghuveer ha scritto:
In our Web application we are using struts,JSP for plumtree web application.
Does there will be any performance issue using Tiles if i migrate from
present normal layout to struts tiles layout
If with "normal" you mean "single JSPs", then yes, obviously there are
some
66 matches
Mail list logo