Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » problem to find tag
problem to find tag [message #809153] Tue, 28 February 2012 09:38 Go to next message
Ned Ned is currently offline Ned Ned
Messages: 14
Registered: February 2012
Junior Member
Hello,

Please help me !!!!!!

i have deployed my application successfull

but i have this error when i try to strat it:


OracleJSP : oracle.jsp.parse.JspParseException: /index.jsp: Ligne n° 1, <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
Erreur : Impossible de charger la classe taghandler : http://java.sun.com/jsf/html



where is the problem???????????
Re: problem to find tag [message #809177 is a reply to message #809153] Tue, 28 February 2012 10:10 Go to previous messageGo to next message
Ned Ned is currently offline Ned Ned
Messages: 14
Registered: February 2012
Junior Member
the solution is to add files .tld in my folder web-inf

and add this code in my web.xml

 <taglib>
    <taglib-uri>http://java.sun.com/jstl/fmt</taglib-uri>
    <taglib-location>/WEB-INF/tld/fmt.tld</taglib-location>
  </taglib>

but can you give me a link to download this files
Re: problem to find tag [message #812726 is a reply to message #809177] Sun, 04 March 2012 02:28 Go to previous messageGo to next message
Ned Ned is currently offline Ned Ned
Messages: 14
Registered: February 2012
Junior Member
Please any one can help me???????????
Re: problem to find tag [message #812733 is a reply to message #809177] Sun, 04 March 2012 02:41 Go to previous messageGo to next message
Ned Ned is currently offline Ned Ned
Messages: 14
Registered: February 2012
Junior Member
Please any one can help me
Re: problem to find tag [message #812981 is a reply to message #812733] Sun, 04 March 2012 12:08 Go to previous messageGo to next message
Russell Bateman is currently offline Russell Bateman
Messages: 3146
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 2012.03.04 0:41, Ned Ned wrote:
> Please any one can help me

Ned,

For what it's worth, you might take a look at some notes I made here:

http://www.javahotchocolate.com/tutorials/richfaces.html

It's not exactly what you're after, but it does discuss the problem of
which libraries to get and where to get them, including JSTL.

There are several follow-up articles to this one; look under "Other
tutorials" at http://www.javahotchocolate.com.

J'espère qu'un de mes articles pourra vous dépanner : bonne chance.

Russ
Re: problem to find tag [message #813430 is a reply to message #812981] Mon, 05 March 2012 03:55 Go to previous messageGo to next message
Ned Ned is currently offline Ned Ned
Messages: 14
Registered: February 2012
Junior Member
Thanks sir a lot,
but i can't find this jars:
myfaces-api-
myfaces-impl-

richfaces-api-
richfaces-impl-
richfaces-ui-

for JSF 1.1
Re: problem to find tag [message #813606 is a reply to message #813430] Mon, 05 March 2012 08:44 Go to previous messageGo to next message
Russell Bateman is currently offline Russell Bateman
Messages: 3146
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 2012.03.05 1:55, Ned Ned wrote:
> Thanks sir a lot, but i can't find this jars:
> myfaces-api-
> myfaces-impl-
>
> richfaces-api-
> richfaces-impl-
> richfaces-ui-
>
> for JSF 1.1

In researching my notes, I found that limiting myself to JSF 1 was
becoming increasingly difficult.

I find JARs in two places. First, I try to get them from their
source/vendor/etc. Second, I Google them and often find them lurking in
some Maven repository.

To find the name of a JAR enclosing a particular class, there are a
couple of sites that help, jarfinder.com and findjar.com.

Anymore, people don't look for JARs, they use Maven. I don't happen to
like Maven (for all sorts of reasons). I use Ivy. But, the point is,
Maven will find the JARs for you, if you can figure out how to express
the dependency.

Spring and things like it often provide a lot of functionality you're
looking for within a sometimes unbearably rigid framework. If you accept
to drink the KoolAid, the framework will do a lot for you. Casual
consumption is a lot more difficult.

The best way to get going is to find a tutorial. You might be following
one right now--and it might be the reason you're limiting yourself to
JSF 1. The trick is to find a working tutorial. Tutorials go out of date
quickly when there have critical dependencies on JAR versions.

I would suggest http://www.vogella.de for a great tutorial on JSF.

Last, Eclipse has a subforum of this one dedicated to JSF. Sometimes,
you can get help there.

I admit that the problem you're trying to solve was one of just a few
nightmares I had to solve and it took me a long time.
Re: problem to find tag [message #813623 is a reply to message #813606] Mon, 05 March 2012 09:15 Go to previous messageGo to next message
Ned Ned is currently offline Ned Ned
Messages: 14
Registered: February 2012
Junior Member
Thx Sir,
My problem is,
first i start to work with JSF 1.2 but when i have changed my web xml to deploy my project on OC4J oracle (10g) i have this problem

problem:
Echec du déploiement de l'application Web "decha". Echec du déploiement de l'application Web "decha". . Echec de la phase dévaluation. Ladaptateur utilisé dans lévaluation a peut-être généré une exception.
Résolution :
Contactez le support technique Oracle.
Exception de base :
java.lang.UnsupportedClassVersionError
com/sun/faces/config/ConfigureListener (Unsupported major.minor version 49.0). com/sun/faces/config/ConfigureListener (Unsupported major.minor version 49.0)




web xml:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http:  //java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
  <display-name>TestNed</display-name>
  <welcome-file-list>
    <welcome-file>index.html</welcome-file>
    <welcome-file>index.htm</welcome-file>
    <welcome-file>index.jsp</welcome-file>
    <welcome-file>default.html</welcome-file>
    <welcome-file>default.htm</welcome-file>
    <welcome-file>default.jsp</welcome-file>
  </welcome-file-list>
  <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
  </servlet>
  <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>/faces/*</url-pattern>
  </servlet-mapping>
  <context-param>
    <param-name>org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL</param-name>
    <param-value>true</param-value>
  </context-param>
  <listener>
    <listener-class>com.sun.faces.config.ConfigureListener</listener-class>
  </listener>
  <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>*.jsf</url-pattern>
  </servlet-mapping>
  <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>*.faces</url-pattern>
  </servlet-mapping>
  <context-param>
    <param-name>org.richfaces.SKIN</param-name>
    <param-value>classic</param-value>
  </context-param>
  <context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>client</param-value>
  </context-param>
  <filter>
    <display-name>RichFaces Filter</display-name>
    <filter-name>richfaces</filter-name>
    <filter-class>org.ajax4jsf.Filter</filter-class>
  </filter>
  <filter>
    <filter-name>MyFacesExtensionsFilter</filter-name>
    <filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class>
    <init-param>
      <param-name>maxFileSize</param-name>
      <param-value>20m</param-value>
    </init-param>
  </filter>
  <filter-mapping>
    <filter-name>richfaces</filter-name>
    <servlet-name>Faces Servlet</servlet-name>
    <dispatcher>REQUEST</dispatcher>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>INCLUDE</dispatcher>
  </filter-mapping>
  <filter-mapping>
    <filter-name>MyFacesExtensionsFilter</filter-name>
    <servlet-name>Faces Servlet</servlet-name>
  </filter-mapping>
  <filter-mapping>
    <filter-name>MyFacesExtensionsFilter</filter-name>
    <url-pattern>/faces/*</url-pattern>
  </filter-mapping>
  <login-config>
    <auth-method>BASIC</auth-method>
  </login-config>
 
 
 
 
<filter>
    <filter-name>AuthenticationFilter</filter-name>
    <filter-class>Test.AuthenticationFilter</filter-class>
  </filter>
  <filter-mapping>
    <filter-name>AuthenticationFilter</filter-name>
    <url-pattern>/restricted/*</url-pattern>
  </filter-mapping>


 
</web-app>


So, i try to work with JSF 1.1 but i can't find jar, i deploy my project with succefull but when i start my page i see this message

OracleJSP : oracle.jsp.parse.JspParseException: /index.jsp: Ligne n° 3, <%@ taglib uri="http:  //richfaces.org/rich" prefix="rich" %>
Erreur : Impossible de charger la classe taghandler : http: //richfaces.org/rich

Re: problem to find tag [message #813674 is a reply to message #813623] Mon, 05 March 2012 10:32 Go to previous message
Russell Bateman is currently offline Russell Bateman
Messages: 3146
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 3/5/2012 7:16 AM, Ned Ned wrote:
> Thx Sir,
> My problem is,
> first i start to work with JSF 1.2 but when i have changed my web xml to
> deploy my project on OC4J oracle (10g) i have this problem
> [snip]
>
> OracleJSP : oracle.jsp.parse.JspParseException: /index.jsp: Ligne n° 3,
> <%@ taglib uri="http: //richfaces.org/rich" prefix="rich" %>
> Erreur : Impossible de charger la classe taghandler : http:
> //richfaces.org/rich


You're using ojsp.jar from Oracly, I'm guessing. I don't know anything
about that JAR. I wish I could help there. As it also looks very old,
I'm pessmimistic about you getting support from Oracle on it. I can't
really speculate further.

You might have more luck getting help a) in the JSF forum and b) in any
forum if you switched the language of localization to English. Many
unfortunately might be frightened off by seeing an error message in
French and assuming they won't be able to help. Just a suggestion.

It might also help if you posted a list of the JARs you are using.
Previous Topic:Problem In deploying Web service
Next Topic:Debugging using crossfire
Goto Forum:
  


Current Time: Wed Aug 20 16:29:19 EDT 2014

Powered by FUDForum. Page generated in 0.01922 seconds