Re: [S2] ServletDispatcherResult (dispatcher) and forwarding to Actions

2008-12-14 Thread Dirk Forchel
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.

Custm interceptor Problem

2008-12-14 Thread aum strut
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

Re: [S2] ServletDispatcherResult (dispatcher) and forwarding to Actions

2008-12-14 Thread Dave Newton
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

Unexpected Exception caught setting 'uploadFileContentType'

2008-12-14 Thread red phoenix
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

Re: file name as null in model driven

2008-12-14 Thread srinivasa_v .
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,

Re: Unexpected Exception caught setting 'uploadFileContentType'

2008-12-14 Thread Dave Newton
--- 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

Re: Please help! Validation Errors

2008-12-14 Thread Faraz Ali
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 {

RE: Please help! Validation Errors

2008-12-14 Thread Martin Gainty
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

dependent scrolls

2008-12-14 Thread hello_everyone
Hi, Is it possible to connect two scroll, when user scrolls one the other one also scrolls. i am using struts 1.x Regards