Hi,all
I have got two projects A & B, they have got their seperate tiles xml files.
Now sometimes i have to merge them as one project and buld it.
Now my problem is that for tile i am not able to know whether i can specify two xml
files or i have to merge them.
There is same problem with app
Hi,
I want to generate some reports in my application.
I am currently using Struts as a framework.
The current architecture for generating reports uses Crystal
Report 9.0
The problem faced with this are
1. The data in the crystal report can
It sounds like you have enough ways to do it and just asking what would
be the best way or if there is another way to more efficiently handle
your situation. Yes?
I cannot think of one personally. If your only means is HTTP, your only
choice is evaluating the response to determine if something ex
Hi,
Not sure if I can explain it, but I will try.
Basically I have ActionForm1 with Action1 and ActionForm2(extends
ActionForm1) with Action2
AF1 has get/set method for some arrayList.
Now I have a form that posts to Action2 and uses values from AF2, however,
an arrayList is beng pulled from AF1
Hi,
Not sure if I can explain it, but I will try.
Basically I have ActionForm1 with Action1 and ActionForm2(extends
ActionForm1) with Action2
AF1 has get/set method for some arrayList.
Now I have a form that posts to Action2 and uses values from AF2, however,
an arrayList is beng pulled from AF1
Hai,
I went to this link but this document seems to have been removed.
Is there is any other link?
Regards
Shailender Jain
Lionel wrote:
> Lionel wrote:
> > sougata wrote:
> >> Hi All
> >> I have one question.Can I have 2 struts-config.xml for one web
> >> application.
> From: "Barnett, Brian W." <[EMAIL PROTECTED]>
> To: 'Struts Users Mailing List'
> <[EMAIL PROTECTED]>
> Subject: RE: using java.util.Map
> Date: Tue, 15 Jun 2004 13:44:00 -0500
>
> If you don't use the collection attribute, and you
> want different values and
> labels in the list, you need to d
DynaValidatorForm has been refactored slightly to make it easier to override
the key to use for the validator plugin (available in the nightlies and will
be in next release of Struts). If you extend DynaValidatorForm and override
the getValidationKey() method maybe you could use combination of the
Hi,
Alternatively the more standard way is to have a custom tag that you can
include in page within tag or before any other tag of the page is
executed. And check for the session validity in the tag handler class
you can find this implementation in struts-example application.
V.K.Ram
www.m7.com
This solution, Wendy, is just a less sophisticated version of what I
said. I think this is the way to go, however. Not that the exist() method
of File works for files on "foreign" computers.
Michael
At 03:13 PM 6/15/2004, Wendy Smoak wrote:
> From: Hookom, Jacob [mailto:[EMAIL PROTECTED]
> Act
That does not make any difference, Wendy. Granted that if you want to
collect a resource with a URL that is different than using a file system
protocol in some senses. However, for purposes of what I said, it makes no
difference. The code I get these images with in fact is the following
(sub
Render Time - Missing Images
#prdNoImg {
width: 300px; height: 75px;
background-image: url(img/bg.gif);
background-repeat: no-repeat;
}
#prdImg {
width: 300px; height: 75px;
background-image: url(img/b_search.gif);
background-repeat: no-repeat;
}
You would define the #prdImg's b
> From: Hookom, Jacob [mailto:[EMAIL PROTECTED]
> Actually, I think you can do this pretty easily with CSS...
Here's a thread that might be helpful...
http://www.webmasterworld.com/forum91/1871.htm
--
Wendy Smoak
-
To unsubscr
Actually, I think you can do this pretty easily with CSS...
Do all your images have the same dimensions?
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 15, 2004 4:34 PM
To: Struts Users Mailing List
Subject: RE: [OT] RE: Rendering Images
> From: mike
It does, thank you. I was just starting to come to the same basic approach
on my own, you verified it's probably the right way to go. Fortunately I
already store the sessionID in my user table (for debugging purposes of a
previous problem, but I just left it in). So now I just have to add the
> From: mike [mailto:[EMAIL PROTECTED]
> I deliver all resources with the following code (you have to
> fill in some
> details). You can easily see where you can test for the
> availablitlity of
> the image. Anyway, you can always test with, as I said
> before the exists() method of the Fil
I am using the Struts framework. I have a JSP where a
collection of JavaBeans are received in a request
scope.
code:
<%Collection threadRows = ( Collection
)request.getAttribute( "ThreadBeans" );%>
David,
I too am having a similar concern, albeit, with the DispatchAction class.
I am currently have a form that is backed by a DynaActionForm and validation
occurs through the Validator pluggin.
When binding the validation routine to the action by specifying
"validate='true'" in my Action confi
I deliver all resources with the following code (you have to fill in some
details). You can easily see where you can test for the availablitlity of
the image. Anyway, you can always test with, as I said before the exists()
method of the File class.
public class InitResponse {
public InitRes
When you're talking a dataload of over 1 million items every month or so, it
gets to be very time consuming and tedious to go behind suppliers to insure
their "data" is always correct :-). Unfortunately, its kind of the nature
of our business.
At any rate, have an example of how to put a filter o
okay, the other link was
http://jakarta.apache.org/struts/userGuide/building_view.html#indexed
hope this helps.
ATTA
- Original Message -
From: "atta-ur rehman" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>; "Asif Rahman"
<[EMAIL PROTECTED]>
Sent: Tuesday, June
Hellow Asif,
"Indexed Properties" is exactly what you need here. For more info, please
search thru the mail archive at:
http://www.mail-archive.com/[EMAIL PROTECTED]/
or at:
- Original Message -
From: "Asif Rahman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 15, 20
> From: CRANFORD, CHRIS [mailto:[EMAIL PROTECTED]
> That is what I'd like to do. Have an image which is
> rendered in the case
> when the defined image cannot be loaded. the problem I have
> is that our
> database record says that an image should exist, but the
> manufacturer/supplier didn't
Initially we had to use (\d{1,4})|(FEW)|(few)|(MANY)|(many) and eventually
we found that it is accepting 0(zero) when we enter a integer value as
0(zero) or which is invalid.
anybody have any idea about how to achieve the above using regular
expression. I tried finding any document to refer
Hi Im using shown below to iterate through an arraylist (sitesList) in
my actionform (OpportunitySitesForm). This arraylist contains a number of Site
objects which have the properties siteName, address1, and city. This is getting
displayed correctly. Now when processing the form, I am wonder
I had to do something like this and I did use the HttpSessionListener
interface (requires 2.3 servlet API support in your container) as part of
the solution. However, it alone is not sufficient. The callbacks for the
session creation and destruction events happen so early and so late
respectively t
We have the same environment and simply put a filter on the image web app to
catch *.jpg, then your main app doesn't have any logic to worry about, or
even "pre-fetch" images every time which would be a HUGE waste of resources.
-Original Message-
From: CRANFORD, CHRIS [mailto:[EMAIL PROTEC
I am trying to implement a LookupDispatchAction class, and I'm not sure if
I'm trying to use Form validation in an unintended manner.
I see that the LookupDispatchAction class is designed to handle multiple
methods, but I do not see a corresponding way to handle multiple
validations. As the value
Ken,
That is what I'd like to do. Have an image which is rendered in the case
when the defined image cannot be loaded. the problem I have is that our
database record says that an image should exist, but the
manufacturer/supplier didn't provide it to us... thus I need a way to check
if that imag
Hi
I have an ActionForm class that has a List as a property. The ActionForm is
of type request. If I populate the ActionForm and show it in a JSP page it
shows correctly the values. But when I try to process the information that
is coming from the form Struts throws the following exception:
java.
Wouldn't this do it?
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/servletapi/javax/servlet/http/HttpSessionListener.html
Frank Zammetti wrote:
Hello all... is there any good way to enumerate all sessions under a
given webapp? I know there used to be the SessionContext, but that has
since been
Hello all... is there any good way to enumerate all sessions under a given
webapp? I know there used to be the SessionContext, but that has since been
deprecated as of servlet spec 2.1 I believe... Is there anything in Struts
that might help?
Basically I'm just looking for an accurate way to d
http://jasperreports.sourceforge.net/
"Ricardo Andres Quintero"
<[EMAIL PROTECTED]>
06/15/2004 03:28 PM
Please respond to
"Struts Users Mailing List" <[EMAIL PROTECTED]>
To
<[EMAIL PROTECTED]>
cc
Subject
Printing reports
Good afternoon.
I am a struts user. i haven't ne
Good afternoon.
I am a struts user. i haven't never printed reports,
im making some jsp's which show some data and now,
i must print them as reports.
Could anyone tell me how to do it?
someone who has sometimes done it please.
--
Ricardo Andrés Quintero R.
Ubiquando Ltda.
-
Ok, thanks. I just thought that could be some way of doing this with java.util.Map
instead of any collection.
Henrique Viecili
- Original Message -
From: Barnett, Brian W.
To: 'Struts Users Mailing List'
Sent: Tuesday, June 15, 2004 3:44 PM
Subject: RE: using java.util.Map
If you don't use the collection attribute, and you want different values and
labels in the list, you need to define two separate collections, one for the
values and one for the labels.
ArrayList statesValues = new ArrayList();
statesValues.add("RS");
statesValues.add("SC");
statesValues.add("PR");
> I have forms that insert and modify objects.
> When I modify an object I need that the form be filled with
> the object information.
>
The "value" attribute is not necessary here. The Struts framework will
retrieve the value of the "name" property from the form bean and populate
your form
Hi
I have forms that insert and modify objects.
When I modify an object I need that the form be filled with the object
information.
After is filled if the user changes something, submits the form and there is
a validation error I would like to mantain the values the user changed that
are sto
Ok, but probably 'allSchools' is actually a collection of beans that have
getSchoolId() and getSchoolName() methods, right?!
What I have is a java.util.Map like this:
Map states = new HashMap();
states.put("RS","Rio Grande do Sul");
states.put("SC","Santa Catarina");
states.put("PR","Paraná");
Navjot:
that way it is working fine by not accepting 0(zero)as a first value but
also it is not acceptiong any non-zero integer like 1,11, also it
accepts value more than 4 digits.
Any clue where I'm doing wrong or any suggestion?
appreciate if you can let us know any document link contains
Here is an example that we have used and it works:
-Original Message-
From: Henrique VIECILI [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 15, 2004 12:00 PM
To: Struts Users Mailing List
Subject: using java.util.Map
Does anyone know howto use the tag with the values and lab
Does anyone know howto use the tag with the values and label inside a
Map?
I´ve tried this:
but it didnt work...
Any sugestions?!
Henrique Viecili
I'm curious if anyone has used or knows of an open-source image rendering
servlet that permits rendering a "no image found" image file if the
referenced image to be rendered does not exist on disk.
Thanks
___
Chris Cranford
Programmer/Developer
As you suggested, setting validate to false worked. Strange it has never
happened with any other forms in my app. Thanks for your help
Ciaran
-Original Message-
From: ksitron [mailto:[EMAIL PROTECTED]
Sent: 15 June 2004 17:59
To: Ciaran Hanley
Subject: Re: Form Validation Bef
Ciaran Hanley wrote:
> Hello,
>
>
>
> I have a simple form in my application which I am having trouble with.
>
>
>
> On entering the action class and forwarding to the JSP I see error
> messages which should only appear when the form has been validated
> after submitting.
do you check that the for
It seems that it is rather easy to use XSLT with Struts.
Two plug-in are available StrutsCX and stxx
I will wish to have returns on their use:
- which is the easiest tool for a XSLT beginner ?
- is it possible to use simultaneously JSP and XSLT with the t
Ciaran:
Try specifically adding "validate=false" and see what happens..?
Geeta
> -Original Message-
> From: Ciaran Hanley [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 15, 2004 11:28 AM
> To: 'Struts Users Mailing List'; [EMAIL PROTECTED]
> Subject: RE: Form Validation Before Submit
>
This is not the case with my struts config, I have other forms which are
much more complex which work fine in the app yet this much simpler one
attempts to validate before any data is even entered yet I cannot figure it
out.
Ciaran
-Original Message-
From: ksitron [mailto:[EMAIL PROTECTED
Tim:
Have you thought about using anchor tags..? May not be a pretty solution, but could be
made to work i think..?
Geeta
> -Original Message-
> From: Slattery, Tim - BLS [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 15, 2004 11:25 AM
> To: Struts User List ([EMAIL PROTECTED])
> Subje
Martin,
The only JavaScript I have in this particular form is that which is
generated with Struts validator
The xml for this is just text box validation
Ciaran
-Original Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: 15 June 2004 16:09
To: [EM
I have a rather long, involved form that breaks into several sections. Error
messages are displayed at the top of each section, if an error was made in
that section.
The page is long enough that you have to vertically scroll to see the whole
thing. So when an error message is displayed for a secti
In your struts-config.xml, if you have the validate="true" set. Then,
the validate method of your form will be
called before your action.execute method is called.
Ciaran Hanley wrote:
Hello,
I have a simple form in my application which I am having trouble with.
On entering the action class and
Hello,
I have a simple form in my application which I am having trouble with.
On entering the action class and forwarding to the JSP I see error messages
which should only appear when the form has been validated after submitting.
I cannot figure out why this is appearing as all that is call
If you mean how can you use a tiles definition as an action forward.
Use a blank action that forwards to your definition,
All the action does is returns a forward called success or whatever you
choose.
On 15 Jun 2004, at 15:50, Bullard, James wrote:
1.) Is there any way to have a
When I remove the tag:
, the page renders with no problems.
"Geeta Ramani" <[EMAIL PROTECTED]>
06/15/2004 09:24 AM
Please respond to
"Struts Users Mailing List" <[EMAIL PROTECTED]>
To
"Struts Users Mailing List" <[EMAIL PROTECTED]>
cc
Subject
RE: Accessing Array element while iterat
> > 1.) Is there any way to have a global-forward forward to a tile, It
> always
> > tells me that such a path does not exist, meaning that rather than
> recognize
> > the page as tile def it thinks it is a page.
>
> Hmm not sure what is wrong. You could try adding contextRelative="true"
> to
> I am in the process of creating my login page. I want to use struts to
> produce a form, I also want to handle the authentication myself
> because their are some advanced things I wish to do, for instance,
> my login form makes certian they are an active user. If they are a
> suspended user, it w
ah, in that case does the page render ok if you take out the iterate tag entirely?
> -Original Message-
> From: Geoff Simonds [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 15, 2004 9:32 AM
> To: Struts Users Mailing List
> Subject: RE: Accessing Array element while iterating through Map
None of the iterate section is rendered. My page header is displayed and
then the page stops midway through an tag well before the iterate
tag is encountered.
"Geeta Ramani" <[EMAIL PROTECTED]>
06/15/2004 09:17 AM
Please respond to
"Struts Users Mailing List" <[EMAIL PROTECTED]>
To
"Stru
Jeremy,
Have you looked at the SecurityFilter project at
http://securityfilter.sourceforge.net/ ? It may provide you with what you are looking
for.
HTH,
Todd
>
> From: Jeremy Cowgar <[EMAIL PROTECTED]>
> Date: 2004/06/15 Tue AM 07:35:45 EDT
> To: "'Struts Users Mailing List'" <[EMAIL PROTECT
oh, wait a minute. When you said "When the page is rendered, it draws a bit of the
page", what exactly did you mean? Did you mean *none* of the iterate bit was rendered?
I thought otherwise (and was hoping it was a problem with data rather than syntax..)
> -Original Message-
> From: Geof
The rendered page source stops well before the tags that are in question.
Almost like it errors and then dumps the page buffer.
"Geeta Ramani" <[EMAIL PROTECTED]>
06/15/2004 08:52 AM
Please respond to
"Struts Users Mailing List" <[EMAIL PROTECTED]>
To
"Struts Users Mailing List" <[EMAIL PRO
-Original Message-
From: Venkat Kolla [mailto:[EMAIL PROTECTED]
Sent: 15 June 2004 14:07
To: [EMAIL PROTECTED]
Subject: Pls Pls Help Create different sessions in parent and child
windows using same action.
Importance: High
Hi,
I have a very serious problem with my application.
I have
Hi Geoff:
Did you take a look at the rendered page source?
Geeta
> -Original Message-
> From: Geoff Simonds [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 15, 2004 8:57 AM
> To: Struts Users Mailing List
> Subject: Re: Accessing Array element while iterating through Map
>
> >
> Whe th
I am wondering if I asked a stupid question or if my question isn't clear.
Can someone give me some feedback or a link to help me with a solution.
Geoff Simonds <[EMAIL PROTECTED]>
06/14/2004 02:00 PM
Please respond to
"Struts Users Mailing List" <[EMAIL PROTECTED]>
To
[EMAIL PROTECTED]
c
I had the exact same problem. See
http://www.mail-archive.com/[EMAIL PROTECTED]/msg01288.html
for the solution. If you still have questions, you can send email
to me.
Dennis
"Rajat Pandit, Gurgaon"
<[EMAIL PROTECTED]>
06/15/2004 02:49 AM
Please respond to
"Struts Users Mailing List" <
The query itself :-) I applied a rownum limit on the query using nested
views that that helped expedite the transfer of only the necessary records
from the database layer to the java layer as objects of BasicDynaBeans.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
I'm curious. When I proposed the
use of RowSetDynaClass yesterday, you replied that it wasn't fast enough.
What changed?
Dennis
"CRANFORD, CHRIS"
<[EMAIL PROTECTED]>
06/15/2004 01:46 AM
Please respond to
"Struts Users Mailing List" <[EMAIL PROTECTED]>
To
'Struts Users Mailing Lis
> -Original Message-
> From: Rick Reumann [mailto:[EMAIL PROTECTED]
>
>
> Trust me this isn't an attempt to open up a whole flame war. I'm just
> curious how many of you have messed with Spring and what your
> thoughts
> concerning it are.
>
> I've been looking at it some and I do see
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Adam Lipscombe wrote:
| Thanks, but this produces the error message:
| "javax.servlet.ServletException: Cannot retrieve mapping for action
| /j_security_check"
|
| As far as I know TC should treat the "jsecurity_check" action
specially - it
| should kno
Lionel wrote:
> sougata wrote:
>> Hi All
>> I have one question.Can I have 2 struts-config.xml for one web
>> application.
>
> yes.
I forgot to paste this:
http://otn.oracle.com/products/jdev/howtos/10g/StrutsMultiConfigs/struts_multiconfig_howto.html
--
then where shall i put the xml files.i mean where to specify the path of
struts-config.xml and wat will be the dir structure
-Original Message-
From: news [mailto:[EMAIL PROTECTED] Behalf Of Lionel
Sent: Tuesday, June 15, 2004 5:39 PM
To: [EMAIL PROTECTED]
Subject: Re: can i have multiple
sougata wrote:
> Hi All
> I have one question.Can I have 2 struts-config.xml for one web
> application.
yes.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Return Receipt
Your Re: Charts with struts
document
:
FYI, the JSTL equivalent:
import javax.servlet.jsp.jstl.sql.Result;
import javax.servlet.jsp.jstl.sql.ResultSupport;
private Result result;
public PagedTableBean(Connection conn,
String sql,
long pageNumber,
long pageSize) throws
Hi All
I have one question.Can I have 2 struts-config.xml for one web application.
Thanks
Sougata
-Original Message-
From: news [mailto:[EMAIL PROTECTED] Behalf Of Lionel
Sent: Tuesday, June 15, 2004 5:22 PM
To: [EMAIL PROTECTED]
Subject: Re: security roles
Zhang, Larry (L.) wrote:
> (2
Zhang, Larry (L.) wrote:
> (2)also say a manager logon our sites, I can obtain the info for this
> user such as "managerFlag", and then where should I put the logic to
> decide whether the user is a manager or an employee, and how to map
> this user to a security-role defined above?
this is a webs
I am in the process of creating my login page. I want to use struts to
produce a form, I also want to handle the authentication myself because
their are some advanced things I wish to do, for instance, my login form
makes certian they are an active user. If they are a suspended user, it
will di
Thanks, but this produces the error message:
"javax.servlet.ServletException: Cannot retrieve mapping for action
/j_security_check"
As far as I know TC should treat the "jsecurity_check" action specially - it
should know that this is a authentication request. It seems to me that TC is
not doing th
try this.
On 15 Jun 2004, at 11:15, Adam Lipscombe wrote:
Folks,
Apologies - this may be a Tomcat issue rather than Struts.
I am trying to configure Tomcat FORMS based authentication with a JDBC
realm
(MySQL). I have added the MySQL driver to the server.xml and
configured the
Login.jsp page th
Folks,
Apologies - this may be a Tomcat issue rather than Struts.
I am trying to configure Tomcat FORMS based authentication with a JDBC realm
(MySQL). I have added the MySQL driver to the server.xml and configured the
Login.jsp page thus:
>
>I hope I interpreted your problem correctly.
Great, that was exactly what I was looking for!
Everything works fine now, without any code change :)
Thanks a lot,
Xavier Cosyns,
>-Original Message-
>From: Erwin Cabral [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, June 15, 2004 3:15 AM
>T
Not off the top of my head since I'm still new to using this class. I'll
see if I can come up with an answer later today. I've got to finish this
project up and have it DEMO-ready in less than 5 hours... :-/ .. And not
having any sleep doesn't help matters :-)
Chris
-Original Message-
F
Hey chris,
This seems like a perfectly logical way to do it, but the problem that I
came across for a generic query builder, I wouldn't know the name of the
record (column name) and hence I used the dynaclass. So if don't know the
name of the column how do I go about getting the value (property) fr
I'm no expert on most other databases, so I couldn't say 100% for sure, but
what you could do is define some public static int values on this class that
you use to define different database types, for example:
public static final int DATABASE_ORACLE = 1;
public static final int DATABASE_MYSQL = 2
I don't use the display tags so couldn't tell you. I simply define by bean
using the struts bean:define tag and then access my bean's properties using
the bean:write method or logic taglibs. For example, my table contains a
field called item_number. I access it like as follows:
Your it
Rick,
i didn't tryed it myself on production (only runing the examples)
but with jsf-spring-bridge, you are able to use
JSF and its taglib in spring.
here it goes:
http://jsf-spring.sourceforge.net/
Cheers,
Matthias
> -Original Message-
> From: Rick Reumann [mailto:[EMAIL PROTECTED]
>
87 matches
Mail list logo