uma ,
Good Work..
its always better to take a backup of the working directory . hope u know it
well . still reminding ..
- Original Message -
From: uma.k [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Friday, December 17, 2004 11:52 AM
Subject: [SOLVED]
Spring makes it incredibly easy to work with hibernate, if you want to
switch to jdo or ejb3 at a later stage it makes it as easy as it could
possibly be.
There is a page on the hibernate site on the topic.
http://www.hibernate.org/110.html
It also allows you to remove all your transaction
Incidentally EJB3 is going to be largely based on hibernate and sun
have already signaled their intention that JDO and EJB are going to be
dropped and a new standard created most likely playing catchup with
Hibernate.
JDO and EJB are not going to be dropped: they're merged. The next
-- Forwarded message --
From: Behrang Saeedzadeh [EMAIL PROTECTED]
Date: Fri, 17 Dec 2004 17:16:22 +0330
Subject: Re: OJB struts
To: [EMAIL PROTECTED]
For a list of those other people who are satisfied with JDO please
have a look at this thread at TheServerSide.com:
hi,
i obtained an array of DynaBeans from a RowSetDynaClass (thrugh the getRows()
method).
i dont know the names or culumns of the tables (the query was a SELECT * ). the
problem now is how to display the reslults on a jsp page using strut tags, i
thought of using the Logic:Iterate tag, how do
Assuming the RowSetDynaClass is stored as a scoped variable under the
name rowSet you can do:
%@ page contentType=text/html;charset=UTF-8 language=java %
%@ page import=org.apache.commons.beanutils.* %
%@ taglib uri=http://jakarta.apache.org/struts/tags-bean; prefix=bean %
%@ taglib
Hi,
I just read in one of the emails that Login.jsp (using form-based
authentication) can't be made up from Tiles. Is this true? If so, why? Isn't
it all just bunch of dynamic includes?
Thanks,
Yaakov.
-
To unsubscribe, e-mail:
David,
Thanks, I guess I''ll hard code for the demo. This will take up to much
time with the layout I currently have with menu's changing after a login.
The one page logon was simple enough.
Jim
From: David G. Friedman [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
Hi
I am using Velocity 1.4 with Struts 1.2.4.
I have a session scope form and I save the error messages using
saveErrors(HttpServletRequest, ActionMessages) after I validated the
form manually. How do I display the error messages in my velocity
page?
For my other request scope forms, I use the
And more fuel:
http://www.reumann.net/struts/ibatisLesson1.do
liooil wrote:
A bit late, but thanks for all your answer guys.
I knew the topic was large. I knew also that people on this list
are not afraid to share their experience even it's OT border-line.
I appeciate that.
It helps me to point
Hi,
First, thanks for your help Bill. I finally got what I was trying to do by:
1- In the action I store the form name using request.setAttribute(formName,
mapping.getName());
2- In the jsp I retrieve the form object using c:set var=form
value=${sessionScope[formName]} /
-Abdullah
-Original Message-
From: liooil [mailto:[EMAIL PROTECTED]
Sent: Friday, December 17, 2004 1:11 AM
To: [EMAIL PROTECTED]
Subject: Re: OJB struts
A bit late, but thanks for all your answer guys.
I knew the topic was large. I knew also that people on this list
are not afraid to
First of all
Seasons Greeting to all Struts Users
http://web.icq.com/shockwave/0,,4845,00.swf
I am planning the seventh Birds-of-Feather Struts London Networking
for Friday 28th January 2005. (NB: This is a prelimanary date,
it might change next year! )
1) The venue is not yet
Hello world,
What would be the best pratice to get properties from an external file?
(I mean this file is not part of my war).
I'd like it to be read on servelt startup and properties to be be
available in servlet context ...
I though about a struts plugIn , but it seems a bit heavy solution.
-Original Message-
From: Donie Kelly [mailto:[EMAIL PROTECTED]
Sent: Friday, December 17, 2004 9:51 AM
To: Struts Users Mailing List
Subject: Page navigation links
Hi all
Anybody got an example of how to implement a page navigation
link for the
top of a page like
-Original Message-
From: liooil [mailto:[EMAIL PROTECTED]
Sent: Friday, December 17, 2004 10:09 AM
To: [EMAIL PROTECTED]
Subject: external properties
Hello world,
What would be the best pratice to get properties from an
external file?
(I mean this file is not part of my
Presumably you would want such a construct to work regardless of what path a
user took to get to a specific page (assuming there ARE multiple paths in your
app, maybe there aren't). So, if it was me, I'd be thinking a linked list
stored in session. Each page that is presented would append
You might consider doing it all on the client...
html
head
titletest/title
script
function preview() {
lyrPreview.innerHTML = ;
lyrPreview.innerHTML += Some message text...br;
lyrPreview.innerHTML += img src=\file:// + theForm.theFile.value + \;
}
/script
/head
body
Select file, then click button
Presumably you would want such a construct to work regardless of what
path a user took to get to a specific page (assuming there ARE multiple
paths in your app, maybe there aren't). So, if it was me, I'd be
thinking a linked list stored in session. Each page that is presented
would append
Is the path to the config file something you can hard-code? If so, how
about simply a class with a static initializer block to read the config
file, then expose the values through a static getConfig() method
returning a static HashMap? That's about as simple, light-weight and
You might consider doing it all on the client...
html
head
titletest/title
script
function preview() {
lyrPreview.innerHTML = ;
lyrPreview.innerHTML += Some message text...br;
lyrPreview.innerHTML += img src=\file:// + theForm.theFile.value +
\;
}
/script
/head
body
Select file, then click button
You probably need jstl.jar also.
What container and JDK are you using?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Friday, December 17, 2004 2:13 AM
To: [EMAIL PROTECTED]
Subject: Error with JSTL 1.0.6 and struts 1.2.4
Hi all,
I am
Hello,
How can I determine the previous action I executed in Struts. I would like
to know which Action/Screen I came from and appropriately do something in my
application. Is there anyway I could do that?
TIA
Gnan
This
On Friday 17 December 2004 13:25, Jim Barrows wrote:
From: Donie Kelly [mailto:[EMAIL PROTECTED]
Anybody got an example of how to implement a page navigation
link for the
top of a page like so...
Home MainFgorm wizardpage1 wizard page 2
You're looking for breadcrumbs. My steel
You never know when they are going to drop the support.
On Thu, 16 Dec 2004 21:05:57 -0600, Eddie Bush [EMAIL PROTECTED] wrote:
Is there support for Struts 1.2? I'd really like being able to use
1.2.6 in WSAD 5.1.1, but even some 1.1 (Tiles) features get flagged
with warning labels ...
From: liooil [EMAIL PROTECTED]
What would be the best pratice to get properties from an external file?
(I mean this file is not part of my war).
I'd like it to be read on servelt startup and properties to be be
available in servlet context ...
I though about a struts plugIn , but it seems a
I encountered a strange issue that may be relevant to others
After upgrading our JDK from 1.4.2_05 to 1.4.2_06, many of our struts
actions reported the following error:
No getter method for property currentView of bean pagingListForm
I upgraded all our apache-related jars to the most
From: uma.k [EMAIL PROTECTED]
I have a form where the user is given the option to select a file to
upload(normally gif or jpg) before the user submits the file to the
server,
I wanted to show him a preview of his message and image.
How do I do that? Where do I store the image temporarly?
Any
Are there any thoughts on how a form bean property name could conflict
with a JDK release?
Did you recompile the entire project with the new JDK? I wouldn't think
that should matter, but perhaps it does in your case.
-
To
Have you made a clean build? Deleted the work directory of the
jsp-container?
-Ursprüngliche Nachricht-
Von: Mike Darretta [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 17. Dezember 2004 20:21
An: [EMAIL PROTECTED]
Betreff: Struts and JDK 1.4.2_06
I encountered a strange issue
I did a clean build, recompile, etc. Note that I am able to go back to
the previous name currentView, cause the exception, then rename the
property and things would work just fine.
Mike
Durham David R Jr Contr 805 CSPTS/SCE wrote:
Are there any thoughts on how a form bean property name could
Could someone please post an example of using a 'for loop' structure in
a JSP. i need to get the loop limit from the action and then assign
individual 'value' values for a column of checkboxes so that i know
which ones were selected and so that they can be set again when viewing
the page.
-Original Message-
From: Kedar Deshpande [mailto:[EMAIL PROTECTED]
Sent: Friday, December 17, 2004 1:21 PM
To: [EMAIL PROTECTED]
Subject: creating a for loop structure for multibox
Could someone please post an example of using a 'for loop'
structure in
Using JSTL, or Struts
Hi,
I cannt find the correct setup for html:messages to display error messages
from a form's validate method in Struts 1.2.4
For example, if I have something like this in the validate method:
snip
public ActionErrors validate(ActionMapping mapping,
HttpServletRequest request)
i am currently using struts tags and cant find a proper solution. it
would be better to have a simple struts code, otherwise i'll try to use
the JSTL.
thank you
Kedar
Jim Barrows wrote:
-Original Message-
From: Kedar Deshpande [mailto:[EMAIL PROTECTED]
Sent: Friday, December 17, 2004
-Original Message-
From: Kedar Deshpande [mailto:[EMAIL PROTECTED]
Sent: Friday, December 17, 2004 1:52 PM
To: Struts Users Mailing List
Subject: Re: creating a for loop structure for multibox
i am currently using struts tags and cant find a proper solution. it
would be
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, December 17, 2004 1:47 PM
To: [EMAIL PROTECTED]
Subject: Displaying errors messages from validate in V1.2.4
Hi,
I cannt find the correct setup for html:messages to display
error messages from
bu then even if i pass the iterate tag a list of same lenth of required
number of checkboxes, how would i make sure each checkbox has a unique
'value' value so that i know which ones are checked when the form is
sent to the action?
Jim Barrows wrote:
-Original Message-
From: Kedar
If I understand correctly, you will get from an Action an upper limit to
the number of checkboxes to display, and you want each checkbox to be
named 'valueX' where X is the value of the for loop. Some people will
argue, but I don't see where a taglib is really required here...
%
// Assume
-Original Message-
From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
Sent: Friday, December 17, 2004 2:14 PM
To: Struts Users Mailing List
Subject: Re: creating a for loop structure for multibox
If I understand correctly, you will get from an Action an
upper limit to
the
From: Kedar Deshpande [EMAIL PROTECTED]
bu then even if i pass the iterate tag a list of same lenth of required
number of checkboxes, how would i make sure each checkbox has a unique
'value' value so that i know which ones are checked when the form is
sent to the action?
The List would
NO DOUBT!
Let us know as we are making plans to make the same upgrade in early January.
So really only 2 weeks from now and this worries me now.
So you have my attention. :-)
Mick Knutson
Wells Fargo Business Direct
(415) 222-1020
This message may contain confidential
Gnan,
The two basic options are:
1) Hope all browsers visiting your site send the http REFERER field. Not
all do.
2) Make navigation use forms and submit a hidden parameter holding the URL
of the page that kicked out the JSP/HTML/form.
Regards,
David
-Original Message-
From: Shabada,
Fair enough. But, now you are tied pretty securely to Struts. I'm not
saying that's a bad thing or even a concern to most, but it is something
to be aware of.
We all strive for separation and low-coupling of everything these days,
and rightly so, and to me that also means the ability to
-Original Message-
From: Kedar Deshpande [mailto:[EMAIL PROTECTED]
Sent: Friday, December 17, 2004 3:19 PM
To: Struts Users Mailing List
Subject: Re: creating a for loop structure for multibox
Both solutions seem like they will do the trick. thank you
for giving me
two
It's also fair to tell you that you can do the same thing with JSTL and
NOT be tied to Struts (assuming you abstract the ActionForm a little and
don't do anything with it that can't be done with a normal bean later).
Kind of a best of both worlds answer I guess, but I think JSTL tends
to be
Well, then you have JSTL... :)
And, struts tags don't require struts.
As I just wrote in another reply :)
Yeah, your right about the Struts tags, but I always worry that there
might be something under the covers that ties it to Struts. Sure, I
could look at the source, but I've never wanted to
Frank,
I'll agree with you on not wanting taglibs to be tied directly into Struts.
Why? Because I like the idea of modularity. I think this comes from
skimming over struts-chains and thinking (GASP) there are things I could do
without using the traditional struts at all. *shivers in fear AND
Donie,
There are plenty of breadcumb packages on the web:
1) http://www.osjava.org/trail-taglib/
Last updated April 2004
2) http://coldjava.hypermart.net/servlets/navtag.htm
Unknown when last updated. Seems to show paths
but not work with dynamic navigation.
Do I use them? No, I just have
It actually strikes me as VERY curious that such a thing isn't already
done by Struts (if in fact it isn't). Thinking about it, I know that
you can get the ActionMapping that was last executed through request...
Wouldn't that give you all you need?
--
Frank W. Zammetti
Founder and Chief
Since someone recently asked me about this ...
I didn't figure out a solution, but I figured out a workaround
that was good enough for my purposes.
In the onclick event handler for the link I call
this.childNodes.item(0).nodeValue which gets the body
of the link - that is the text that is
Hi Wendy,
Thanks for the solution. Yes there are 3 images that the user can preview.
But how do I activate a clean up process? There might be 1000's of images
that are actually used. Are you saying to do this job manually?
Uma
-Original Message-
From: Wendy Smoak [mailto:[EMAIL
Hi Frank,
Thanks for the reply. Your solution works good if I have to show preview in
the same page but I what if I need to show preview in the next JSP? How do I
carry the values/images?
Uma
-Original Message-
From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
Sent: Friday, December 17,
Hi dear,
I am struts newbie. I want to use data source defined in stuts-config.xml in my
bean. How can I do it ?
Please help.
Amit Gupta
54 matches
Mail list logo