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:
On 6/15/06, Mon Cab [EMAIL PROTECTED] wrote:
Thanks Craig
Tomcat is not only doing this on the first page, but also on all the
subsequesnt pages. And theres no jsessionid cookie in the cookie
folder. I also disabled the firewall, to see if the cookie was being
blocked there. Do you know how
Deepali,
Following are the two methods of session object which you can use to get
the all session attributes name and value:
getAttributesName() : Return the Enumeration of String objects
containing the name of all the objects bound in the session.
getAttribute() :Return the
No smtp server is not on our network
Our network is 10.9.57.*
And
Smtp is on 10.9.57.29
-Original Message-
From: Mon Cab [mailto:[EMAIL PROTECTED]
Sent: Friday, June 16, 2006 11:32 AM
To: Struts Users Mailing List
Subject: RE: urgent- exception in sending e-mail from application
Sheetal,
I think problem is with the port number only. Default port would always be
25 for the mail server and you are not specifying the any specific port
number in your program it means it will pick the default port number but
you should first check it with your network people that mail
Sheetal,
I don't think there is any problem with network, because if you are able
to ping it, then it should connect also by your program but for this you
need the port number. You are also saying that smtp server is not on your
network but it is clear from the ip address that both are using
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
Sheetal,
Did you check port number used by mail server.
Thanks Regards
Sunil Sahu
Sr. Software Engineer
Ph. +91-124-4047100 Ext. 752
Patil, Sheetal [EMAIL PROTECTED]
06/16/2006 11:49 AM
Please respond to
Struts Users Mailing List user@struts.apache.org
To
Struts Users Mailing List
Thanks Craig.
You were right. I just tured off ZoneAlarm and url rewriting switched
off after the first page. I must not have checked past the first page,
when I first tried testing whether it was ZoneAlarm.
--- Craig McClanahan [EMAIL PROTECTED] wrote:
On 6/15/06, Mon Cab [EMAIL
Hi,
I have one problem in displaying value of form bean in jsp page. In my
action class i am getting collection of formbean from database. Form bean
contains division, heading, date as property. From database I can get same
division name several times , so i want to display unique on jsp page.
Hi,
I'm trying to run a simple Web application with Struts Menu (based on sample
struts-menu.war from Struts Menu release). Under Tomcat it works very nice
but under Websphere AS 5.1 I'm getting a following exception:
SRVE0180I: [ws-menu] [/ws-menu] [Servlet.LOG]: /main.jsp: init
SRVE0026E:
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 everybody
Tomorrow there will be the soccer match Italy vs U.S.A.
I am sorry for all American friends but Italians will have no mercy for
you :-P . Marcello Lippi and his team will show what playing real
soccer means.
VAI ITALIAA
Antonio
P.S. I think that now you all are sure
Hi there,
my setup is similar - I have got a JSF frontend and a Spring controlled
business logic that handles RMI (client and server) and exception
handling (via AOP) declaratively. I'd suggest you take a look at Spring
since it eases development, keeps your app. simpler and smaller and
therefore
Hi
I am using html:cancel button
before clicking on html:cancel button i am changing the values in the form.
But I want so that If the user clicks on html:cancel the values should not
be set to the form
Is there any solution for this
--
cheers
deepali
On 6/16/06, Antonio Petrelli [EMAIL PROTECTED] wrote:
Hello everybody
Tomorrow there will be the soccer match Italy vs U.S.A.
I am sorry for all American friends but Italians will have no mercy for
you :-P . Marcello Lippi and his team will show what playing real
soccer means.
VAI
Hi,
I am using Myeclipse for building my struts application. The problem
that I am facing is that when I try creating a Striuts 1.2 action, it
gives an error that the project is 1.1 compatible and cannot allow 1.2
action class. Can you please suggest how can I change the project to 1.2
Hi All,
Can some one please suggest that how can I display the serial no. in my
table using the index of logic:iterate tag.
regards,
Pankaj
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
logic:iterate name=... property=.. indexId=index1
%= index1%
/logic:iterate
-Original Message-
From: Pankaj Gupta [mailto:[EMAIL PROTECTED]
Sent: Friday, June 16, 2006 1:41 PM
To: Struts Users Mailing List
Subject: How to get index of the iterator in logic:iterator
Hi All,
Can some one
Hi I don't know MyEclipse
but from my feeling,
you should check the struts-config.
Is there this?
!DOCTYPE struts-config PUBLIC
-//Apache Software Foundation//DTD Struts Configuration 1.2//EN
WEB-INF/dtds/struts-config_1_2.dtd
An alternative could be to chekc the jar-Files.
I
Hi,
I need to open a pop up using html:link ..The code I am using is
% String tempStr = javascript:popUpWindow('/readLogEntry',' + tmpStr
+ ',100,100,100,100); %
html:link onclick= %=tempStr%
action=/LogFileSelectPageDetail/html:link
where tmpstr is a variable containing a String . My
Hi,
I'm trying to change the hard-wired references to the struts-taglibs
in the jsps to the maped taglibs:
in the jsp:
%@ page language=java contentType=text/html;charset=iso-8859-15
session=true
%%@ taglib uri=/tags/struts-bean.tld prefix=bean
%%@ taglib uri=/tags/struts-logic.tld
Hi,
I am using Struts 1.2 with Tomcat 5.5.17 on Redhat Linux. My problem is that the following error message is displayed when I submit
a request URI that is mapped to a Struts action:
HTTP Status 404 - /exec/search.do
description The requested resource (/exec/search.do) is not available.
sorry,
stupid stupid me:
%@ taglib uri=/tags/struts-bean.tld prefix=bean %
should have been
%@ taglib uri=/tags/struts-bean prefix=bean %
:-)
Leon
On 6/16/06, Leon Rosenberg [EMAIL PROTECTED] wrote:
Hi,
I'm trying to change the hard-wired references to the struts-taglibs
in the jsps to the
Hi All
I am very pleased to announce the nineteenth birds-of-a-feather of the
JAVA Web User Group in London, UK.
The venue is ``The Firestation'' restaurant and bar.
The address is:
149 Waterloo Road, London, SE1 8SB, London
Hello:
I have the next:
html:form
action=/coffeenet/SeguimientoComercial/SeguimientoComercial.do
onsubmit=return validateSeguimientoComercialForm(this);
html:submit property=submit
onclick=bCancel=false;/html:submit
html:javascript
I can provide a zip of the workspace I was doing for this if that would help.
I just can't seem to get the multiple errors. Can the html:text tag determine
that a row's value is wrong in a multi-record form bean and color it? How
would it know if it's only getting back one error as opposed
Hi,
I have a struts based application and using Filters for authorization.
If the user is not authorized, I have to redirect the user to a third
party application.
For that, in the doFilter method, I have added the redirection logic (I
am using response.sendRedirect to take the user to the
You aren't calling FilterChain.doFilter(req,res) after sending the
redirect are you? Are there any other filters ahead of this filter in
the pipeline that use the response? Perhaps you could post the
applicable code from your Filter and information regarding any other
filters you are using.
-Adam
Thanks Adam, Indeed I was calling filterChain.doFilter(request,
response) after redirect.
I just tried commenting filterChain.doFilter. No IllegalStateException
comes now and am redirected to third party url.
But now my application is not working if authorization is successful; I
am getting a
Your logic needs to go:
If(not authorized)
Then
redirect to 3rd party, do not call filterChain.doFilter
Else
do not redirect to 3rd party, call filterChain.doFilter
-Adam
-Original Message-
From: Bharat Kumar Meda [mailto:[EMAIL PROTECTED]
Sent: Friday, June 16, 2006 9:43 AM
To:
Look at the Set interface in java.lang.util
-Richard
Nikita Desai wrote:
Hi,
I have one problem in displaying value of form bean in jsp page. In my
action class i am getting collection of formbean from database. Form bean
contains division, heading, date as property. From database I can
I'd like to define the structure of a DynaValidatorForm on the fly
instead of through struts-config.xml. I had a look at FormBeanConfig
and DynaActionFormClass (which says Application developers never need
to consult this documentation :), but I'm not sure where to start. I'd
like to do
Thanks a lot, Adam!
Issue solved !!!
Regards,
Bharat
-Original Message-
From: Samere, Adam J [mailto:[EMAIL PROTECTED]
Sent: Friday, June 16, 2006 7:17 PM
To: Struts Users Mailing List
Subject: RE: How to avoid IllegalStateException ?
Your logic needs to go:
If(not authorized)
Then
On 6/16/06, Scott Van Wart [EMAIL PROTECTED] wrote:
I'd like to define the structure of a DynaValidatorForm on the fly
instead of through struts-config.xml. I had a look at FormBeanConfig
and DynaActionFormClass (which says Application developers never need
to consult this documentation :), but
On 6/16/06, Wendy Smoak [EMAIL PROTECTED] wrote:
On 6/16/06, Scott Van Wart [EMAIL PROTECTED] wrote:
I'd like to define the structure of a DynaValidatorForm on the fly
instead of through struts-config.xml. I had a look at FormBeanConfig
and DynaActionFormClass (which says Application
in my form have
form-bean name=Form type=org.apache.struts.action.DynaActionForm
.
.
form-property name=method type=java.lang.String/
/form-bean
in jsp
html:hidden name=Form property=method/ --- Not sure if this has to
be hidden.
I don't like Soccer... It reminds me of high school too much: a bunch of guys
running around like maniacs not scoring very much :)
Frank
-Original Message-
From: Leon Rosenberg [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: 6/16/06 3:31 AM
Subject: Re:
On 6/16/06, Frank W. Zammetti [EMAIL PROTECTED] wrote:
I don't like Soccer... It reminds me of high school too much: a bunch of guys
running around like maniacs not scoring very much :)
actually it's called Football! :-)
only because some americans have another game which they also call
Wendy Smoak wrote:
On 6/16/06, Scott Van Wart [EMAIL PROTECTED] wrote:
I'd like to define the structure of a DynaValidatorForm on the fly
instead of through struts-config.xml. I had a look at FormBeanConfig
and DynaActionFormClass (which says Application developers never need
to consult this
On 6/16/06, Scott Van Wart [EMAIL PROTECTED] wrote:
form-bean name=runtimeForm
type=org.apache.struts.validator.LazyValidatorForm /
OK, I'll give that a shot. Do lazy forms have the benefit of
auto-population or do I need to copy the parameters from request to
action form myself?
I
Leon Rosenberg wrote:
On 6/16/06, Frank W. Zammetti [EMAIL PROTECTED] wrote:
I don't like Soccer... It reminds me of high school too much: a bunch
of guys running around like maniacs not scoring very much :)
actually it's called Football! :-)
only because some americans have another game
Hi,
Has anyone tried to create a screen that shows input fields which are
collection of collection? I would like to know how one can submit this
page and get all information in the ActionForm as collection of
collection.
I tried lot of approaches and looked through the archives but haven't
I'm sure it can be done with html:link, but I haven't used in a while.
I'd just use JSTL...
//below assumes your /readLogEntry is defined in an ActionMapping with .do ?
c:url var=url value=/readLogEntry.do/
a href=javascript:popUpWindow('${url}',
'${tmpStr}',100,100,100,100)Detail/a
On
On 6/16/06, Vijayraghav Nerella -X (vraghav - eTouch Systems at Cisco)
[EMAIL PROTECTED] wrote:
Hi,
Has anyone tried to create a screen that shows input fields which are
collection of collection?
yes, you want to use nested Collections. It can be done, but their are
few caveats with using it.
Hi folks - newbie here with a quick question:
I'm converting JSPs to struts, and they have a lot of stuff that looks
like this:
old
Service managedService =
(Service) session.getAttribute(managedService);
.
.
.
% if (group.getExpirationDate() != null) { %
.
.
.
/old
What's the mechanism
Don't know about the news in your country, folks, but here in Brazil,
the press just bomb us with meaninful news like Ronaldo went to bathroom,
Ronaldo had a fever this morning, Ronaldo ate onions and bread at lunch,
Ronaldo will start the game versus Australia.
Seems like the press are trying to
You can ignore this thread. The issue with validator was found on bugzilla at:
http://issues.apache.org/bugzilla/show_bug.cgi?id=23372
via another Struts thread. The Mail Archive site is nice for
finding/searching mailing lists.
-Original Message-
From: Givler, Eric [mailto:[EMAIL
On 6/16/06, Brian Long [EMAIL PROTECTED] wrote:
What's the mechanism in struts to accomplish pulling an object out of
the session and using it in a jsp?
If you are using a more recent app server like Tomcat 5.x+, you can just do ...
in JSP:
divMy session var ${sessionVar}/div
El expressions
Brian Long wrote:
Hi folks - newbie here with a quick question:
I'm converting JSPs to struts, and they have a lot of stuff that looks
like this:
old
Service managedService =
(Service) session.getAttribute(managedService);
.
.
.
% if (group.getExpirationDate() != null) { %
.
.
.
/old
It maybe should be noted too that the code originally posted works just
fine in Struts, it's just as valid as if Struts wasn't involved
What Rick and Scott are pointing out are what most people would consider
more elegant, canonical and proper ways. I'm mentioning this because
Brian, you
Wendy Smoak wrote:
Let us know how the multiboxes work with lazy forms -- I had trouble
with lists in regular DynaValidatorForms until I switched to using
Commons Collections 'GrowthList' instead of String[] or ArrayList.
I figured everything would work the same, but now that you mention it,
it
I based a multi record form on an array of beans:
form-bean name=Wa_Reports_DetailsBean
type=org.apache.struts.action.DynaActionForm
form-property name=Rows
type=view.struts.forms.Wa_Reports_DetailsBean[] /
!-- size=31 --
/form-bean
I can populate the array (set it up) for
Wendy Smoak wrote:
Let us know how the multiboxes work with lazy forms -- I had trouble
with lists in regular DynaValidatorForms until I switched to using
Commons Collections 'GrowthList' instead of String[] or ArrayList.
Yeah I honestly don't understand why multiboxes don't work. The request
Wendy Smoak wrote:
Let us know how the multiboxes work with lazy forms -- I had trouble
with lists in regular DynaValidatorForms until I switched to using
Commons Collections 'GrowthList' instead of String[] or ArrayList.
Hi Wendy,
The multibox thing seems to be a little tricky... I looked
If a have a shared html template how can I parameterize component ids
such that the template can be used more than once within the view?
For example, if I have a
input id=myField jsfid=inputText type=text value=@binding/
within a reusable template, and I used the template twice in a view, I
Hi,
I am facing a problem with prepoulating the form. I am using following code
to prepopulate the form in my Action class:
Vector eventTypes = new Vector();
eventTypes.add(new LabelValueBean(StartFailure, Value 0));
eventTypes.add(new LabelValueBean(LowMemory, Value 1));
If you set 'validate=true' in your action mapping, of course you will have
this error because the validation in that case will fail, it will SKIP the
action and go straight to the input (JSP) attribute for error displaying.
This setup would skip the action execute() method and no eventTypes object
Hi,
I have using a service at Bussiness layert which may fetch n number records...
However i have to show this records using pagination...
also when user won't find(let's say) his intended record on 1st paginated page
try to find data on 2nd paginated page,by clicking (12345this
Both DisplayTag and Valuelist have various levels of supprot for the feature
your describe. For more details, See:
http://www.displaytag.org
http://valuelist.sourceforge.net
Other methods/tags are probably listed in the Struts Wiki.
Regards,
David
-Original Message-
From: Shailesh
60 matches
Mail list logo