multi-step user registration ?

2006-01-17 Thread Harish Pathak
Hi all, How can I handle multiple forms or multi-step user registration (multi step form) with Struts ? I want to create 4 forms and it should show the data of all the forms when user click on the Submit button on the last form . Please give me the idea...how to do that? Please

RE: [OT] Cookies enabled on browsers

2006-01-17 Thread garg.sandeep
Hello deepa This is sandeep garg working at wipro. Can you please give me some information regarding struts I mean like how to start with and which book will be good to start with?? Regards Sandeep -Original Message- From: Deepa Khetan [mailto:[EMAIL PROTECTED] Sent: Monday, January

RE: Struts UTF-8

2006-01-17 Thread garg.sandeep
Can anybody tell me the best book to start with struts How to proceed with using struts... -Original Message- From: Alan Comeau [mailto:[EMAIL PROTECTED] Sent: Monday, January 16, 2006 7:24 PM To: Struts Users Mailing List Subject: RE: Struts UTF-8 Should have added a filter

RE: Struts UTF-8

2006-01-17 Thread Ayusman dikshit
Struts in action is a good book. Also professional struts. Regards Ayusman -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 17, 2006 4:35 PM To: user@struts.apache.org Subject: RE: Struts UTF-8 Can anybody tell me the best book to start with

RE: Struts UTF-8

2006-01-17 Thread Ramkumar.Sakthivel
You can begin with Struts in action. You can also download example web app from the struts web app. http://www.learntechnology.net/ http://struts.sourceforge.net/community/examples.html Thanks and Regards, S.Ramkumar Associate Consultant - Investment Banking PrimeSourcing(tm) Add Value

RE: Struts UTF-8

2006-01-17 Thread garg.sandeep
Can I get the ebook for the same over internet -Original Message- From: Ayusman dikshit [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 17, 2006 4:36 PM To: Struts Users Mailing List Subject: RE: Struts UTF-8 Struts in action is a good book. Also professional struts. Regards Ayusman

RE: Struts UTF-8

2006-01-17 Thread Ramkumar.Sakthivel
Yes, you can. Check http://www.manning.com/books/husted Also try searching http://www.theserverside.com for Free copy of Struts Live. Thanks and Regards, S.Ramkumar Associate Consultant - Investment Banking PrimeSourcing(tm) Add Value Reduce Risk i-flex solutions limited, Bangalore Ph:+

gone MAD with servlet / xls download on winXP

2006-01-17 Thread Szczepan Faber
Hi, I made nice servlet (Struts action actually) that downloads xls (or opens - depends what the users chooses). headers: response.setHeader(Content-Disposition, attachment; filename=report.xls); response.setContentType(application/vnd.ms-excel); works on win2k perfectly. I click a download

Re: gone MAD with servlet / xls download on winXP

2006-01-17 Thread Thomas Joseph
Try any/all of these: 1. WinXP + Firefox. 2. reinstalling Excel 3. save file and open Note that everything works on IE 6.0 (or firefox) in win2k (so I decided not to post any code samples) but opening file fails on IE 6.0 in winXP What is wrong then? I tried plethora of different

No bean found under attribute key exception when a page is acce ssed after sometime

2006-01-17 Thread Kamaraj, Pushparaj
Hi, We are using weblogic 7.1 SP6, Oblix and TRC struts in our application. During normal access to various pages system works fine. When the application is not accessed for 30 minutes system displays session expired exception. But some time when a page is not accessed for some time, say 15 - 20

Re: gone MAD with servlet / xls download on winXP

2006-01-17 Thread Ed Griebel
I agree, it sounds like a configuration issue on your PC. Have you tried it on a different PC? Possibly one not set up by the same Corporate IT department? -ed On 1/17/06, Thomas Joseph [EMAIL PROTECTED] wrote: Try any/all of these: 1. WinXP + Firefox. 2. reinstalling Excel 3. save file and

RE: gone MAD with servlet / xls download on winXP

2006-01-17 Thread George.Dinwiddie
I use a ContentType of application/excel and it seems to work OK. You might try that in your environment. -Original Message- From: Szczepan Faber [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 17, 2006 7:59 AM To: user@struts.apache.org Subject: gone MAD with servlet / xls

RE: Struts UTF-8

2006-01-17 Thread David G. Friedman
+1 on Struts in Action. The cheesy thing was I ALMOST brought it in for the author to sign when he was talking last week but I decided not to at the last minute. LOL. Now, wouldn't you be better off buying WebWork in Action since Webwork 2.2 will be the base for Struts (Action) 2.0? I bought

Re: gone MAD with servlet / xls download on winXP

2006-01-17 Thread Szczepan Faber
I tested it on 4 different PCees with XP :-) The problem might be that all those pcees have company-wide win-xp distribution. I implemented simple workaround but I don't like it: I removed 'attachment;' from content-disposition and now IE opens the excel in web browser window rather than in

Re: Struts UTF-8

2006-01-17 Thread James Mitchell
I went through Web Work in Action in one night. It is an easy read if you've done web development for a few years. I'm very excited about the future of where we are heading! The possibilities are endless. If you are in or near Atlanta, tonight Gavin King will be presenting on JBoss

Re: multi-step user registration ?

2006-01-17 Thread Michael Jouravlev
On 1/17/06, Harish Pathak [EMAIL PROTECTED] wrote: Hi all, How can I handle multiple forms or multi-step user registration (multi step form) with Struts ? I want to create 4 forms and it should show the data of all the forms when user click on the Submit button on the last form . Please

RE: Struts UTF-8 [Off Topic for a second]

2006-01-17 Thread David G. Friedman
James, I think we need to get those guys out on tour more often. And maybe put up a Calendar section on the Struts website so we know when/where speakers are headed since some Internet technologies work extremely well with Struts or Shale. Or maybe just a generic Jakarta Technology speaker

RE: multi-step user registration ?

2006-01-17 Thread David G. Friedman
Harish, How about Struts Flow? I haven't used it but I have seen a post or two about it so I thought you might want to know about it. http://struts.apache.org/struts-flow/index.html Regards, David -Original Message- From: Michael Jouravlev [mailto:[EMAIL PROTECTED] Sent: Tuesday,

Re: gone MAD with servlet / xls download on winXP

2006-01-17 Thread Laurie Harper
Another thing to check is what cache control headers you (or Struts) are sending, if any. Some versions of IE incorrectly delete the downloaded file before trying to open it in an external application if told not to cache it. The only work around I'm aware of is to not send cache control

Re: gone MAD with servlet / xls download on winXP

2006-01-17 Thread Szczepan Faber
I tried both - with sending cache (pragma + cache control) and w/o it. No effect :) My current owkward idea is that perhaps the xls content is somewhat wrong... 2006/1/17, Laurie Harper [EMAIL PROTECTED]: Another thing to check is what cache control headers you (or Struts) are sending, if

downloading a file using struts action class

2006-01-17 Thread temp temp
I am using struts action class to download a file . Here is the action class public ActionForward execute(ActionMapping aActionMapping, ActionForm aActionForm, HttpServletRequest aHttpServletRequest, HttpServletResponse aHttpServletResponse)

Re: downloading a file using struts action class

2006-01-17 Thread Ed Griebel
On the thread today called gone MAD with servlet / xls download on winXP, someone suggested that sending the no-cache directive will cause IE to download the file and then remove it before starting the associated application. This sounds like what is happening in your case as well. -ed On

Re: Enabling links according to user's authorization

2006-01-17 Thread Wendy Smoak
On 1/17/06, Rivka Shisman [EMAIL PROTECTED] wrote: Wendy wrote: I use Struts Menu to conditionally display menu items based on user roles. Rather than configure the container to handle it, I have a Filter that wraps the request, and the request wrapper overrides the isUserInRole method.

cannot find bean error, when cliked on submit button

2006-01-17 Thread fea jabi
Created a jsp, whose struts config action path=/PrepareFacilityAction type=PrepareFacilityAction name=FacilityForm scope=session validate=false input=/pages/Facility.jsp forward name=success path=/pages/Facility.jsp redirect=false/ /action

Re: gone MAD with servlet / xls download on winXP

2006-01-17 Thread Rick Reumann
Szczepan Faber wrote the following on 1/17/2006 7:58 AM: I made nice servlet (Struts action actually) that downloads xls (or opens - depends what the users chooses). headers: response.setHeader(Content-Disposition, attachment; filename=report.xls);

Re: cannot find bean error, when cliked on submit button

2006-01-17 Thread Rick Reumann
fea jabi wrote the following on 1/17/2006 3:40 PM: The JSP displayes fine with all the values in it. This JSP has required fields in it. Used validator.xml to define al lthe required fields. There is a Save Button which is the submit button in the JSP. When clicked on Save want the

Re: cannot find bean error, when cliked on submit button

2006-01-17 Thread Michael Jouravlev
In the JSP have comboboxes. PrepareFacilityAction . request.setAttribute(List1, getList1(form)); ... ... The Jsp the combox is filled ... .. html:select name=FacilityForm property=selected html:options

[OT]AJAX System Requirements

2006-01-17 Thread Srinivas Jadcharla
Hi, I have a small doubt regarding System Requirements for AJAX.Like Javascript i just need AJAX Supported Browser and notepad(as editor) , or do i need some thing else.Are there any small and simple examples on net to start with.Any advice is highly appreciable. -- Thanks Regards Srinivas

Re: [OT]AJAX System Requirements

2006-01-17 Thread Srinivas Jadcharla
i found one example from this url http://www.degraeve.com/reference/simple-ajax-example.php?word=hi But this example requires CGI Script about which i have Zero knowledge.Arethere any other simple ajax examples?? Some thing like Hello World!! example On 1/17/06, Srinivas Jadcharla [EMAIL

Re: [OT]AJAX System Requirements

2006-01-17 Thread Frank W. Zammetti
Have a look here: http://www.omnytex.com/articles/ If you need something a little meatier, try this: http://struts.sourceforge.net/ajaxchat/index.html Both are Struts-based examples of AJAX. The first is meant to be a very simple introduction, the second is a little bit more real-world. --

Re: [OT]AJAX System Requirements

2006-01-17 Thread Frank W. Zammetti
As far as what you need... you need whatever you currently have for web development, nothing more. AJAX is nothing but some Javascript on the client, and something on the server that knows what do with an AJAX request (which is just an HTTP request in the end). That being said, there are a huge

Re: [OT]AJAX System Requirements

2006-01-17 Thread Srinivas Jadcharla
Thanks for you time Frank //AJAX is nothing but some Javascript on the client, and something on the server that //knows what do with an AJAX request (which is just an HTTP request in the end). How can i implement the following code using AJAX // code starts HTML SCRIPT LANGUAGE=JavaScript

Re: [OT]AJAX System Requirements

2006-01-17 Thread Frank W. Zammetti
Srinivas Jadcharla wrote: How can i implement the following code using AJAX // code starts HTML SCRIPT LANGUAGE=JavaScript alert('Hi'); /SCRIPT /HTML // code ends By using javascript i just need a javascript supported browser and notepad(or any Editor).Iam very sorry if some one feels it as a

Re: [OT]AJAX System Requirements

2006-01-17 Thread Frank W. Zammetti
Hmm, maybe I replied a little too quickly... are you asking how to make a call via AJAX and show an alert as a result? In other words, do exactly as what you show below, but involving the server? If so, then I take back what I said and I can point you in the right direction :) Frank

Re: [OT]AJAX System Requirements

2006-01-17 Thread Srinivas Jadcharla
Thanks Again frank, May be i didn't asked the question in proper way.Suppose i just have IE 6.0and Notepad.Will i be still able to work with Simple AJAX examles??I can still work with simple javascript examples with just IE and notepad. On 1/17/06, Frank W. Zammetti [EMAIL PROTECTED] wrote:

Re: [OT]AJAX System Requirements

2006-01-17 Thread Michael Jouravlev
On 1/17/06, Srinivas Jadcharla [EMAIL PROTECTED] wrote: Thanks Again frank, May be i didn't asked the question in proper way.Suppose i just have IE 6.0and Notepad.Will i be still able to work with Simple AJAX examles??I can still work with simple javascript examples with just IE and notepad.

Re: [OT]AJAX System Requirements

2006-01-17 Thread Frank W. Zammetti
Srinivas Jadcharla wrote: Thanks Again frank, May be i didn't asked the question in proper way.Suppose i just have IE 6.0and Notepad.Will i be still able to work with Simple AJAX examles??I can still work with simple javascript examples with just IE and notepad. Well, I there probably aren't

Starting with struts again

2006-01-17 Thread David Thielen
Hi; I've done a lot of stuff with struts a couple of years ago - but nothing for 12 - 18 months. So. starting from scratch I need to create a server app using struts (EL I believe), JSTL, and JSP (obviously). No JSF (tried it 4 - 5 months ago and it's still pretty limited). Any books,

Best practices questions

2006-01-17 Thread Josh McDonald
Hi all, First of all, is there a site full of patterns and best practices for tomcat? Second, here's my specific enquiry: Let's say we've a page where you select an item from a list, and then you can perform one of 5 actions on it. One is 5 forms with different .do destinations, and

Re: Best practices questions

2006-01-17 Thread Josh McDonald
Erm, I meant for struts rather than for tomcat. Sorry folks :) -- His comrades fought beside him, Van Owen and the rest... But of all the thompson gunners- Roland was the best. Josh McDonald Analyst Programmer Information Technology Ph: 61 7 3006 6460 Email: [EMAIL PROTECTED]

Re: Starting with struts again

2006-01-17 Thread netsql
http://wiki.apache.org/struts/StrutsBook .V Any books, online articles, etc. of what to use and how to structure the code? Basically I want to make sure I am using it the right way as the best approach has probably changed since I last used it.

Array of a java bean and Dynamic Form Beans

2006-01-17 Thread Néstor Boscán
Hi In the projects I'm working on we use a lot of Dynamic Form Beans with Arrays of Java Beans. I read that the only way to make this work is to declare the form bean with session scope. The problem is that I need all form beans to have their scope set to request to minimize session propagation

Is there a way to use Dates and Numbers with Dynamic Action Forms using a pattern?

2006-01-17 Thread Néstor Boscán
Hi Is there a way to use Dates with Dynamic Action Forms using a pattern. We would like to use all our DTOs with Dynamic Form Beans but we're having problem with Date and Numbers were we need to apply patterns. Is there a way to do this?

Re: Best practices questions

2006-01-17 Thread Michael Jouravlev
On 1/17/06, Josh McDonald [EMAIL PROTECTED] wrote: Hi all, First of all, is there a site full of patterns and best practices for [Struts]? Common practices - yes, best - not sure about that ;-))) Second, here's my specific enquiry: Let's say we've a page where you select an item from a

RE: Starting with struts again

2006-01-17 Thread David Thielen
I looked at the list. Any comments on which do list the best way to use struts? (I have read books that list the worst way to do something so I don't trust something just because it's printed.) ??? - thanks - dave David Thielen www.windwardreports.com 303-499-2544 -Original Message-

Re: Best practices questions

2006-01-17 Thread Josh McDonald
One is 5 forms with different .do destinations, and javascript to copy information from the master form into these forms and then submit them. Does it look something like this: http://www.superinterface.com/strutsdialog/crudactionlite.do No, it's one form (and one button) for each of the five

Re: Best practices questions

2006-01-17 Thread Rick Reumann
Josh McDonald wrote: First of all, is there a site full of patterns and best practices for tomcat? For Tomcat specifically? Not sure. Second, here's my specific enquiry: Let's say we've a page where you select an item from a list, and then you can perform one of 5 actions on it. One is

Re: Starting with struts again

2006-01-17 Thread Rick R
David Thielen wrote: Any books, online articles, etc. of what to use and how to structure the code? I have some examples here http://www.learntechnology.net/ If you've already coded some struts apps before, start with the CRUD lesson. -- Rick

Re: Array of a java bean and Dynamic Form Beans

2006-01-17 Thread Rick Reumann
Néstor Boscán wrote: In the projects I'm working on we use a lot of Dynamic Form Beans with Arrays of Java Beans. I read that the only way to make this work is to declare the form bean with session scope. You can get this to work without using Session scope. You just need to use your reset

Re: Best practices questions

2006-01-17 Thread Josh McDonald
After reading up on it, the DispatchAction setup is what I was referring to when I said using a token, it definitely looks like the nicest solution, since it saves you a bunch of ugly if-then-else stuff. What will DispatchAction.execute() do if there's no method to handle a particular value for

Re: Best practices questions

2006-01-17 Thread Michael Jouravlev
On 1/17/06, Josh McDonald [EMAIL PROTECTED] wrote: After reading up on it, the DispatchAction setup is what I was referring to when I said using a token, it definitely looks like the nicest solution, since it saves you a bunch of ugly if-then-else stuff. I suggest you using a better version of

Re: Best practices questions

2006-01-17 Thread Michael Jouravlev
On 1/17/06, Michael Jouravlev [EMAIL PROTECTED] wrote: On 1/17/06, Josh McDonald [EMAIL PROTECTED] wrote: What will DispatchAction.execute() do if there's no method to handle a particular value for dispatch or whatever you call it in your instance? It will call unspecified method, which

Re: Best practices questions

2006-01-17 Thread Wendy Smoak
On 1/17/06, Michael Jouravlev [EMAIL PROTECTED] wrote: It will call unspecified method, which you may want to override. I take this back. I guess it will just throw an exception. Correct. Unspecified is only called when the parameter is missing.

RE: Array of a java bean and Dynamic Form Beans

2006-01-17 Thread Néstor Boscán
Hi Rick Thanks for the quick answer. The problem is that I have to minimize the use of object in session scope to minimize session replication. Is there any way to do this in request scope? Regards, Néstor Boscán -Mensaje original- De: Rick Reumann [mailto:[EMAIL PROTECTED] Enviado

Re: Best practices questions

2006-01-17 Thread Josh McDonald
Thanks for all your help guys, I knew there'd be a better (than rolling-my-own) solution :) -Josh -- His comrades fought beside him, Van Owen and the rest... But of all the thompson gunners- Roland was the best. Josh McDonald Analyst Programmer Information Technology Ph: 61 7 3006

Re: Array of a java bean and Dynamic Form Beans

2006-01-17 Thread Rick Reumann
Néstor Boscán wrote: The problem is that I have to minimize the use of object in session scope to minimize session replication. Is there any way to do this in request scope? Right.. as I said you can use Request scope just fine. You just have to make sure in the reset method to either use a