Re: Action and ActionForm newbie questions

2008-09-29 Thread UseTheFork
Hi Dave, I am sorry if this question goes out of the range. Thanks for your answer !!! J. -- View this message in context: http://www.nabble.com/Action-and-ActionForm-newbie-questions-tp19692405p19721298.html Sent from the Struts - User mailing list archive at Nabble.com. -

Re: Action and ActionForm newbie questions

2008-09-26 Thread UseTheFork
Hi Laurie and Dave, I am reading contradictory information from different sources on the Internet and I am getting confused. i) Assuming that I am writing a JSP page to register a new user using a form: I should implement an ActionForm to retrieve the data entered by the user, correct? I shoul

Action and ActionForm newbie questions

2008-09-26 Thread UseTheFork
Hi, I am learning about Struts and I am trying to understand the proper usage of Actions and ActionForms. Can you tell me if the following is correct? i) Actions are implemented as glue between the View (JSP for example) and the Model part (Hibernate for example) in MVC. Typically, they should

Re: Struts vs JSF newbie questions

2008-09-24 Thread UseTheFork
Wow, nice !!! Thanks Joachim !!! -- View this message in context: http://www.nabble.com/Struts-vs-JSF-newbie-questions-tp19645533p19646792.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe,

Struts vs JSF newbie questions

2008-09-24 Thread UseTheFork
Hi, I am still in my quest to understand J2EE technologies. Today, I am reading about JSF. My questions are: i) I understand that in JSF, you have to define a navigation model from pages to pages. Therefore, it means that JSF is incompatible with Struts, correct? It is an either/or situation, on

Re: 2 newbie questions about Struts and JSP

2008-09-23 Thread UseTheFork
Hi Alberto, thank you for your answer !!! Very helpful !!! J. -- View this message in context: http://www.nabble.com/2-newbie-questions-about-Struts-and-JSP-tp19627021p19628686.html Sent from the Struts - User mailing list archive at Nabble.com.

2 newbie questions about Struts and JSP

2008-09-23 Thread UseTheFork
Hi, I am studying JSP and I understand that these pages are translated into java code servlets, which are then compiled and executed on the application server. i) Do these 'JSP servlets' implement the HttpJspPage interface defined in javax.servlet.jsp? ii) Does Struts (or Spring MVC) provide i

Re: [OT] Re: Newbie question about Struts HelloWorld example

2008-09-14 Thread UseTheFork
Hi Dave, The solution was in fact very simple (http://www.nabble.com/Issue-with-deployment-on-Glassfish-td19463423.html#a19464284). It was stupid from me to search for jars on the app server, because they are packaged in containers. I knew it, but I forgot it in my stress... Thanks for your hel

Re: Newbie question about Struts HelloWorld example

2008-09-12 Thread UseTheFork
Dave, I have managed to deploy another project two days ago without any issue. The JSP pages worked fine. This time, I am trying to use Struts. It could be a project configuration issue, I agree, but I have checked that and I don't know what is wrong... I am in newbie exploration mode here !!!

Re: Newbie question about Struts HelloWorld example

2008-09-12 Thread UseTheFork
> Is it being deployed? I can't find the common jar in the App server installation directory. I will open a ticket with Netbeans Nabble. Thank you for your help, J. -- View this message in context: http://www.nabble.com/Newbie-question-about-Struts-HelloWorld-example-tp19451760p19463173.html

Re: Newbie question about Struts HelloWorld example

2008-09-12 Thread UseTheFork
Hi Dave, I have a library called commons-loggin in my project: http://www.nabble.com/file/p19462329/Commons-loggin.png I had to fiddle with the Web Pages directory structure in the project and create a Classes sub-directory to match the requirements mentioned on http://struts.apache.org/2.x/d

Re: Newbie question about Struts HelloWorld example

2008-09-12 Thread UseTheFork
Here is my struts.xml: http://struts.apache.org/dtds/struts-2.0.dtd";> /HelloWorld.jsp and my web.xml: http://java.sun.com/dtd/web-app_2_3.dtd";> My Application struts2 org.apache.struts2.dispatcher.FilterDispatcher

Re: Newbie question about Struts HelloWorld example

2008-09-12 Thread UseTheFork
Hi Dave, > Is there anything in the logs? Do you have devMode turned on? i) I don't know what devMode is, can you explain? ii) I have noticed that I did not create my web.xml and struts.xml files properly. I have corrected that problem, compiled, undeployed and redeployed and I still have the s

Newbie question about Struts HelloWorld example

2008-09-12 Thread UseTheFork
Hi, I am a newbie to Struts and I am trying to make the HelloWord example work in Netbeans 6.1 (http://struts.apache.org/2.x/docs/hello-world.html). I have implemented all files in a web project and it compiles fine. I have then used the undeploy deploy functionality and got no error message.