This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I'm someone new to the Java Server Faces technology with Richfaces, and similar to most things I try to do in the Java world, different from the Microsoft world where I've come from, nothing appears to work at first, it is usually hard for me to implement trivial things, even going across ready-made tutorials on the web, several of them by the way.
This time, I'm at work, trying to get up and running a basic JSF application once I need to test a Richfaces functionality, the <rich:fileUpload/>, in order to later on implement it in our application here.
I've followed along these tutorials, step-by-step:
Particularly the second example, neither doing exactly like that step-by-step, nor downloading the sample would work for me. Ultimately, I attempted to create a brand new application inside Netbeans, with the appropriate template for JSF, and adapted the code to it, also importing the JARs for Richfaces, but no success at all. One curious thing is that the download made available from Roseindia is not exactly the same thing they present at the web site itself, the download has more code in one or another file, but it still does not work for me.
My relationship with Java has been like this for quite some time, and I want to change this.
Now the question: does anyone have any clue on what's wrong so that I can fix it? I've been a couple of hours into it unsuccessfully, the Roseindia web site made a wonderful job in explaining the underpinnings of JSF, that was so great for me, but how to make my code work? Any tips?
inputname_header=Roseindia JSF Tutorial
prompt=Enter Your Name:
greeting_text=Welcome In Roseindia JSF Tutorial
Trivial tutorials do not work, even when followed step-by-step.
I also tried to alter my pages to *.jsf instead of *.jsp, setting it according in web.xml, but no success at all.
Thanks in advance folks!
DJ aspirant, Engineering undergraduate, Tokusatsus addicted, fond of English language and Asia's, Buddhist, blogger, etc. I'll need to insert all these attributes in a Java class and manage to create methods for handling my overwhelming life
The problem is you're following RoseIndia's tutorials. AVOID THEM AT ALL COST. OK - they're not all bad, but the vast majority of their tutorials are garbage, nonsense, or use bad/outdated java practices.
Sorry for the late response, it was the independence day here in Brazil yesterday and I was off duty.
By the way, thanks for the warm welcome and the useful information about Roseindia. It's impressive to know that most of my Google searches point out something at their web site, and then I find out that for quite some time their web site has been useless. Thanks for the info!
Regarding my problem, my co-worker managed to bring up and running a skeleton project from which I can proceed with my main objectives, the <rich:fileUpload> test and later implementation.
Let's see whether or not I'll struglle with that again, when attempting to create my own JSF applications.