I tried many way, tried to change the method name but whenever i submit i
always get the error but o/p is ok
Why this is so ? Pls can anybody give me clue ? Any other workaround, i really
need it
regards
manisha
Manisha Sathe <[EMAIL PROTECTED]> wrote:
I am having a form with 2
I am having a form with 2 submit buttons. I am using DispatchActionHandler to
handle the 2 separate actions.
After submit it opens the new window and depending on the button pressed it
shows the o/p (one button is for html report and another is for pdf report). I
get the reports but just befor
Few days back i also posted the query much similar to yrs, i am attaching the
reply i got from Matt below for yr reference. Hope this helps u
regards
Manisha
Manisha Sathe wrote:
> I have a form whose fields are from an dynamic customer array. I
display Customer name and giving i/p fi
e logic tag should use the
values which you have to insert in the request object at action 1.
Hope the things are clear.
Please write me if you need any additional info. If any other user knows
better way please write.
Thanks & regards
Keshav K Shetty
Manisha Sathe wrote:
>Now i get
validation.
Please write me if you need any additional info.
Thanks & regards
Keshav
Manisha Sathe wrote:
>Hi,
>
>I am having a serach criteria, depending on that one report will be generated.
>After Submit it is going to one Action handler and then going to JSP report
>p
t= winHand;
document.formName.submit();
}
Please replace someName, formName and actionPath with your form values.
But the above technique will fail if the criteria form uses any validation.
Please write me if you need any additional info.
Thanks & regards
Keshav
Manisha Sathe wrote:
Hi,
I am having a serach criteria, depending on that one report will be generated.
After Submit it is going to one Action handler and then going to JSP report
page. Currently i am displaying it in the same window. But if i want to display
result in new window then how can i achieve it ?
(I b
Thanks Pedro, I tried it - not the exact same way - but almost same.
I created my own function named as staticValidator and from this i called
validate(form) and it worked
Thanks and regards
Manisha
Pedro Salgado <[EMAIL PROTECTED]> wrote:
On 25/1/05 8:49 am, "Manisha S
validator + i want to add my own javascript
validation any idea ?
regards
Manisha
Manisha Sathe <[EMAIL PROTECTED]> wrote:
I am using validator framework. But for some business logic - i need to some
other validation depending on some conditions.
I want to keep validation of val
I am using validator framework. But for some business logic - i need to some
other validation depending on some conditions.
I want to keep validation of validator framework as it is + after that i want
to add my own.
First of all is it possible If yes, then how ?
regards
Manisha
hu, 20 Jan 2005 16:01:55 -0800 (PST), Manisha Sathe
wrote:
> Oh! sorry, i did not make it clear. I do went thr this. Currently i am on
> TomCat but live environment may not be. (I believe this is for TomCat ?? I
Yes, the link I've sent is about Tomcat configuration, but only the part
ab
source-examples-howto.html
BTW this link was sent to this mailing list at least three times
during the last week ;)
Pavel
On Thu, 20 Jan 2005 00:28:41 -0800 (PST), Manisha Sathe
wrote:
> Till now i am using simple JDBC call to connect to database inside struts. (I
> created one class w
Till now i am using simple JDBC call to connect to database inside struts. (I
created one class which returns connection ). I am thinking of shifting this to
DataSource Connection Pooling.
I saw few posts regarding connection pooling today, but as i am a beginner i
need some step wise instruct
I have a form whose fields are from an dynamic customer array. I display
Customer name and giving i/p field for Amount to enter.
The JSP might contain 2-3 text fields called amt against different customers (I
am identifying it with IDs)
My form bean is something like this,
public class Ad
I got the answer after search on google - it is escapeXml=:false"
Thanks for your support
regards
Manisha
Manisha Sathe <[EMAIL PROTECTED]> wrote:
no i am not using bean write. Actually what i am passing is StringBuffer Array
to JSP from Action (name arroddsdata). Currently
I would like to give my sincere thanks to all, will try it out now.
regards
Manisha
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
VAN BROECK Jimmy <[EMAIL PROTECTED]> wrote:
If you use a tag like you should include following attribute .
-Original Message-
From: Manisha Sathe [mailto:[EMAIL PROTECTED]
Sent: dinsdag 18 januari 2005 8:09
To: user@struts.apache.org
Subject: Pls help me - want to show HTML o/p
I wan
ong way ?
regards
Manisha
Manisha Sathe <[EMAIL PROTECTED]> wrote:
I have a query which results into large data. This data i want to display in a
group of 20. After every 20 records i want to add header and footer to it.
Is it possible to get the result set data into batch of 20 ? me
I have a query which results into large data. This data i want to display in a
group of 20. After every 20 records i want to add header and footer to it.
Is it possible to get the result set data into batch of 20 ? means can i
specify start and end index of query ?
regards
Manisha
I want to create one report with lots of different tables - data also coming
from many different sources also have few pages.
I took the data and created the report inside Action Handler class and put
inside the StringBuffer Array. Each array element represents one page.
Now when i am pu
Thanks to all for helping me out,
Cheers
Manisha
-
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
Hi all,
1) I am having a form with some normal text fields - in formbean stored as
normal private variables.
2)some display fields coming from one another databean - and hv stored the
object of this data bean inside my formbean.
3)Few text boxes with identical name (like bookers_id (hidden form
yPropert == null ) ? right ?
regards
Manisha
Wendy Smoak <[EMAIL PROTECTED]> wrote:
From: "Manisha Sathe"
>I am putting one arraylist and one javabean object with
>request.setAttribute..
> I can access this in JSP. But how i can detect that Arraylist and/or Bean
> i
I am putting one arraylist and one javabean object with
request.setAttribute..
I can access this in JSP. But how i can detect that Arraylist and/or Bean is
empty ?
regards
Manisha
-
Do you Yahoo!?
The all-new My Yahoo! Get yours free!
I do know what exactly could be the problem
I am having one JSP which calls Main Action Handler - this does some database
job and get userid. This id i want to pass it to another page. If it is a
direct JSP page then i can make use of something like
request.setAttributeand can get the valu
y name myBean in request scope, a property of the bean by
name myProperty can be displayed in the jsp page by -
Best Regards,
Janarthan S
Manisha Sathe wrote:
I have Add/Edit/Delete for one database table.
For Edit what i want is to get the values from database and display it on form
as d
I am having property file under WEB-INF directory. I am currently storing
something like
title.mainmenu = Main Menu
error.validation = Validation Error
Can i make use of these variables inside my any normal java classes - or
whether these r meant for only JSPs ?
regards
Manisha
Hi all,
This is to give big thanks to all.
Erik - i will go thr it - i think i need some some time to grasp it.
Regards and Have a nice day,
Manisha
Erik Weber <[EMAIL PROTECTED]> wrote:
Manisha Sathe wrote:
>I am still new to struts and even servlets. Last time when i
Thanks Nicolas,
finally i could get the cancel button working the way i want.
regards
Manisha
Nicolas De Loof <[EMAIL PROTECTED]> wrote:
Manisha Sathe a écrit :
>Hi Nicolas,
>
>Thanks for the response,
>
>1)I tried this, but giving me error. Pls would u mind giv
le: 91-9891062552
Yahoo IM: amitguptainn
MSN IM : amitguptainn
-Original Message-
From: Manisha Sathe [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 12, 2005 11:40 AM
To: user@struts.apache.org
Subject: Database connection question - seeking expert opinion
I am still new to struts and even se
I am still new to struts and even servlets. Last time when i developed
servlets, i created one common class method to get the connection (with regular
JDBC call). All database related parameters i stored in a constant variable
file.
Now in struts i found out that we can specify the datasource
I would like to thanks all of u for your replies. Definitely this will help me
to improve my coding practice.
regards and have a nice day,
Manisha
-
Do you Yahoo!?
The all-new My Yahoo! Get yours free!
Thanks to all, Now i could manage to get the things working properly.
regards
Manisha
-
Do you Yahoo!?
Yahoo! Mail - now with 250MB free storage. Learn more.
I am trying to have a common routine for Exceptions.
Inside Action Class I am calling this common method, passing ActionMapping as
parameter, doing some stuff like logging and then forwarding to error page.
But the problem is what if i get exception in my normal Common Java files
(which does
eption stack and forwards to a generic error page.
Nico.
Manisha Sathe a écrit :
>I had posted it before - might hv missed the response. I want to check whether
>Cancel button is pressed, if yes then want to redirect it to another page
>
>Also how to handle th Exceptions. I am catchi
I have Add/Edit/Delete for one database table.
For Edit what i want is to get the values from database and display it on form
as default.
What i am doing is ->
1)First calling one action handler getting the values from database and putting
inside one data bean. Putting that bean inside reque
I had posted it before - might hv missed the response. I want to check whether
Cancel button is pressed, if yes then want to redirect it to another page
Also how to handle th Exceptions. I am catching many exceptions inside my
Action Handlers.
what shall i do with them ? Currently just printin
I have a form, whose fields depend on the collection object.
I have DealerBean (id, name) stored in an Collection. What i want is display
the name and i/p field for each dealer. Now field name will be dynamic (may be
combination of "dealer" + id). So i do not know what to put inside struts for
I have 2 sets of programms running on Tomcat
1)one set is using normal servlet program architecture.
2)another is using struts technology.
This together makes whole application. Eventually the whole application will be
in struts, but currently i have half in servlet and half in struts.
Cur
licked and
forward to your index page.
Nico.
Manisha Sathe a écrit :
>I am using struts cancel button. But when i click on that it goes to next page
>(w/o even validation - using validator). What i want to do is i want to
>redirect it to index page. I tried using oncancel inside
validator related issues.
regards
Manisha
Manisha Sathe <[EMAIL PROTECTED]> wrote:
Manisha Sathe wrote:
>I am testing struts validatior in one test program. Finally i could do some
>date validation for user i/p. I could get javascript pop-up if i enter it
>wrongly.
>
>i w
quired,date">
datePattern
dd.MM.
Radek
> -Original Message-
> From: Manisha Sathe [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, January 05, 2005 9:23 AM
> To: user@struts.apache.org
> Subject: Date validation another question
>
>
> Currently testing text box
t;12/31/2030", DEFAULT_FORM_DATE_PATTERN);
}
}
Maybe you should browse the Struts wiki (wiki.apache.org/struts) for
example links?
Hope that helps some,
Erik
P.S. I never had much luck with DatePatternStrict, always wondered if it
was buggy . . . But I guess others are using it succe
I am testing struts validatior in one test program. Finally i could do some
date validation for user i/p. I could get javascript pop-up if i enter it
wrongly.
i wanted to test server side validation - so i switched off javascript and
tried to submit - it went through w/o throwing any error.
I am using struts cancel button. But when i click on that it goes to next page
(w/o even validation - using validator). What i want to do is i want to
redirect it to index page. I tried using oncancel inside but
giving me error.
How i can do this ?
Thanks and regards,
Manisha
Currently testing text box i/p for date. I do not want to make use of
"datePatternStrict" so i used "datePattern" but still it is validating as per
"datePatternStrict" only. It is not accepting 1/1/2005 as i/p
Do i need to set anything else too ?
--
I am having From date - in the form of 3 separate lists for - Day, Month, Year.
Similarly i have To date.
Using struts validator framework,
1)Firstly i want to validate whether the combined entries (day, month, year) is
a valid date or not
2)Secondly whether first date > to date
I tried to
I just started learning validator (struts) and developed one small form with
one single field. I used Javascript and serverside validatin both.
Till now i used to put all my jar files inside {Tomcat home}/common/lib and it
was all ok. (I do not want to keep too many copies of jar files inside
I want to display bean data on JSP which has vectors as one element.
I have advertisement with multiple headers (max 3) and each headers has
multiple details llines.
My Main Advertisement databean 'AdvertFormDataBean' consists of the date of
advertisement and arraylist for headers. I know the
Thanks to all, I will do both, i.e. Javascript (w/o DynaAction - i hope this
should be fine) and Serverside validation inside ActionForm.
regards
Manisha
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
I am very used to HTML/JavaScript. Normally i do all validations on clientside
through JavaScript.
i just started Struts framework and i understand that "DynaActionForm" is to
have validation on cliend side. (till now using ActionForm only).
Normally what is the practice ? Which way is better
ble for
matchdetails inside each row for a leaguename
and use the nested loop tags to output it.
- Dan
> -----Original Message-
> From: Manisha Sathe [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, December 28, 2004 6:10 PM
> To: user@struts.apache.org
> Subject: How to get the bean
I am having an action handler, which pulls data from database, puts inside data
bean. From result set i create array of databeans. This array of databeans i am
putting back on JSP.
Inside my JSP i am looping thr
--
-
Above works
;global'
place may cause errors, especially if multiple struts applications are
running. Where is your struts.jar?
Regards,
David
-Original Message-
From: Manisha Sathe [mailto:[EMAIL PROTECTED]
Sent: Monday, December 27, 2004 9:39 PM
To: user@struts.apache.org
Subject: Error in &qu
them and if your
using Servlet 2.4, then you don't need them because the servlet container
supports EL anyway. If you are using Servlet 2.3 but are not bothered about
EL, then use the regular ones.
Niall
- Original Message -
From: "Manisha Sathe"
To:
Sent: Thursday, Decemb
I am installing struts framework on another m/c. I copied all related files +
my application war file over there. Set class path for struts.jar. Now testing
with one small program with struts.
---
<%@ taglib uri="struts/bean-el" prefix="bean" %>
<%@
Hi Amit,
Would appreciate if u can forward the same msg again to me too. As i am also a
struggler i also might need it
Thanks,
Manisha
Amit Gupta <[EMAIL PROTECTED]> wrote:
Hi Uma,
I use DBCP for this. Refer my message that I posted an hour ago on tomcat users
list. I am forwarding same to
ment If your using Servlet 2.2 then you can't use them and if your
using Servlet 2.4, then you don't need them because the servlet container
supports EL anyway. If you are using Servlet 2.3 but are not bothered about
EL, then use the regular ones.
Niall
- Original Message -
From:
New to struts -
Downloaded the struts and testing one simple html form. I am finding .tlds and
.jars files in 2 directory
1)One inside {struts installed dir}/lib
2)Second one inside {struts installed dir}/contrib/struts-el/lib
First of all why these 2 locations and what's the difference ? Norm
t;
> Regards,
> David
>
> -Original Message-
> From: Manisha Sathe [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 22, 2004 1:46 AM
> To: Struts Users Mailing List
> Subject: RE: How to compile the java file with ActionForm /
> ActionMapping ?
>
>
ith all the dependencies you need for compiling, then call
that batch file prior to compiling, which will give you the
appropriate contents/references/etc. in your classpath. You do
something similar with sh files if you are not in $soft, etc.
Jack
On Tue, 21 Dec 2004 22:45:51 -0800 (PST), Manisha
give directory name - which
contains all jar files ?
I am sure there will some better way of doing it,
regards
Manisha
Manisha Sathe <[EMAIL PROTECTED]> wrote:
Hi David,
The situation is something like below.
I am using Tomcat 5.0 server. I downloaded struts and extracted into a
Just started using struts: I got following code from Web - but when i tried to
compile it i am getting error
-
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
public class EmployeeForm extends ActionForm {
p
I am totally new to structs / JSP / Java. I am modifying the existing program. Want to
put one html tag inside the JSP file. I tried
but i always get error
[ServletException in:RoomListContent.jsp] No getter method for property testvar of
bean org.apache.struts.taglib.html.BEAN'
Pls
64 matches
Mail list logo