Sudharsan Ashwin

Greenhorn
+ Follow
since Mar 09, 2010
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Sudharsan Ashwin

Ok. Will try it
9 years ago
JSF
Hi

I have 5 input text(text box).
I have an arraylist field in backing bean.

How can I bind the input text with the arraylist in backing bean?

Is there an option?
9 years ago
JSF
Hi

I have created a plug-in project for JAR using Eclipse.

How can I add it as a dependecy to another Dynamic Web Application?



9 years ago
JSF
I tried <jsp:forward> from a jsp page to jsf page.

But, still

http://localhost/DownloadFromLink/

displays exception - FacesContext not found.
9 years ago
JSF
Is it fine, if I get that error? Or how to rectify it?
9 years ago
JSF

When I run the project, the link displayed is this

http://localhost/DownloadFromLink/

and it shows an error like - org.apache.jasper.JasperException: An exception occurred processing JSP page /Downloadpdf.jsp at line 11"
line 11 is <f:view> tag

But, if I give the link as

http://localhost/DownloadFromLink/faces/Downloadpdf.jsp - the jsp is displayed and it works fine..

What is the problem?
9 years ago
JSF
Yeah. I added that too. But still, it's not working.

Is it mandatory to add libarary files in WEB-INF/lib/ folder?

What should I do to display a page as my home page, as soon as i run the project?
9 years ago
JSF
I have created a dynamic web application project using Eclipse.

ProjectName : DownloadFromLink

When I run the entire project (Right Click on the DownloadFromLink project in the Project Explorere Window and Run on Server),
a page opens having the address as "http://localhost/DownloadFromLink/" and my welcome jsp page that I have listed in web.xml is not displayed.

How to resolve this issue?
9 years ago
JSF


Can anyone explain..How is it that passthebuck(listall) is compiling fine? Though in the method definiton it is mentioned as List<String> ?

Just tried a sample program



I am getting output as "0 9", but the length of the string match is 9.
Can anyone explain?

Myself

Thank you. I understood and your replies were very useful.


The above code compiles, but fails to run throwing a ClassCastException.
Can anyone explain why is it so?

Code from Kathy bates

But only one thread at a time, can execute bow method right?
Then, how come gaston is also executing bow method?


Can anyone explain, how deadlock occurs here?

http://java.sun.com/docs/books/tutorial/essential/concurrency/deadlock.html