• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Bear Bibeault
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Piet Souris
  • salvin francis
  • Stephan van Hulst
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Jj Roberts

code made difference, not the extension

 
Ranch Hand
Posts: 3851
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have two JSP file. One has JSP code and other one has JSF code (declares two JSF tags (c & h), and uses those tags).

When I run "JSP one" (right click on it, and run on server (WAS)), I get URL sth like this: http://localhost:9080/JSFApp/aJSP.jsp

And when I run "JSF one", I get URL: http://localhost:9080/JSFApp/aJSF.faces

Why so? I mean, where it happened and why?

Thanks.
[ February 22, 2008: Message edited by: ankur rathi ]
 
ankur rathi
Ranch Hand
Posts: 3851
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It seems that it had happened at browser as browser sends request for aJSF.faces. But browser doesn�t even get that code (it gets HTML, CSS and JS only).
[ February 24, 2008: Message edited by: ankur rathi ]
 
I've read about this kind of thing at the checkout counter. That's where I met this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic