I wonder if it is a proper way to do it because
the 1st query displays a no of rows with different group ids.
Can the pass a value to Action?
If it can, it is excellent.
Should it be done like this?
change the layout from a no of links
to a no of forms
In each form, it has hidden value of group
--- Begin Message ---
if you deployed the war then check in which name it is deployed in the your
tomcat context and try with that name.
From: Swapnil Patil [mailto:[EMAIL PROTECTED]
Sent: Thu 9/1/2005 12:14 PM
To: Struts Users Mailing List
Subject: Re: resource
Hi Nirmala,
You might have some errors in struts servlet mapping.
check your web.xml with
http://www.reumann.net/struts/lesson1/step7.do
.
On 9/1/05, Nirmala Dhara <[EMAIL PROTECTED]> wrote:
>
> Hi,
> I am new to struts. I tried http://www.reumann.net/struts/lesson1.doexample
> with tomacat. I
Hey guys.
I have alot of service objects called from Struts, and
each have a good deal of service methods. Service
methods mainly do business logic and talk to DAO
objects.
Question:
I've taken the approach of service methods having the
responsibility of instantiating DAO objects locally
and usin
I retrieve a group id by JSP.
When user clicks a link
Before another page is shown, in my struts-config.xml,
I try to make a ActionForward function to capture the group_id
and then update a session attribute .
Then the resulting jsp is like this
Is this a proper way to do this?
I do not kn
Depends on the size of your project, the features you've used and how you've
developed it. The following notes should help you assess it yourself:
Notes on upgrading from 1.1 to 1.2.4:
http://wiki.apache.org/struts/StrutsUpgradeNotes11to124
Notes on upgrading from 1.2.4 to 1.2.7:
http://wiki.apac
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
How many man hours are associated with moving from 1.1 to 1.2.7? What
are the major challenges?
- -Randy
On Aug 31, 2005, at 4:09 AM, Ted Husted wrote:
I think the situation is similar to which JDK people use. Right now,
the
bulkof the marketpla
peru cheppanu wrote:
Thanks for replying me.
The basic idea is knowing the need for tag libraries.. for which the
explanation was given as reusability.
In my opinion, the purpose of tags, besides reusability (after all,
plain objects and methods are reusable and easier to implement), is
r
Thanks Ed, I will give this a shot
From: Ed Griebel <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List"
To: Struts Users Mailing List
Subject: Re: Trim all fields before validation
Date: Wed, 31 Aug 2005 16:13:56 -0400
I just checked the Struts source code, and getMap() returns a
refer
Folks,
I am trying to have all my form fields to have a title. The way I
approached this was to pass title information to the html:* tags like below.
I have the hints.properties file in the classes folder.
I separated all the title related keys to hints.properties. The problem
with this appr
I just checked the Struts source code, and getMap() returns a
reference to the internal hash map, so changes to items in the map
will be reflected in the form bean.
-ed
On 8/31/05, Dilip Ladhani <[EMAIL PROTECTED]> wrote:
> That's correct Ed, but there is no way to set it back, unless I modify th
That's correct Ed, but there is no way to set it back, unless I modify the
code, right?
From: Ed Griebel <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List"
To: Struts Users Mailing List
Subject: Re: Trim all fields before validation
Date: Wed, 31 Aug 2005 15:48:30 -0400
If you don't
Wendy Smoak wrote:
I dropped a (Servlet 2.3) Struts 1.2.7 + Tiles webapp into a fresh
Tomcat 5.5 install, and started seeing directory listings of contents
under WEB-INF.
Tomcat properly refuses to serve any of the files; clicking on any of
them gives the usual 404 that you'd get if you const
If you don't want to write javascript to do it, Frank's suggestion
looks like your best bet, but I've only looked at the Javadoc not the
code behind it.
If you want to brute-force it, you can certainly get the map out of a
DynaForm easily enough:
Map values = (DynaValidatorActionForm form).getMap(
I dropped a (Servlet 2.3) Struts 1.2.7 + Tiles webapp into a fresh Tomcat
5.5 install, and started seeing directory listings of contents under
WEB-INF.
Tomcat properly refuses to serve any of the files; clicking on any of them
gives the usual 404 that you'd get if you constructed a URL to some
I still need to look at Frank's suggestion. Thanks for your suggestions
Frank and Joe.
So Joe, you would trim all the fields using javascript right? I understand
your suggestion. I was hoping that just before I call validate in my action,
I could write a generic loop to loop around the keyset
Hi,
I am new to struts. I tried http://www.reumann.net/struts/lesson1.do example
with tomacat. I am getting error
"The requested resource (/nstart) is not available.", when I tried to run it
(http://localhost:8080/nstart)
tocat -- 4.1 version
struts -- 1.2.7 version
I am able to run another applic
I think I should try to explain my problem a little better. After
some debugging and searching I found out that my url generation
within portlet is the problem.. specifically
channel.setLocation("Login.do?method=selectCMAForm&cellPointId=" +
form.getChannel());
It just resets my TreeView but dose
At 2:49 PM -0400 8/31/05, Dilip Ladhani wrote:
Hello all,
I was searching for the best way to do this.
I want all the fields on my form to be trimmed before they are sent
for validation (I call validate from my action class). What's the
best way to do this if I have DynaValidatorActionForm?
Take a peek at the ParameterMunger filter in Java Web Parts:
http://javawebparts.sourceforge.net/javadocs/javawebparts/filter/ParameterMungerFilter.html
This will do what you want I think. If you decide to use it and have
any suggestions, they are always welcome :)
Frank
Dilip Ladhani wrote
Hello all,
I was searching for the best way to do this.
I want all the fields on my form to be trimmed before they are sent for
validation (I call validate from my action class). What's the best way to do
this if I have DynaValidatorActionForm?
thanks,
Dilip
--
Hi
i have a properties file where in i define all the
connection options like
date format=iso
time format=hms
I am having problem with this file when running in
turkey because of space character.
is there a way i can convert this properties file to
work in all languages
Ashish
___
I have used the tag in an application that is very information
sensitive. The idea is that the sensitive information does not stay
displayed unused for nothing. This was a user requirement.
BTW, you don't need an iframe.
Also, you can never catch all instances where a logout will occur, such as
On Wed, 2005-08-31 at 12:46 +0100, Adam Hardy wrote:
> Emmanouil Batsis on 31/08/05 12:37, wrote:
> > Sławek Tuleja wrote:
> >> question: but how to evoke Logoff action when user closes browser?
> >
> > In general you dont :-) You just wait for the session to expire using
> > a session event liste
Emmanouil Batsis on 31/08/05 12:37, wrote:
Sławek Tuleja wrote:
question: but how to evoke Logoff action when user closes browser?
In general you dont :-) You just wait for the session to expire using
a session event listener. However, if the client supports javascript,
you can catch the onclo
Sławek Tuleja wrote:
question: but how to evoke Logoff action when user closes browser?
In general you dont :-) You just wait for the session to expire using a
session event listener. However, if the client supports javascript, you
can catch the onclose event and perhaps submit an XMLHTT
when one user is logged in to application - other users can not login
when user push the logoff button application envoke Logoff action and do:
- session.invalidate();
- LogoffJDBC.logout();
where: logout()
{ ...
stmt.execute("UPDATE database_name SET logout='yes');
I think the situation is similar to which JDK people use. Right now, the
bulkof the marketplace is probably using 1.3, with 1.4 gaining ground, and
1.5 still considered the newbie.
Likewise, from what ?I hear, it seems that the bulk of the Struts
marketplace is still using 1.1, with 1.2 gaining
Hi Ranjay,
I've also used Struts 1.1 extensively.
However, I believe Struts 1.2 has some advanced features (like
centralized exception handling etc.). So I'm looking for feedback on how
Struts 1.2.x otherwise.
Hopefully Craig will read this mail and clarify my doubt.
Regards,
Sourav
-Origi
I have used Struts 1.1 extensively without hiccup but you should take a
advice of Craig himself he is one who created this framework.
Ranjay
-Original Message-
From: souravm [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 31, 2005 12:27 PM
To: Struts Users Mailing List
Subject: RE: T
Hi Ranjay,
I believe after 1.1 there are already 1.2.x versions released. Do you
mean to say none of them are stable ?
Regards,
Sourav
-Original Message-
From: SINHA Ranjay [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 31, 2005 12:02 PM
To: Struts Users Mailing List
Subject: RE: Th
Hi Ranjay,
I believe after 1.1 there are already 1.2.x versions released. Do you
mean to say none of them are stable ?
Regards,
Sourav
-Original Message-
From: SINHA Ranjay [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 31, 2005 12:02 PM
To: Struts Users Mailing List
Subject: RE: Th
Hi Ranjay,
I believe after 1.1 there are already 1.2.x versions released. Do you
mean to say none of them are stable ?
Regards,
Sourav
-Original Message-
From: SINHA Ranjay [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 31, 2005 12:02 PM
To: Struts Users Mailing List
Subject: RE: The
33 matches
Mail list logo