Re: call a struts action from an axis service

2006-09-29 Thread Patrice Le Cozler
On 9/29/06, Antonio Petrelli <[EMAIL PROTECTED]> wrote: Patrice Le Cozler ha scritto: > My business logic is not in actions but is not struts-independant > since it > uses datasources initialized during struts servlet loading. Is there a > way > to get theses datasources and more generally get s

FormFile getPath() ?

2006-09-29 Thread Laurent Duparchy
Hi, My front-end program upload files and then forward the file path to another server side program that handle them. The problem is that I have to read the FormFile data and store it into another temp file. It would increase performances this data duplication and have access directly to t

Re: alternative

2006-09-29 Thread Thomas Joseph
UI Tags is great! But as simple to add some tags... consider http://ajaxtags.sourceforge.net if you can't find something in UI Tags. --- Thanks and Regards, Thomas Joseph Kott Software Pvt. Ltd. | Vallamattom Estate | M.G.Road | Cochin Kerala - 682015 | India www.kottsoftware.com

Re: Forward to action without jsp

2006-09-29 Thread Andy.de
Frank W. Zammetti wrote: > > Just do: > > Frank > Hi Frank, that was the hint i needed, thx Regards, Andy -- View this message in context: http://www.nabble.com/Forward-to-action-without-jsp-tf2350751.html#a6562710 Sent from the Struts - User mailing list archive at Nabble.com. -

value bean

2006-09-29 Thread Tom Jerry
would you please give some useful links / insights in using value beans for get & set methods of properties and use of getAttribute ( ) , setAttribute ( ) methods. I have seen that for eg: in login module, apart from having LoginAction and LoginForm classes, we have LoginValueBean class also. I am

Re: value bean

2006-09-29 Thread Eddie Bush
Good morning, Tom! Thinking back to how and why we have a form bean, you'll recall that it's wise for us to use String properties in our form beans. This is so that we can avoid type conversions in capturing user input. This ensures that we don't lose any information that the user has suppli

Re: FormFile getPath() ?

2006-09-29 Thread Mark Shifman
An action like this should do it: public final class UploadAction extends Action { public ActionForward execute( ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { UploadForm theForm = (UploadForm) form;

Re: Struts Action as Web Service

2006-09-29 Thread Frank W. Zammetti
Moved to user list... One other option to consider: http://sourceforge.net/projects/strutsws It's specifically designed to do what your asking. Frank Antonio Petrelli wrote: jungbunzlav ha scritto: Hi there, i would like to provide Struts Actions as a Web Service (WSDL file). Axis2 is a

Re: Forward to action without jsp

2006-09-29 Thread Albert L. Sapp
Andy, Following what you want to do. This may not be exact as I don't use a dispatcher, I don't think. jsp with edit button (In our case, we use a link with image (user.jsp). action="/user/preUpdateUser?userID=${userForm.userID}">pageKey="images.updateIcon" border="0"/> dispatcher?

Echo2 and Struts

2006-09-29 Thread Joel Espinosa
Hi all, I will start a new App and I'm looking for View Tier Frameworks. I want to know if anybody used Echo2 View Tier Framewrok http://www.nextapp.com/platform/echo2/echo/ in combination with Struts and your opinions. Thanks. Kind regards. -- Ing. Joel Alejandro Espinosa Carra Centro de

RE: index value in custom validation message ?

2006-09-29 Thread Tejesh Shetty
No I don't think struts need all elements to be an ActionForm, any JavaBeans with getter/setter works good I have used it in the past. I did try making my form extends from bean as you explained in your mail but I looks like somehow extends is not recognized by struts. I am getting this error when

RE: index value in custom validation message ?

2006-09-29 Thread Tejesh Shetty
Please disregard my previous email. IT WORKS JUST FINE !!! I was getting problem during loading because my validation.xml was not right. I just did exactly what Niall mentioned in his mail and its work just fine. Thanks Niall. -Original Message- From: Niall Pemberton [mailto:[EMAIL PRO

Struts and JAAS - login page timeout

2006-09-29 Thread Adam Gordon
Not strictly a Struts question but we're using JAAS and Struts to handle login (form) authentication. Anyone know where/how the login page timeout is set? It's not the same as the session timeout. Thanks, -Adam - To unsubsc

cannot get parameter value in action class passed using html:link

2006-09-29 Thread Vinod Kumar
I have following in page definition:- In my bottom.jsp page, I create a link like Printable version When I click on the "Printable version",it should pass parameter print=YES to the setup.do but when I check in the action class it does not return anything.

Re: value bean

2006-09-29 Thread Tom Jerry
I want an example in terms of coding please. On 9/29/06, Eddie Bush <[EMAIL PROTECTED]> wrote: Good morning, Tom! Thinking back to how and why we have a form bean, you'll recall that it's wise for us to use String properties in our form beans. This is so that we can avoid type conversions in