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

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? hello.jsp Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attach

Re: Please help! Validation Errors

2008-12-14 Thread Faraz Ali
Any idea? On Fri, Dec 12, 2008 at 6:04 PM, Faraz Ali 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 { > if(action==1) { >

Re: Unexpected Exception caught setting 'uploadFileContentType'

2008-12-14 Thread Dave Newton
--- On Sun, 12/14/08, red phoenix 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 to correct my above

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 wrote: > --- On Fri, 12/12/08, srinivasa_v wrote: > > > method="post" enctype="multipart/form-data" > > > Oh, did you mean "enctype"? > > > > > > > > > in action class [...] > > It

Unexpected Exception caught setting 'uploadFileContentType'

2008-12-14 Thread red phoenix
I want to upload a file in struts2,my jsp file is follows: my action is follows: import java.io.File; private File uploadFile; public File getUploadFile(){ return uploadFile; } public void setUploadFile(File uploadFile){ this.uploadFile=uploadFile; } public String upload() throws

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

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 URL

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. /test.actio