*
The moose likes JSF and the fly likes Unable to run JSP pages Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Unable to run JSP pages" Watch "Unable to run JSP pages" New topic
Author

Unable to run JSP pages

Gvn Karthik
Greenhorn

Joined: Feb 07, 2011
Posts: 22
I have recently configured ICEfaces with Eclipse Helios and I want to create a JSP page and run it as a sample before I can use the other components. But, I'm not able to run a simple JSP page successfully. I get a HTTP Status 404 error page. I have attached the screenshot of the simple JSP page and also the error page that I get.

Please help me what should I do to successfully execute a JSP page in an ICEfaces project.


[Thumbnail for Snapshot1.JPG]

[Thumbnail for Snapshot.JPG]

Ifteqar Ahmed
Ranch Hand

Joined: May 02, 2011
Posts: 85

Hi kartik, you cannot access that jsp file by specifying the location in URL. you have to configure that page in web.xml. if you find any issues let me know..
Gvn Karthik
Greenhorn

Joined: Feb 07, 2011
Posts: 22
My doubt is why is it that I need to configure it in web.xml. When I worked with JSF 1.2, I just created the JSP page and just ran my application.

Now in ICEaces, do I have to configure each and every JSP page of my application in web.xml?
Gvn Karthik
Greenhorn

Joined: Feb 07, 2011
Posts: 22
If so, then how do I configure my JSP pages in web.xml ?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unable to run JSP pages
 
Similar Threads
need help configuring tomcat with eclipse (and icefaces or richfaces)
how to call processAction() method from icefaces ,in liferay
hot to get javascript value in icefaces tag
Running JBuilder8 with Jakarta Tomcat: can't view the Tomcat Admin application
Code for replacing 'get' and 'set' method