stefano corna

Greenhorn
+ Follow
since Sep 08, 2010
Merit badge: grant badges
For More
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 stefano corna

tnx for answers.
@Bear Bibeault i think jFreeChart and Cewolf are only to draw charts and not for a tree structure (nodes + arc)
@Lester Burnham now i check if is possible save to file i htink is the easier way if is not possible i think i must create a file, easy to parse, with tree structure and use ajax+some javascript framework to draw the tree
hello,
i working on a project for university that consist in a Web Graph Visualizator using java and jsp, in few word in a first step i analize a file (xml based) with my java parser and i build the tree\graph structure and then i need to draw the graph (or tree^^) in the web page.
i searched a little on web and i found JGraph drawing component but it seems to be able to draw a graph only in a jframe and dont give the functionality for web.
Moreover i dont know if its possible to embed the jframe created with jgraph in a html\jsp page.
Someone know if is possible and how i can make it, or simply if exist another way (library, tag-library, framework) to draw my graph in a webpage?

all suggestion al welcome
tnx in advice.

Tim Holloway wrote:It looks like you're confusing the resource path with the URL. Only URLs that match the mapping(s) you set up for the FacesServlet in web.xml are routed to the FacesServlet, and only the FacesServlet provides the FacesContext.

In other words, instead of asking for the resource ("/mywebapp/prova.jsp"), you need to ask for the URL ("http:/mywebapp/faces/prova.jsp")



ty now it works
13 years ago
JSF
hi,
i just started work with jsf with eclipse and i need help to solve a problem.
i use Eclipse Elios, Tomcat 6.0 and JFS 1.2 (SUN version)
heres what i done
i created a new dynamic web project with eclipse, with javaserver faces 1.2 runtime and i added the relative jars (jsf-api jsf-impl and jstl-api-1.2).
i created a new jsp page with "New javaserver faces (JSF) Page (html)" template and added in it a simple empty table from the palette.
i generated the war fime and mounted on apache tomcat but it give me this error:
java.lang.RuntimeException: Cannot find FacesContext

follow the full error trace and java code in my project:


ERROR:



JSP FILE:



web.xml and faces-config.xml



someone have idea of what that error mean and what i should do?
tnx in advice.
regards.
13 years ago
JSF