Mailreader Welcome ActionMapping

2007-02-18 Thread Peter Milne
I notice in the Mailreader ver 1.3.5 app that struts-config.xml contains 2 ActionMappings for Welcome.jsp, what's the reason for this? !-- Display welcome page -- action path=/Welcome type=org.apache.struts.apps.mailreader.actions.WelcomeAction forward

Struts-Faces: parameter

2007-02-18 Thread Rodrigo Pereira
Is there any way of passing parameters to the action instead of form fields? I mean, I have a value on a managed bean and I'd like to pass it to the action, how can I do that? Thanks, Rodrigo Pereira - To unsubscribe, e-mail:

Re: Mailreader Welcome ActionMapping

2007-02-18 Thread Nuwan Chandrasoma
Hi, the first ones goes through a action classes, and the second one is just a forward action which would only forward to the welcome.jsp Thanks, Nuwan - Original Message - From: Peter Milne [EMAIL PROTECTED] To: Struts User List user@struts.apache.org Sent: Sunday, February 18,

Re: Mailreader Welcome ActionMapping

2007-02-18 Thread Peter Milne
So when index.jsp executes logic:redirect action=/Welcome/ which mapping would be followed? Thanks, Peter Hi, the first ones goes through a action classes, and the second one is just a forward action which would only forward to the welcome.jsp Thanks, Nuwan - Original Message

New MD4J tutorial and template, help in supporting S2 needed :-)

2007-02-18 Thread Manos Batsis
MD4J is an extensible J2EE webapp generator. One of the main features is that it allows you to work on your model iteratively, providing a complete J2EE application following your model changes. So, each time you edit your model and build your project, MD4J will generate high quality code

File Upload design doubt

2007-02-18 Thread Francisco Exposito Aguilera
Hello all, I am trying to upload files, but I have some doubts… As I´ve read, there are two typical ways to do that: 1.Using StrutsFileUpload MyActionForm myForm = (MyActionForm)form; FormFile myFile = myForm.getMyFile(); String fileName=

Re: File Upload design doubt

2007-02-18 Thread Martin Gainty
Francisco with regards to commons-file upload did you upload the latest fileupload.jar into your webapp/AppName/WEB-INF/lib ? http://jakarta.apache.org/site/downloads/downloads_commons-fileupload.cgi M- --- This e-mail

Re: File Upload design doubt

2007-02-18 Thread Francisco Exposito Aguilera
Yes, I have commons-fileupload-1.1.1.jar and its dependent jar file commons-io-1.3.1.jar. In fact, I´ve uploaded files from the two ways I explained in my first mail, but I don´t know which one is better (Struts upload file or commons upload file) due to the disadvantages I´ve found for every

Re: File Upload design doubt

2007-02-18 Thread Martin Gainty
The Struts Fileuload will Autoload your Form Bean Data Is there a specific feature you are seeking? Anyone else? M- --- This e-mail message (including attachments, if any) is intended for the use of the individual or entity

[BEER] IBM's 19 best-of-best practices for J2EE

2007-02-18 Thread Ted Husted
The top Java EE best practicesThe top Java EE best practices, according IBM WebSphere Developer Technical Journal: #1 - Always use MVC. # 2 - Use common, proven frameworks like Apache Struts, JavaServer Faces, and Eclipse RCP. For more, see: http://tinyurl.com/2lq8fw -Ted.

Re: [BEER] IBM's 19 best-of-best practices for J2EE

2007-02-18 Thread Dave Newton
--- Ted Husted [EMAIL PROTECTED] wrote: #1 - Always use MVC. I dunno. It took the NJ MVC like 6 months to get everything about my driver's license squared away and schedule my road test, only to discover that the Rules of the Road here are merely suggestions and only people that aren't *from*

RE: IS struts 2 websphere compatible?

2007-02-18 Thread Kalra, Ashwani
Struts 2 comes with distribution of jars that is JDK 1.4 compatible. You can try that. /Ashwani -Original Message- From: Praveen, Galagali (IE10) [mailto:[EMAIL PROTECTED] Sent: Saturday, February 17, 2007 2:20 PM To: user@struts.apache.org Subject: #Adv#: IS struts 2 websphere

why action calling is occuring twice !

2007-02-18 Thread Rambir Singh
I have populated my form bean with data object using DAO. For this I have used jsp:useBean tag in my JSP say(My.jsp). In struts-config.xml file simply I have mapped my action(MyAction.java) with the related jsp (My.jsp) using : action path=/ab type=abc.MyAction