Before a long I face such kind of problem, and I resolve it. I don't
remember exactly but it was something regarding to
jcommon.jar/common.jar. Just search on it. I don't remember much.
Shital
-Original Message-
From: GulliGulli Bob [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 06,
U cant enter client side validation for file present or empty rather u
can restrict to enter data manually typing (offcource in javascript).
like
html:form onkeypress=return false/
Better to put validation on server side apart from this
-Original Message-
From: Pankaj Gupta [mailto:[EMAIL
For that u have to go for manually in javascript
-Original Message-
From: Martin Kindler [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 20, 2006 4:38 PM
To: 'Struts Users Mailing List'
Subject: Action output in new window without menu/toolbar
Hi
I am using Struts 1.2.x and try to
YOU CANT CHECK B'COZ JAVASCRIPT DOSENT ALLOW U TO READ THE FILE ON DISC.
You can do
1. html:file property= onkeydown=javascript:return false;/
//it causes that no user can enter data manually, rather he has to
select using brows button
2. check in javascript wheather that field is empty or
U can create array and create field as per reqiuirment,but this has
limit and here problem is for arrayindexoutofboundexception after
limit exceeds.
Elsewise u can use ajax, put ur form in session and send requeset to an
action which will increase the size of array and again put into the
session.
.
Thanks all for your help,
Shital
-Original Message-
From: Patil, Sheetal
Sent: Thursday, August 03, 2006 7:11 PM
To: 'Struts Users Mailing List'
Subject: RE: ParserUtils: warning org.xml.sax.SAXParseException error
Hi thanks for reply,
I have already gone through this solution. I have
hi all
currently i am facing ParserUtils: warning org.xml.sax.SAXParseException
message while compiling any jsp page.
after jsp file is compiled this message dosenot come for next request to
jsp page.
i am developing application from struts. currently i used JFreeChart to
design some chart. for
.
It doesn't matter how you were, but rather how you are that decides your
future. A right attitude will get you to Success.
- Original Message -
From: Patil, Sheetal
To: Struts Users Mailing List
Sent: Thursday, August 03, 2006 5:34 PM
hi all
i want to display graphs in my application. so is there any taglibs or
something else to display graphs.
Sp
hello friends,
i have one query with Ajax. in struts we separate model-view-controller,
even that's struts purpose.
but now a days i am using Ajax, and i seen most of the examples are
producing html code or data to display and sending it to client.
but i think this is violating M-V-C pattern as
I also suffered from this problem so I write code like
%String str=designation+count;%
html:select name=employeeHashMap property=%=str%
So it wroks fine
-Original Message-
From: Thomas Joseph [mailto:[EMAIL PROTECTED]
Sent: Monday, July 31, 2006 6:34 PM
To: Struts Users Mailing List
- Original Message -
From: Patil, Sheetal
I also suffered from this problem so I write code like
%String str=designation+count;%
html:select name=employeeHashMap property=%=str%
So it wroks fine
-Original Message-
From: Thomas Joseph [mailto:[EMAIL PROTECTED
.
But with your solution applied, I could get the html:select rendered,
but not have the pre-selection
Hope this would be clear
Thanks
Thomas Joseph
- Original Message -
From: Patil, Sheetal
To: Struts Users Mailing List
Sent: Monday, July 31, 2006 7:03 PM
As I know session timeout value is used, if for that perticular time if
user is inactive then distroy the session.
And as close window dosen't contact with server you can't track it
(preferably use session timeout) or
use ajax and send distroy request to server on pageclose event if
possible
Its better that u put an normal DTO in application scope and change
values as per condition
-Original Message-
From: Kavita Mehta [mailto:[EMAIL PROTECTED]
Sent: Friday, July 28, 2006 4:02 PM
To: Struts Users Mailing List
Subject: Re: form in application context`
but why not form bean
: Patil, Sheetal [mailto:[EMAIL PROTECTED]
Sent: Friday, July 28, 2006 11:28 AM
To: Struts Users Mailing List
Subject: RE: Session Tracking
As I know session timeout value is used, if for that perticular time if
user is inactive then distroy the session.
And as close window dosen't contact
:[EMAIL PROTECTED]
Sent: Friday, July 28, 2006 4:24 PM
To: Struts Users Mailing List
Subject: Re: form in application context`
can you please exlpain it furthur as i am new to struts n i have never
used a DTO .
Patil, Sheetal wrote:
Its better that u put an normal DTO in application scope
hi there,
I am passing a string value to a javascript function with like
Onclick=javascript:functionName('bean:write name=xx
property=qq/');
And function is like
Function functionName(data)
{
Alert(data);
}
Now it works fine if bean:write passes a string without any quotes like
this is the
hi everybody,
i am doing an application for an survay. here i have a list of questions
and i am getting answer by the users for that questions.
to read the answers i create an int array in actionform as
int[] answers;
and in jsp i write like
html:text property=answers/
html:text property=answers/
Hi all
Finally I got the solution for sending mails from my struts application
The problem was that my antivirus was not allowing me to connect SMTP
server through port no 25
When I disable port blocking I get success
Tanks all, for your help
Sp
Hello friends,
I am trying to send email from my application but I am not able to. So I
set debug=true and get following debug. I am having exception
javax.mail.NoSuchProviderException: Invalid protocol: null . Can u
please describe me this debugs.
DEBUG: JavaMail version 1.4ea
DEBUG:
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, June 19, 2006 11:23 AM
To: Patil, Sheetal
Subject: Re: want javamail debug help
Kindly Post the Source Code.
Thanks and regards,
Pazhanikanthan. P (Paz)
Consultant for AXA,
HCL Australia Services Pty. Ltd.
Off : +61-3-9618-4085
Mob : +61
Is it the same network?
--- Patil, Sheetal [EMAIL PROTECTED] wrote:
Ye I can ping to host
Pinging smtp-host-name [IP] with 32 bytes of data:
Reply from IP: bytes=32 time=361ms TTL=125
Reply from IP: bytes=32 time=323ms TTL=125
Reply from IP: bytes=32 time=326ms TTL=125
Reply from IP
Oh my mistake
Actually Our network is 10.9.57.*
And
Smtp is on 10.9.55.29
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, June 16, 2006 11:53 AM
To: Struts Users Mailing List
Cc: Patil, Sheetal
Subject: RE: urgent- exception in sending
Hi
I have face the same prob but couldnot find any tags in jsp for that
In action class when u put bean in array just check out for the required
condition/repetation like if some division is repeated then keep blank
that field in bean and then put it to arraylist and session
And use
Hello friends
I am trying to send mail from my application
Here is the code
Properties properties = System.getProperties ();
properties.put (mail.smtp.host,smtp host name);
Session session = Session.getDefaultInstance
(properties,null);
Hello friends
I am trying to send mail from my application
Here is the code
Properties properties = System.getProperties ();
properties.put (mail.smtp.host,smtp host name);
Session session = Session.getDefaultInstance
(properties,null);
()
{
PasswordAuthentication pa =
new
PasswordAuthentication(username,password);
return pa;
}
}
props.put(mail.smtp.auth, true);
Authenticator a1= new MyAuthenticator();
Session mailsession = Session.getDefaultInstance(props, a1);
--- Patil, Sheetal [EMAIL PROTECTED] wrote:
Hello friends
I am
);
Authenticator a1= new MyAuthenticator();
Session mailsession = Session.getDefaultInstance(props, a1);
--- Patil, Sheetal [EMAIL PROTECTED] wrote:
Hello friends
I am trying to send mail from my application
Here is the code
Properties properties = System.getProperties
- exception in sending e-mail from application
Are you on the same network as the SMTP host? Can you ping the host?
--- Patil, Sheetal [EMAIL PROTECTED] wrote:
Hi thx for reply
I have tried to use the authentication, as u describe but still the
exception is same
Thanks
Shital
Hi
Actually I work on struts and tomcat 5.0 and I am not aware of
treads and springs, which are more popular on mailing list now days, so
can u please tell me about these or give me some links for threads and
springs
Thanks in advance
Sp
Hi
When u selects multiple values then it will store array of the data type
of your values in list box
If nothing is selected it will store null
-Original Message-
From: Abhimanyu Koul [mailto:[EMAIL PROTECTED]
Sent: Monday, May 29, 2006 10:47 AM
To: Struts Mailing list
Subject:
Hello friends
Can we compare values of two beans in jsp page by using any tag ( like
logic etc...)
Or is there any other method to compare values of two beans in jsp page
Thanks in advance,
Sp
Hay u havent mention what is this va-value
-Original Message-
From: Anil Kumar Pippalapalli [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 11, 2006 4:32 PM
To: user@struts.apache.org
Subject: problem while deployin
Hi all,
I have a simple application which tries to validate user
First thing you have to set your form object in either session or
request by in action classs
if(request.equals(mapping.getScope())) {
request.setAttribute(mapping.getAttribute(),form);
}else {
request.getSession().setAttribute(mapping.getAttribute(),
form);
Hi there
As my best knowledge your logic:equal tag is wrong it requir value
And logic:equal dosenot support to comparison of strings it only
supports for either int or boolean
-Original Message-
From: josh t [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 11, 2006 7:41 AM
To:
Hello friends
I am using ditchnet tab taglib . However it works fine for
normal text in tagPane
tab:tabContainer id=foo-bar-container skin=wireframe
tab:tagPane id=aa tabTitle=one
Hello 1
37 matches
Mail list logo