Hai,
Here You can use Synchronizer - Token Design Pattern.
Thanks & Regards
Pramod.
- Original Message -
From: "Gomathi" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Wednesday, September 13, 2006 10:03 AM
Subject: insertion problem view
hai,
i am inserting new row
for "document.formname.value" to be worked you need to use
mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 12, 2006 4:50 PM
To: user@struts.apache.org
Subject: Submitting forms with javascript in struts
Hello,
I do have a problem, because I don't know how to submit a form with
javascript
in s
put the actionform scope in session in your mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 12, 2006 4:44 PM
To: user@struts.apache.org
Subject: Validation and Form Collections
Hello Everyone,
I have a question regarding validation.
I have JSP that uses the Html:Options tag to populate a DDLB
Try struts tokens.
-Original Message-
From: Gomathi [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 13, 2006 12:33 AM
To: Struts Users Mailing List
Subject: insertion problem view
hai,
i am inserting new row into database using struts?Its perfectly
inserted.
Suppose i am right c
hai,
i am inserting new row into database using struts?Its perfectly inserted.
Suppose i am right click the mouse then press refresh again row inserted once
again(same value).
How to solve this probleem.
thanks and advance
gomes
David,
struts-form.tld was deprecated before Struts v1.0 and the current version is
1.2.9. That suggests the documentation you are following is frightfully old
(like 2001, 2002 old). If that is the case, keep in mind any references to
perform() were replaced by execute() in actions. That was a
Hi,
would like to check if there is existing tag available to allow method
invocation from JSP directly, something similar to this :
"Call JavaBean methods from JSP 2.0 pages "
http://www.javaworld.com/javaworld/jw-05-2003/jw-0523-calltag.html
thanks
lx
David Grundberg wrote:
You are right about the jakarta commons fileupload and struts, you
can't use commons fileupload in an action, because struts have already
taken care of the multi-part parsing. You do have the option to make a
servlet and commons fileupload, where you will have total contr
leo mj wrote:
mallik,
use java.lang.Integer for integer and java.util.GregorianCalendar for Time.
Yeah, but you don't really want to do that, either. You're best bet is
to use String types for form-bean values, and convert to a different
type while handing off to a model layer. Reasoning
Jeremiah Johnson wrote:
I would like to upload multiple files on a single web page by having
multiple elements. The exact number of these are different
depending on the user who is using the application. So I want to store
this in an array (FormFile[]) in order to have N number of files
uploa
John De Lello wrote:
I have JSP that uses the Html:Options tag to populate a DDLB. The action
Populate a what? :-)
class creates the collection and puts it in the Form. All works fine until
the form validation fails. When I come back from the form validation, I am
getting a "Bean define canno
leo mj wrote:
hi all,
I think some fellow member has asked the same question.But I didn't find any
reply for the old thread.
So i have a scenario
I have a login page with
1.Username
2.Password
3.Language
Based on the language selected I have to reload the page.
I have used interna
Hello
I'm new in struts, and in a example, the jsp is the next:
<%@ taglib uri="/WEB-INF/struts-form.tld" prefix="form" %>
UserName:
enter password:
re-enter password:
but I don't find the archive struts-form.tld. I have
+ struts-be
Mallik wrote:
HI friends
i would like to say thanks to every one on this forum for your support
the problem is..
i have some forms, each from has some common fields like id, name, etc
i would like to specify the validations only once in validator.xml for all
forms ( globalizing them for all form
You are right about the jakarta commons fileupload and struts, you can't
use commons fileupload in an action, because struts have already taken
care of the multi-part parsing. You do have the option to make a servlet
and commons fileupload, where you will have total control of the form
data. I'
OK, I understand what you're doing now. It sounds like you have a couple
of options. You could override processCachedMessages() as you suggest,
which may be the easiest solution. Alternatively, since you need custom
message setup logic, perhaps it would make sense to provide a reciprocal
messag
What does the html:form for the DownloadSearch look like? It will be
easier to see what is going on if you post the code.
Adam
Ruepen wrote:
Thanks for the prompt reply. In regards to the javascript option, I've
actually created 2 forms, so that now the action is set to
"DownloadSearch" for
I would like to upload multiple files on a single web page by having
multiple elements. The exact number of these are different
depending on the user who is using the application. So I want to store
this in an array (FormFile[]) in order to have N number of files
uploaded. When I try to use t
Thanks for the prompt reply. In regards to the javascript option, I've
actually created 2 forms, so that now the action is set to
"DownloadSearch" for the "Download" button and with that I've created a
respective Action and ActionForm. Which is mapped in the
struts-config.xml file. But when I
On 9/12/06, fea jabi <[EMAIL PROTECTED]> wrote:
Have a html:text . onchange of the value entered in this field, have to
submit the form.
Using LookupDispatchAction.
You could set the action of the single form using javascript in the
onclick event of the download button. LookupDispatchAction may be better
suited for what you are trying to do.
Adam
-Original Message-
From: Ruepen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 12, 2006 2:44 PM
To:
On 9/12/06, Ray Madigan <[EMAIL PROTECTED]> wrote:
Is there an alternative to Spring Integration. I have a project that I need
to get a prototype out to the client FAST and I simply want to implement a
Model layer with connection pooling. I have gone to the Spring Framework
site and I don't hav
Hello,
I am encountering some issues with using the MappingDispatchAction. The
situation is that we (developers) are using a base class that extends
MappingDispatchAction. Now I have a jsp page that has 2 buttons in it,
one is "Search" and the other is "Download". Now the form action for the
Hi
I'm using the struts tags.
I need validate the total of "checked" that have been selected.
I can do that with java script code, but i need put a var in the session
scope with the purpose of show the error message later, and that, i can not
do that with the java script code.
If anybody could
Antonio Petrelli wrote:
Ray Madigan ha scritto:
I have a project that I need
to get a prototype out to the client FAST and I simply want to
implement a
Model layer with connection pooling. I have gone to the Spring Framework
site and I don't have the time to come up to speed on how to make th
FYI setting validate="true" makes the whole thing work somehow.
-Original Message-
From: Asthana, Rahul [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 12, 2006 11:47 AM
To: user@struts.apache.org
Subject: [struts 1.2.4] Problem with DispatchAction
Hi All,
Action which is deri
>>I suggest that you try sending a page with dummy data to a browser
I sent a large page (about 7MB of html) to the browser and it was pretty
fast. There is no problem with the browser rendering the data. My current page
html is around 2.7MB.
>>Are all your filter-mappings really needed
Thanks all for the responses.
I got it working now =}
-Original Message-
From: Strachan, Paul [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 12, 2006 3:01 AM
To: Struts Users Mailing List
Subject: RE: default error page with tiles? (repost)
add something like this to your struts con
On 9/12/06, Givler, Eric <[EMAIL PROTECTED]> wrote:
Can you provide the connection pool from your Container's defined
data-source and then use iBATIS for persistence?
Yes, create the DataSource using JNDI, then see page 14 of this document:
http://people.apache.org/dist/ibatis/ibatis.java/docs
Ray Madigan ha scritto:
I have a project that I need
to get a prototype out to the client FAST and I simply want to implement a
Model layer with connection pooling. I have gone to the Spring Framework
site and I don't have the time to come up to speed on how to make this
useful. Any alternative
Can you provide the connection pool from your Container's defined data-source
and then use iBATIS for persistence?
http://ibatis.apache.org.
There's a 9 page Java tutorial at:
http://people.apache.org/dist/ibatis/ibatis.java/docs/iBATIS-SqlMaps-2-Tutorial_en.pdf,
and the total docs are less
Is there an alternative to Spring Integration. I have a project that I need
to get a prototype out to the client FAST and I simply want to implement a
Model layer with connection pooling. I have gone to the Spring Framework
site and I don't have the time to come up to speed on how to make this
us
Hi All,
Action which is derived from org.apache.struts.actions.DispatchAction
was working fine with this entry,with the appropriate method being called.
Please note that as yet I had not made any entry for the form bean in
struts-config.xml.
I'm confused here. Is it your intent to pass a variable 'what' from your
form to the action?
I think the problem is that you need to assign the value what to a hidden
element
then in your java script assign the value to the value of the hidden element
document.form.cpKey.value = what;
then i
Have a html:text . onchange of the value entered in this field, have to
submit the form.
Using LookupDispatchAction.
Thanks a lot for the information. Will try and get back to u for further
assistance
Regards,
Sahil Gupta
Extn : 339
Mobile: 91 9899468288
Email : [EMAIL PROTECTED]
**
NetEdge Computing Global Solutions Private Limited.
A-14, Sec
On 9/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
On 9/12/06, puneet.lakhina wrote:
>>On 9/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:
>>
>> On 9/12/06, puneet.lakhina wrote:
>>
> >> On 9/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]
>
wrote:
> >>>
> >>>
> >>> Hello,
> >>>
> >>> I
On 9/12/06, puneet.lakhina wrote:
>>On 9/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>>
>> On 9/12/06, puneet.lakhina wrote:
>>
> >> On 9/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:
> >>>
> >>>
> >>> Hello,
> >>>
> >>> I do have a problem, because I don't know how to submit a form
IDE's are ok for building initial reports but since you cannot use IDE's in a
production environment you'll need to automate this
because of that limitation
Export your build.xml and or pom and verify that works in fully automated
staged environment (i.e. ant or maven script)
If you need any help
On 9/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
On 9/12/06, puneet.lakhina wrote:
> On 9/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:
>>
>>
>> Hello,
>>
>> I do have a problem, because I don't know how to submit a form with
>> javascript
>> in struts.
>>
>> Normally, I'm submit
JasperAssistant's support is questionable at this point, iReports has
become part of the JAsperSoft bundle and in my humble opinion is a better
IDE. Additionally, there is a "How To" booklet available for
JasperReports on their website...its pretty comprehensive, now, scoot
On 9/12/06, puneet.lakhina wrote:
> On 9/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>>
>>
>> Hello,
>>
>> I do have a problem, because I don't know how to submit a form with
>> javascript
>> in struts.
>>
>> Normally, I'm submitting forms like this:
>>
>>
>>
>>
>>
>> I'm receiving the
On 9/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hello,
I do have a problem, because I don't know how to submit a form with
javascript
in struts.
Normally, I'm submitting forms like this:
I'm receiving the value with the getter-method getMyvalue() of the
appropriate
ActionForm.
Hello,
I do have a problem, because I don't know how to submit a form with javascript
in struts.
Normally, I'm submitting forms like this:
I'm receiving the value with the getter-method getMyvalue() of the appropriate
ActionForm.
This time, I want to submit the form with a
Some text
d
Hello Everyone,
I have a question regarding validation.
I have JSP that uses the Html:Options tag to populate a DDLB. The action
class creates the collection and puts it in the Form. All works fine until
the form validation fails. When I come back from the form validation, I am
getting a "Bean de
hi all,
I think some fellow member has asked the same question.But I didn't find any
reply for the old thread.
So i have a scenario
I have a login page with
1.Username
2.Password
3.Language
Based on the language selected I have to reload the page.
I have used internationalization tec
Hi,
How do u deploy ur product or software at the client side? We use JBoss
server and whenever we need to deploy the product what we do is that we have
the full Jboss unzipped there and then the server and ear and war is placed
there and all that stuff... There is no proper setup. Do u use a pro
HI friends
i would like to say thanks to every one on this forum for your support
the problem is..
i have some forms, each from has some common fields like id, name, etc
i would like to specify the validations only once in validator.xml for all
forms ( globalizing them for all forms)
if possible,
would something like this work?
function validateRadio() {
if ( self.document.mystrutsform.myradio.value = "a good value" ) { return
true; }
else {
alert('Error with radio');
return false; // should prevent submit
}
}
Also validate on the server side if the javascript coul
Hi,
Thanks for your feedback, but according to the struts source code below it
seems the items are sorted in their initial order. I tested the code (in its
scriptlet format) and it seemed to be working OK, that is the order as defined
in the validations.xml
Can you please show me where the probl
try to call your javascirpt method before the validate method. for example
you can call many javascript methods by sperateing them with a semicolan (;)
On 9/12/06, Sheetal Gupta <[EMAIL PROTECTED]> wrote:
On form submit, already validate method is called..
"David Pinho (Hexadecimal)" <[EMAIL
On form submit, already validate method is called..
"David Pinho (Hexadecimal)" <[EMAIL PROTECTED]>
09/12/2006 12:13 AM
Please respond to
"Struts Users Mailing List"
To
"Struts Users Mailing List"
cc
Subject
RE: Hi Need help .. on javascript & validation framework when used
together
Hello,
If you are looking for a plugin for eclipse,
You might want to have a look at jasperassistant
http://www.jasperassistant.com/installation.html
hth
marco
-Original Message-
From: Sahil Gupta [mailto:[EMAIL PROTECTED]
Sent: 12 September 2006 09:19
To: 'Struts Users Mailin
Hi,
Yeah thanks for the URL but I thought may be some of us are using Jasper
Reports on eclipse and would be able to help me.
Anyways thanks
Regards,
Sahil Gupta
-Original Message-
From: Marco Mistroni [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 12, 2006 1:33 PM
To: 'Struts
Sahil Gupta ha scritto:
Hi,
I have to start working on Jasper Reports now and I will be doing this from
scratch. So can you please guide me. Also if there is some tutorial or a PDF
available with u do let me know. Another thing I have to add the plug-in to
my eclipse. If u have any information
Hi,
Beside the fact that this has nothing to do with struts,
You may find something here
i believe this has all you need
http://jasperforge.org/sf/projects/jasperreports
hth
marco
-Original Message-
From: Sahil Gupta [mailto:[EMAIL PROTECTED]
Sent: 12 September 2006 09:09
To:
Hi,
I have to start working on Jasper Reports now and I will be doing this from
scratch. So can you please guide me. Also if there is some tutorial or a PDF
available with u do let me know. Another thing I have to add the plug-in to
my eclipse. If u have any information regarding to this please l
Hello,
I was need to manage focus on the first field with error. With your
solution, the problem is
errors collection is sorted, so your focus will not go to the first field
with error in your JSP.
So I extends doErrorExist of TextTag to manage it, like this :
protected boolean doErrorsExist() th
Hello Darren,
I'm aggree with Larry. If you want you can see Architecture shema with
Service/DAO pattern in my open source project Gestcv at
http://gestcv.sourceforge.net/fr/architecture.html (sorry it's in frensh).
You can download the application WEB to see how I use Spring with Struts.
Regards
Strachan, Paul ha scritto:
add something like this to your struts config...
Cool! Why don't you add this code to the wiki?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
add something like this to your struts config...
public class GlobalExceptionHandler extends ExceptionHandler {
/*
* Static Logger
*/
private static LogsLogger =
LogFactory.getLog(GlobalExceptionHandler.class);
public ActionForward execute(Exception e
61 matches
Mail list logo