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
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:
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,
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
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
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=
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
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
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
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.
--- 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*
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
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
13 matches
Mail list logo