Re: Struts2+MyEclipse

2008-01-25 Thread Alvaro Sanchez-Mariscal
even the latest version of eclipse support only Struts 1.3. Yes, that is. Alvaro. -- Alvaro Sanchez-Mariscal Arnaiz Java EE Architect Instructor [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: Noddy struts problem: java.lang.NullPointerException: Module 'null' not found

2008-01-25 Thread James Cockrill
Alexandru, thanks for the reply. I've changed my form-bean config to match the suggestion below, however I'm still getting the following error: SEVERE: Servlet /Struts Taster threw load() exception javax.servlet.UnavailableException: Parsing error processing resource path jndi:/localhost/Struts

Re: Pretty urls without .action

2008-01-25 Thread neha bhatt
Thanks for the help! Would u please give some brief idea, about setting the rule in urlrewrite.xml? How can I remove .action suffix from each? Thanks, Neha Bhatt Sparecreative wrote: We have adopted using the URL Rewrite Filter (http://tuckey.org/urlrewrite/) which like Apache lets you

Re: Noddy struts problem: java.lang.NullPointerException: Module 'null' not found

2008-01-25 Thread Alexandru BARBAT
It seems to be a problem of xml syntax in 'struts-config.xml'. You could post the content of struts-config.xml. You could refactoring a little(for now) your file structure and move all *.java into /src/com/pdata. (but it has nothing with your error) - Original Message - From: James

RE: Noddy struts problem: java.lang.NullPointerException: Module 'null' not found

2008-01-25 Thread James Cockrill
The contents of my struts-config are... . ?xml version=1.0 encoding=ISO-8859-1 ? !-- Licensed to the Apache Software Foundation (ASF) under one or more... etc -- !DOCTYPE struts-config PUBLIC -//Apache Software Foundation//DTD Struts Configuration

RE: Noddy struts problem: java.lang.NullPointerException: Module 'null' not found

2008-01-25 Thread James Cockrill
Apologies, reading my filestructure back, it looked a bit like src/com/pdata lived within the ant folder, which it does not. I've tried to make this a bit clearer below. Apologies for the spam. -jamie /ant /build.xml (main build xml that I use to clean the project from tomcat and copy

Re: Struts2+MyEclipse

2008-01-25 Thread aum strut
Hi My question is if i want to use MyEclipse as an ID how can i develop Struts2 applcations. is there any way to do this that is the point of my confusion :( On 1/25/08, Alvaro Sanchez-Mariscal [EMAIL PROTECTED] wrote: even the latest version of eclipse support only Struts 1.3. Yes,

Re: Struts2+MyEclipse

2008-01-25 Thread Alvaro Sanchez-Mariscal
My question is if i want to use MyEclipse as an ID how can i develop Struts2 applcations. is there any way to do this that is the point of my confusion The same way as you would do with raw Eclipse: by hand. There is no S2 plugin for neither Eclipse nor MyEclipse. Alvaro. -- Alvaro

Re: actions help

2008-01-25 Thread Dave Newton
--- Lalchandra Rampersaud [EMAIL PROTECTED] wrote: Is it possible execute an action which just puts data into the request object without returning an ActionFoward? I tried to return null but the page just becomes blank. I'm not sure what you'd expect; knowing what comes next is somewhat

RE: actions help

2008-01-25 Thread Lalchandra Rampersaud
Yes, something like that except that it returns a list or an object. -Original Message- From: Ingo Villnow [mailto:[EMAIL PROTECTED] Sent: Friday, January 25, 2008 12:28 PM To: Struts Users Mailing List Subject: Re: actions help Do you mean something like this? you can use actions to

Re: [ANN] Apache Struts Tops OpenLogic Open Source Leaders List with a 71% Share

2008-01-25 Thread Nuwan Chandrasoma
Hi, Congratulations guys. you guys rock. Thanks, Nuwan (http://code.google.com/p/struts2-ssl-plugin/) Ted Husted wrote: Hibernate and Struts topped the list with more than 71 % of customers using each. JasperReports is the only newcomer to the list this year ... *

how to make ajax validation works with s:tabbedPanel in struts 2.0.11

2008-01-25 Thread Wei, Mei
Hi, I would like to make a page has ajax validation and also display as tabbedPanel. I am using struts 2.0.11, and learned from http://java-x.blogspot.com/2006/11/struts-2-validation.html that to use ajax validation, in the jsp file, I can not have s:head theme=ajax/. But to display

Re: actions help

2008-01-25 Thread Ingo Villnow
so i would suggest you to use the action class as a controller to handle the data from the business logic and provide them to the user interface (jsp documents) by putting them as beans into the scope (e.g. request or session). Why do you want to use the action without a action forward? Maybe

Re: [ANN] Apache Struts Tops OpenLogic Open Source Leaders List with a 71% Share

2008-01-25 Thread Wendy Smoak
On Jan 25, 2008 2:29 PM, Ted Husted [EMAIL PROTECTED] wrote: * http://press-releases.techwhack.com/15764/openlogic-5/ More marketing than statistical science, but it's nice to hear that Struts is still on top. :) That reminds me (especially since it's Friday) of...

RE: actions help

2008-01-25 Thread Lalchandra Rampersaud
Yes, I can use my action to put data into the request or session scope. -Original Message- From: Ingo Villnow [mailto:[EMAIL PROTECTED] Sent: Friday, January 25, 2008 1:08 PM To: Struts Users Mailing List Subject: Re: actions help where in your jsp do you want to use your action? can

[ANN] Apache Struts Tops OpenLogic Open Source Leaders List with a 71% Share

2008-01-25 Thread Ted Husted
Hibernate and Struts topped the list with more than 71 % of customers using each. JasperReports is the only newcomer to the list this year ... * http://press-releases.techwhack.com/15764/openlogic-5/ More marketing than statistical science, but it's nice to hear that Struts is still on top. :)

Re: actions help

2008-01-25 Thread Ingo Villnow
where in your jsp do you want to use your action? can you use your action to put your returning object into the request or session scope? so you can forward to the input page like return mapping.getInputForward() and in your jsp you have access to that object with the bean- or logic-tags i

Re: actions help

2008-01-25 Thread Ingo Villnow
Do you mean something like this? you can use actions to get data as a stream, for example to use it with the img-tag /action/ public class DiagramGanttAction extends DownloadAction { protected StreamInfo getStreamInfo(ActionMapping mapping, ActionForm form,

RE: Can I use one action for displaying and submission (with struts validation)

2008-01-25 Thread Dave Newton
--- Zhang, Larry (L.) [EMAIL PROTECTED] wrote: I am intested in knowing how to turn automatic validation off? How? Automagic validation is controlled by the validate attribute in the struts-config files. Also all my submission is also get (for some reasons in our project) That'll make it

RE: Can I use one action for displaying and submission (with struts validation)

2008-01-25 Thread Zhang, Larry (L.)
I am intested in knowing how to turn automatic validation off? How? Using javascript to set the flag is not accepted by us. Also all my submission is also get (for some reasons in our project) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul

Can I use one action for displaying and submission (with struts validation)

2008-01-25 Thread Zhang, Larry (L.)
I was noticing an issue if I use one action for both displaying and submission purposes: Say MyAction.java is for displaying page and also for submission. If on the page there is text field needing the struts validator validation, then if failing validation, I forward to MyAction.java and comes

Re: is it possible to pass a parameter to an interceptor from the xml file?

2008-01-25 Thread xianwinwin
THANK YOU nuwan !!! this is exactly what i was looking for -- View this message in context: http://www.nabble.com/is-it-possible-to-pass-a-parameter--to-an-interceptor-from-the-xml-file--tp15074977p15090339.html Sent from the Struts - User mailing list archive at Nabble.com.

Re: Struts2+MyEclipse

2008-01-25 Thread Giovanni Azua
Hi Aum, I am using MyEclipse 6.0.x to develop a large Struts 2 application and I am very happy with it. The speed you get in the develop-deploy-test cycle with its integrated MyEclipse Tomcat already pays off buying it. Anyway, I found couple of posts from MyEclipse staff that mention they are

Re: Struts2+MyEclipse

2008-01-25 Thread Ted Husted
On Jan 24, 2008 11:15 PM, aum strut [EMAIL PROTECTED] wrote: Hi All, Please tell me is it possible to develop Struts2 applications using latest version of MyEclipse as i came to know that even the latest version of eclipse support only Struts 1.3. Any Guidance in this regard is much

Re: Struts2+MyEclipse

2008-01-25 Thread Alvaro Sanchez-Mariscal
Ted, Those steps are the same as the ones required for Eclipse. Simply, there's no specific support for S2, like the support of S1, Hibernate, Spring... You will have autocompletion of struts.xml if you have the namespace declared (like any other XML file) and autocompletion of jsp tags (like

RE: actions help

2008-01-25 Thread Dave Newton
--- Lalchandra Rampersaud [EMAIL PROTECTED] wrote: I am trying to use AjaxAnywhere, but I have to create a separate servlet to process whatever function I want to call. I would like to do that without the special servlet and just call upon an action class that I already have created. That

Re: tag writers resources?

2008-01-25 Thread Dave Newton
Without knowing exactly what you mean it's hard to know where to point you. Have you looked at existing tag sources? Have you looked at any of the normal JSP custom tag documentation and tutorials in the wild? d. --- Darren James [EMAIL PROTECTED] wrote: Hi All, Does anyone (know of/have

Re: Can I use one action for displaying and submission (with struts validation)

2008-01-25 Thread Paul Benedict
You can use this pattern: * Turn automatic validation off. * If your action was executed as a GET, branch to viewing logic. * If your action was executed as a POST, branch to validation logic and submission logic. Paul