RE: PLZ help : urgent

2006-06-15 Thread Patil, Sheetal
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 mailto:[EMAIL

Struts Menu & Websphere

2006-06-15 Thread Konrad Billewicz
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: [Se

PLZ help : urgent

2006-06-15 Thread Nikita Desai
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.

Re: OT: Tomcat not setting session cookies ? Please help :(

2006-06-15 Thread Mon Cab
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 P

RE: urgent- exception in sending e-mail from application

2006-06-15 Thread Sunil_Sahu
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" To "Struts Users Mailing List" cc Subject RE: urg

RE: urgent- exception in sending e-mail from application

2006-06-15 Thread Patil, Sheetal
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 e

RE: urgent- exception in sending e-mail from application

2006-06-15 Thread Sunil_Sahu
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 sam

Re: urgent- exception in sending e-mail from application

2006-06-15 Thread Sunil_Sahu
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 serve

RE: urgent- exception in sending e-mail from application

2006-06-15 Thread Patil, Sheetal
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 Is

Re: Action Forms in Session

2006-06-15 Thread Sunil_Sahu
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 o

Re: OT: Tomcat not setting session cookies ? Please help :(

2006-06-15 Thread Craig McClanahan
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 ho

RE: urgent- exception in sending e-mail from application

2006-06-15 Thread Mon Cab
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 > Rep

Re: OT: Tomcat not setting session cookies ? Please help :(

2006-06-15 Thread Mon Cab
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 something like this might happen? --- Craig

RE: urgent- exception in sending e-mail from application

2006-06-15 Thread Patil, Sheetal
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: bytes=32 time=252ms TTL=125 Ping statistics for IP: Packets: Sent = 4, Rec

Re: OT: Tomcat not setting session cookies ? Please help :(

2006-06-15 Thread Craig McClanahan
On 6/15/06, Mon Cab <[EMAIL PROTECTED]> wrote: Hi All of a sudden tomcat has stopped settign session cookies. I have been developing on my local machine for approx 1yr. Now, When I goto my webapps home page: http:/127.0.0.1:8080/webapp), tomcat is rewriting the URL as http://127.0.0.1:8080/w

RE: urgent- exception in sending e-mail from application

2006-06-15 Thread Mon Cab
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 > > -Original Message- > From: Mo

Re: Action Forms in Session

2006-06-15 Thread paz . periasamy
session. getAttributes () will give you a list Thanks and regards, Pazhanikanthan. P (Paz) Consultant for AXA, HCL Australia Services Pty. Ltd. Off : +61-3-9618-4085 Mob : +61-0411-354-838 "deepali sharma" <[EMAIL PROTECTED]> 16/06/2006 03:28 PM Please respond to "Struts Users Mailing List"

RE: urgent- exception in sending e-mail from application

2006-06-15 Thread Patil, Sheetal
Hi again I have made some change in code like Transport tran=session.getTransport (); tran.send (message); now this change is giving me exception like javax.mail.NoSuchProviderException: Invalid protocol: null so please help me to resolve this Shital -O

Re: OT: Tomcat not setting session cookies ? Please help :(

2006-06-15 Thread priyadarsh kankipati
Hi Recently I deployed an application in Tomcat. I am also facing the same problem. And is there any way that I can change the session name instead of jsessionID? My application uses another another session name as resin server has that flexibilty. Can any one help in this regard? It would be

Action Forms in Session

2006-06-15 Thread deepali sharma
Hi We are using struts.And in our application we are putting all forms in session. After completing the transaction we are clearing the form values. Is that after the transaction the forms are in session or will be deleted?? If I want to get which objects are in session how we can get that??? Is t

RE: urgent- exception in sending e-mail from application

2006-06-15 Thread Patil, Sheetal
Hi thx for reply I have tried to use the authentication, as u describe but still the exception is same Thanks Shital -Original Message- From: Mon Cab [mailto:[EMAIL PROTECTED] Sent: Friday, June 16, 2006 10:48 AM To: Struts Users Mailing List Subject: Re: urgent- exception in sending e

OT: Tomcat not setting session cookies ? Please help :(

2006-06-15 Thread Mon Cab
Hi All of a sudden tomcat has stopped settign session cookies. I have been developing on my local machine for approx 1yr. Now, When I goto my webapps home page: http:/127.0.0.1:8080/webapp), tomcat is rewriting the URL as http://127.0.0.1:8080/webapp/Welcome.do;jsessionid=DAF0604E76E234C157A9BF

Re: urgent- exception in sending e-mail from application

2006-06-15 Thread Mon Cab
Patil Your smtp server may require authentication. Find out and, if so, Add the following lines to your code. class MyAuthenticator extends Authenticator { protected PasswordAuthentication getPasswordAuthentication() { PasswordAuthentication pa =

urgent- exception in sending e-mail from application

2006-06-15 Thread Patil, Sheetal
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);

urgent- exception in sending e-mail from application

2006-06-15 Thread Patil, Sheetal
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);

Re: Advice on hanlding multi-select options that need a regular submit on form, plus a submit to popup window

2006-06-15 Thread Rick Reumann
Yes, I can do the below but I was going to try to avoid having to use javascript to get the selected values and do the setting etc. Actually what I came up with works pretty well and others might want to use it. So here it is (for when you want to submit your form from a different link/button to a

Re: [shale] using the eclipse ide (maybe ith ant or maven2)

2006-06-15 Thread Gary VanMatre
>From: "Craig McClanahan" <[EMAIL PROTECTED]> > > On 6/15/06, Gary VanMatre wrote: > > > > >From: "Wendy Smoak" > > > > > > On 6/15/06, Gary VanMatre wrote: > > > > > > > My second attempt was to add the cargo.jvmarg to the /shale-apps > > pom.xml: > > > > > > > > > > >> > > > > ${artif

Re: Advice on hanlding multi-select options that need a regular submit on form, plus a submit to popup window

2006-06-15 Thread Saul Qunming Yuan
Can you do it in Javascript? something like the following: Parent window: onclick="openPopup();" > Popup window // getting multiple selected values from opener // set selected values (will be a list) to hidden form field // document.forms[0].multiSel1.value= setTimeout(submitF

Re: [shale] using the eclipse ide (maybe ith ant or maven2)

2006-06-15 Thread Craig McClanahan
On 6/15/06, Gary VanMatre <[EMAIL PROTECTED]> wrote: >From: "Wendy Smoak" <[EMAIL PROTECTED]> > > On 6/15/06, Gary VanMatre wrote: > > > My second attempt was to add the cargo.jvmarg to the /shale-apps pom.xml: > > > > >> > > ${artifactId} > > > > > > org

Re: [shale] using the eclipse ide (maybe ith ant or maven2)

2006-06-15 Thread Gary VanMatre
>From: "Wendy Smoak" <[EMAIL PROTECTED]> > > On 6/15/06, Gary VanMatre wrote: > > > My second attempt was to add the cargo.jvmarg to the /shale-apps pom.xml: > > > > >> > > ${artifactId} > > > > > > org.codehaus.cargo >>cargo-maven2-plu

Re: what on earth is a session

2006-06-15 Thread John Walker
Carl, Which application is giving you the session overflow message? Apache, IIS, etc? Regards, John Walker On 6/15/06, Leon Rosenberg <[EMAIL PROTECTED]> wrote: well it depends a lot on your application. in a specific case concurrent sessions are greater than concurrent users, but if you can

Re: [shale] using the eclipse ide (maybe ith ant or maven2)

2006-06-15 Thread Wendy Smoak
On 6/15/06, Gary VanMatre <[EMAIL PROTECTED]> wrote: My second attempt was to add the cargo.jvmarg to the /shale-apps pom.xml: ${artifactId} org.codehaus.cargo cargo-maven2-plugin ...

Re: what on earth is a session

2006-06-15 Thread Leon Rosenberg
well it depends a lot on your application. in a specific case concurrent sessions are greater than concurrent users, but if you can drive your webapp stateless, you could have more users than sessions. However, typically each visitor of your site will get a new session, even without logging so, so

Re: what on earth is a session

2006-06-15 Thread Carl Smith
Our app has a session over flow issue and I am trying to find out a correct maximum sessions that the server can live with and the configure it. I was confused when people say concurrent user and concurrent sessions. From your answers it seems all my under sanding were close to be right.

Re: what on earth is a session

2006-06-15 Thread Wendy Smoak
On 6/15/06, Carl Smith <[EMAIL PROTECTED]> wrote: (2)simply put, when you open one browser and visit a website, the server(Websphere for example) creates one session, then if you open another browser in the same computer, the sever will create another session. Is this understanding correct?

what on earth is a session

2006-06-15 Thread Carl Smith
Folks, I am working on some issues related to session. I would like to know if the following are true: (1) the number of the concurrent online user may or may not be the same as the number of sessions (2)simply put, when you open one browser and visit a website, the server(Webspher

Re: Struts and RMI

2006-06-15 Thread Leon Rosenberg
Hi, sounds pretty much like our architecture, except we are using CORBA instead of RMI (corba is faster). Since RMI is pretty tied to java I would strongly encourage you to write a java-file generator, which generates a facade on top of the rmi interfaces, hiding error handling and de/marshaling

Struts and RMI

2006-06-15 Thread George Papandreou
Hello All, we need to integrate our Struts application with an RMI server. But we don't know whether tapping into this RMI server (not EJB) would be an easy thing to achieve and we have limited time to investigate. Has any one faced a similar situation to this? Do we need to provide a client

Re: [shale] ajax example from use cases

2006-06-15 Thread stephan opitz
next problem is... in zipCode is code like this i cant find out where ajax$address is defined and what it links to... at all: the ajax sample means that after starting the sample the zipCode.jsp is loaded by faces-config.xml... then while using te

[OT] RE: Dynamic log names

2006-06-15 Thread George.Dinwiddie
You could generate files named like event.log.2006-05-03 using the DailyRollingFileAppender. See http://logging.apache.org/log4j/docs/api/org/apache/log4j/DailyRollingFi leAppender.html Or you could write your own appender. > -Original Message- > From: Darren Hall [mailto:[EMAIL PROTECTE

Re: [shale] using the eclipse ide (maybe ith ant or maven2)

2006-06-15 Thread Gary VanMatre
>From: "Wendy Smoak" <[EMAIL PROTECTED]> > > On 6/15/06, Gary VanMatre wrote: > > > This is a bit off topic but does anyone know how to configure cargo to > > start > tomcat 5.5.x in debug mode so that you can attach in eclipse for interactive > debuging? I've messed with the cargo.jvmargs bu

Re: Help on Validation

2006-06-15 Thread Garner Shawn
I like to put any basic validations like required fields, field size, and content (alphanumeric, date format) into the form. Anything that requires a database call or extended business logic I do in the action and delegate it off to a business/DAO class. I find it is easier to manage things if th

Re: [HELP] bean:define and Map

2006-06-15 Thread Garner Shawn
I'm just use to using it with Strings I guess and when I went to use it with a HashMap it didn't work like I though it was suppose to. I thought it alway created a new instance of the class regardless of type String or not. I understand not duplicating something built into JSP. Thanks for the h

Re: Help on Validation

2006-06-15 Thread Rick Reumann
On 6/15/06, Vishal Seth <[EMAIL PROTECTED]> wrote: Can there be some thing which can be looked at or any ideas on what could be the better way to implement this sort of condition? Do you really 'have' to bother using validate='true'? Personally, I still find it much more conveineint to validat

Advice on hanlding multi-select options that need a regular submit on form, plus a submit to popup window

2006-06-15 Thread Rick Reumann
I'm looking for advice on how to best handle this situation. I have a form with several multi-select drop downs. There is a typical submit button that submits the form. What I also have is another button within the form called "preview distribution" which needs to take the data on the form and up

Re: [shale] using the eclipse ide (maybe ith ant or maven2)

2006-06-15 Thread Wendy Smoak
On 6/15/06, Gary VanMatre <[EMAIL PROTECTED]> wrote: This is a bit off topic but does anyone know how to configure cargo to start tomcat 5.5.x in debug mode so that you can attach in eclipse for interactive debuging? I've messed with the cargo.jvmargs but didn't have any luck. Hmmm... bett

RE: [HELP] bean:define and Map

2006-06-15 Thread Samere, Adam J
The bean:define tag can create new attributes and scripting variables of type String or create a copy of an existing bean or property on an existing bean. The standard jsp:useBean covers creating a new instance of any class with a default constructor, so why duplicate that functionality in a Struts

RE: Help on Validation

2006-06-15 Thread Vishal Seth
Even I think a wrapper on commons validation would be required in this sort of situation. Where the validations are fired on basis of a certain filter. -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Thursday, June 15, 2006 9:58 PM To: Struts Users Mailing List Subjec

Re: Help on Validation

2006-06-15 Thread Dave Newton
Scott Van Wart wrote: > Can you give an example? I'm still not completely positive I know > what the problem is, and if you really need this kind of complexity. I think he was asking if there was a way to declaratively define validations based on runtime dynamics, like the user name. This strike

Re: How to skip validation?

2006-06-15 Thread Scott Van Wart
Dave Newton wrote: Scott Van Wart wrote: The only problem there is you can't rely on the "input" attribute of the action to return to the form and would have to use an action forward instead Why's that? I've been using mapping.getInputForward (or whatever the method is). You cut

Re: Help on Validation

2006-06-15 Thread Scott Van Wart
Vishal Seth wrote: Yep I agree. But writing plugins would not help as plugin would be loaded during the application load time. Can there be some thing which can be looked at or any ideas on what could be the better way to implement this sort of condition? Thanks for your help. Can you give

Re: [HELP] bean:define and Map

2006-06-15 Thread Garner Shawn
Thanks, this works. Can you explain to me why I couldn't do the same thing with bean:define? On 6/15/06, Samere, Adam J <[EMAIL PROTECTED]> wrote: There are probably numerous ways to accomplish this, what I like to do is define/instantiate the Map using the tag, then set the key/value pairs usi

RE: [HELP] bean:define and Map

2006-06-15 Thread Samere, Adam J
There are probably numerous ways to accomplish this, what I like to do is define/instantiate the Map using the tag, then set the key/value pairs using the tag from JSTL. You MUST to use a concrete implementation of java.util.Map, not the interface. Some Where -Adam -Original Message-

[HELP] bean:define and Map

2006-06-15 Thread Garner Shawn
I get a can not set null value form paramsMap. How do I specify the key, value pairs? This is to pass into html:link name="" for request parameters when they click on the link. Thanks. Shawn - To unsubscribe, e-mail: [EMAIL

RE: Help on Validation

2006-06-15 Thread Vishal Seth
Yep I agree. But writing plugins would not help as plugin would be loaded during the application load time. Can there be some thing which can be looked at or any ideas on what could be the better way to implement this sort of condition? Thanks for your help. -Original Message- From: Sco

Re: How to skip validation?

2006-06-15 Thread Dave Newton
Scott Van Wart wrote: > The only problem there is you can't rely on the "input" attribute of > the action to return to the form and would have to use an action > forward instead Why's that? I've been using mapping.getInputForward (or whatever the method is). Dave

newbie question on indexed properties and validation

2006-06-15 Thread Givler, Eric
I was following this article (MS Powerpoint presentation by James Turner) here: http://www.strutskickstart.com/IndexedPropertiesandValidation.ppt When, I tried to cobble this all into a working example, if I left out multiple values (in a four record grid), I'd get one struts validation error bac

Re: How to skip validation?

2006-06-15 Thread Dave Newton
Jennifer Jacobs wrote: > How to do I turn OFF the validation for the subtotal calculation, etc. > buttons? That depends on how you turned it on. I usually just talk real sweet to it with the lights low and some soft jazz in the background. If you're using automagic validation (validate='true')

Re: How to skip validation?

2006-06-15 Thread Scott Van Wart
Jennifer Jacobs wrote: Hello, I have a number of Struts forms that are using the Validator. This works great except for on a couple of the forms. The ones in question have two submit buttons on them. One updates the form somehow - calculates a subtotal, or adds an attachment to a list of att

Re: accessing form in jsp : urgent

2006-06-15 Thread Scott Van Wart
Abhimanyu Koul wrote: hi all! is there a way where we can access an attribute of actionform (in request scope) inside a jsp. actually, i want to do some operations in jsp based on the value of a variable of the actionform. Regards, Abhimanyu Koul FinEng Solutions (P) Ltd. Mobile : +91 9819510

Re: Help on Validation

2006-06-15 Thread Scott Van Wart
Vishal Seth wrote: I got the first point mentioned where I would need to override the validationKey method and not the second one. Problem here is it is not only required during login time but throughout the application there can be different validations for each form or some of the forms. Hen

Problem using contextRelative path

2006-06-15 Thread Pankaj Gupta
Hi All, I am using the following i my struts-config. The problem is that when the validations fail the application is not able to forward to the input form as the contextRelative param is not false for it(I have no idea how it can be done). Please suggest what should be done. type=

How to skip validation?

2006-06-15 Thread Jennifer Jacobs
Hello, I have a number of Struts forms that are using the Validator. This works great except for on a couple of the forms. The ones in question have two submit buttons on them. One updates the form somehow - calculates a subtotal, or adds an attachment to a list of attachments, etc. And the

RE: Help on Validation

2006-06-15 Thread Vishal Seth
I got the first point mentioned where I would need to override the validationKey method and not the second one. Problem here is it is not only required during login time but throughout the application there can be different validations for each form or some of the forms. Hence if I follow the fir

Re: [shale] using the eclipse ide (maybe ith ant or maven2)

2006-06-15 Thread Gary VanMatre
>From: "stephan opitz" <[EMAIL PROTECTED]> > > hello, > > it is ok... > > one can develop with eclipse & view it via > mvn package cargo:start (start from console) > This is a bit off topic but does anyone know how to configure cargo to start tomcat 5.5.x in debug mode so that you can att

accessing form in jsp : urgent

2006-06-15 Thread Abhimanyu Koul
hi all! is there a way where we can access an attribute of actionform (in request scope) inside a jsp. actually, i want to do some operations in jsp based on the value of a variable of the actionform. Regards, Abhimanyu Koul FinEng Solutions (P) Ltd. Mobile : +91 9819510090

Re: [shale] ajax example from use cases

2006-06-15 Thread stephan opitz
thx... unbelievable... i searched with windows for 80632 (file containing)... in Domains.java it is... stephan 2006/6/15, Wendy Smoak <[EMAIL PROTECTED]>: On 6/15/06, stephan opitz <[EMAIL PROTECTED]> wrote: > i almost understood how it works, but where "the ajax form" get its > information.

RE: [OT] Re: Dynamic log names

2006-06-15 Thread Darren Hall
Fair enough Dave, my apologies. For those interested - The Log4j documentation doesn't appear to say anything about handling dynamic log names as I've described. The closest thing seems to be the DailyRollingAppender - however it appends the date after the '.log' (i.e. "error.log.06-15-2006"). I

Re: Help on Validation

2006-06-15 Thread Scott Van Wart
Vishal Seth wrote: Hi, Can I do validation for same form on basis of some session key. Currently all the validations are stored in application scope. I want depending upon user logged the validation fired should be different on same form. I would be having different validation files for

Re: [shale] ajax example from use cases

2006-06-15 Thread Wendy Smoak
On 6/15/06, stephan opitz <[EMAIL PROTECTED]> wrote: i almost understood how it works, but where "the ajax form" get its information... e.g.: 80632 Greeley Colorado there exist no obviously dao or source... It has to be in there somewhere, right?. :) $ grep -R "Greeley" * src/main/java/org/ap

[OT] Re: Dynamic log names

2006-06-15 Thread Dave Newton
Darren Hall wrote: > I have a question about naming log files for my web application. > I'd like to append the date into the name of my log files. Is there a way > that I can generate daily logs with a filename along the lines of > "event.2006-05-03.log" and "error.2006-05-03.log"? > You might

Re: html:checkbox not storing property

2006-06-15 Thread Sebastian Stein
Samere, Adam J <[EMAIL PROTECTED]> [060615 15:20]: > Browsers do not send a request parameter for check boxes that are not > checked. Input of type text is always sent. I'm guessing what you see is > the box not being "unchecked"... You need to set it in the reset method. Great, this was already t

Help on Validation

2006-06-15 Thread Vishal Seth
Hi, Can I do validation for same form on basis of some session key. Currently all the validations are stored in application scope. I want depending upon user logged the validation fired should be different on same form. I would be having different validation files for different users. It

RE: html:checkbox not storing property

2006-06-15 Thread Samere, Adam J
Browsers do not send a request parameter for check boxes that are not checked. Input of type text is always sent. I'm guessing what you see is the box not being "unchecked"... You need to set it in the reset method. -Original Message- From: Sebastian Stein [mailto:[EMAIL PROTECTED] Sent:

[shale] ajax example from use cases

2006-06-15 Thread stephan opitz
i almost understood how it works, but where "the ajax form" get its information... e.g.: 80632 Greeley Colorado there exist no obviously dao or source... stephan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

html:checkbox not storing property

2006-06-15 Thread Sebastian Stein
Hi folks, I have a jsp page with a struts html:checkbox looking as follows: The backupform is defined in struts-config.xml as: If I enter the page, the state of the checkbox is correctly set. However, when I leave the page, the value of the checkbox is not preserved. I debugged this a littl

Dynamic log names

2006-06-15 Thread Darren Hall
Hello again all, I'm using Log4j 1.2.13 with Struts 1.2.9 on Tomcat 5.5. I have the logging with Log4j now working properly and outputting log messages properly. I have a question about naming log files for my web application. I'd like to append the date into the name of my log files. Is there a

RE: [newb question] Turning on DEBUG level logging

2006-06-15 Thread Darren Hall
I've got it working now. Thanks for the help everyone. Darren -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 14, 2006 5:45 PM To: Struts Users Mailing List Subject: Re: [newb question] Turning on DEBUG level logging George/Darren public class S

Re: [OT] Re: XML Help

2006-06-15 Thread Dave Newton
Krishnakanth wrote: > I want to compare each of the key values with the previous XML(ie, > from the DB) and if particular node is already existing in the > PreviousXML remove that node and create a new node with the new values > and insert in to the PreviousXML.If the hashtable key values are not >

[OT] Re: [newb question] Turning on DEBUG level logging

2006-06-15 Thread Dave Newton
Robin Curts wrote: > > > > > > > > [...] > DEBUG - 06/14/2006 14:24:45.823 - > [ContainerBackgroundProcessor[StandardEngine[Catalina]]] - Start > expire sessions StandardManager at 1150309485823 sessioncount 1 > DEBUG - 06/14/2006 14:24:45.823 - > [ContainerBackgroundProcessor[StandardE

Re: web.xml specifications from 2.4 to 2.3

2006-06-15 Thread Dave Newton
Ed Griebel wrote: > Also, to my knowledge there is no way to just include some jar file to > enable EL exprs. That's what the struts-el tags do, like we said before. You have to change your taglib references, too. http://struts.apache.org/struts-action/struts-el/index.html Dave --

Re: Time validator

2006-06-15 Thread Truong Xuan Tinh
Hi there, here is my implementation on the client side, it's validate time against the pattern HH:mm, you can customize against HH:mm:ss with ease: Here is the Server side: this method is in the MyValidatorClass public static boolean validateTim

Time validator

2006-06-15 Thread Pankaj Gupta
Is there a validation-rule for time(hh:mm:ss format) as it exists for date in struts validator framework? If not, has anyone implemented it? I dont want to reinvent the wheel. regards, Pankaj - To unsubscribe, e-mail: [EMAIL P

Nested Form level

2006-06-15 Thread Hanmay Udgiri
Hi How many nested level of form we should have. Is there any limit or specification??? -- Thanks and Regards Hanmayya Udgiri

Re: pls help

2006-06-15 Thread Jorge Martín Cuervo
El jue, 15 de 06 de 2006 a las 01:52, Ceena Bose escribió: > hi, > > pls help me solve the following. > > 1)paging using struts you can use displaytag http://displaytag.sourceforge.net/11/ in your action: List data = new ArrayList(); data.add("1"); data.add("2"); data.add("3"); d

regarding role based access

2006-06-15 Thread mansooraks
Dear all, What s the difference between giving role based access with struts framework. In other way through JAAS. Which s should be taken if optional? regards, Mansoor