Has somebody any idea regarding the problem mentioned below. Every hint is
appreciated.
Dirk Forchel wrote:
I need your help. I wanna use the DispatcherResult (dispatcher) not as a
forward to a JSP (jsp/pages/test.jsp), but rather to forwarding to another
action request e.g.
Hi All,
I am developing custom inteceptor so that unauthorized user can not access
the resources using struts2. i am following the below mentioed approach
1) when user login process succeed i am putting user object in the session
2) For all other request when user try to hit the direct action
You may be able to use the existing dynamic result configuration to implement
this; see these two links:
http://cwiki.apache.org/WW/result-configuration.html
http://cwiki.apache.org/WW/parameters-in-configuration-results.html
Dave
--- On Sun, 12/14/08, Dirk Forchel wrote:
7:59 AM
Has somebody
I want to upload a file in struts2,my jsp file is follows:
html:html
body
s:form enctype=multipart/form-data method=post action=upload.action
s:file id=uploadFile name=uploadFile accept=text/*/
input type=submit
/s:form
/body
/html:html
my action is follows:
import java.io.File;
private File
pls find the page that i have created and pls help me
On Fri, Dec 12, 2008 at 6:02 PM, Dave Newton newton.d...@yahoo.com wrote:
--- On Fri, 12/12/08, srinivasa_v wrote:
s:form action=NewRequestPostController name=EmpReleaseTransferForm
method=post enctype=multipart/form-data
Oh,
--- On Sun, 12/14/08, red phoenix rodphoe...@gmail.com wrote:
I have no 'uploadFileContentType' and 'uploadFileFileName' in my
JSP, why raise 'uploadFileContentType' and 'uploadFileFileName' error?
Because you have no 'uploadFileContentType' and 'uploadFileFileName' in your
action.
How
Any idea?
On Fri, Dec 12, 2008 at 6:04 PM, Faraz Ali farazali.fa...@gmail.com wrote:
Hi Andy,
Please take a look at the code snippet and suggest.
*MyAction.java*
public class MyAction extends ActionSupport {
//getAction
//setAction
public String execute() throws Exception {
can we see the struts action mappings and result mappings from struts.xml e.g.?
i assume you're using Struts 2?
struts
package name=default extends=struts-default
action name=hello class=com.opensymphony.xwork2.ActionSupport
result name=successhello.jsp/result
Hi,
Is it possible to connect two scroll, when user scrolls one the other one
also scrolls.
i am using struts 1.x
Regards
9 matches
Mail list logo