Spring/Hibernate/Hypersonic
Sorry for post Spring questions here. But I believe only here I can meet gurus.
Hi,
I have download "Spring Live" sample example in order to learn Spring framework.
I did not understand and "ant deploy", how a hypersonic data base could be created. But it is the case.
I checked target "deploy" and "compile", nowhere could I see the creation of database.
Any explaination?
Thanks!
PY
<target name="deploy" depends="compile" description="Deploy application">
<copy todir="${tomcat.home}/webapps/${webapp.name}" preservelastmodified="true">
<fileset dir="${web.dir}">
<include name="**/*.*" />
<exclude name="**/junit.jar" />
<exclude name="**/*mock.jar" />
<exclude name="**/strutstestcase*.jar" />
</fileset>
</copy>
<copy todir="${tomcat.home}/webapps/${webapp.name}/WEB-INF/classes" preservelastmodified="true">
<fileset dir="${build.dir}/classes" />
</copy>
</target>
<target name="compile" description="Compile main source tree java files">
<mkdir dir="${build.dir}/classes" />
<javac destdir="${build.dir}/classes" target="1.5" debug="true" deprecation="false" optimize="false" failonerror="true">
<src path="${src.dir}" />
<classpath refid="classpath" />
</javac>
<!-- compile tests -->
<mkdir dir="${test.dir}/classes" />
<javac destdir="${test.dir}/classes" target="1.5" debug="true" deprecation="false" optimize="false" failonerror="true">
<src path="${test.src}" />
<classpath>
<path refid="classpath" />
<path location="${build.dir}/classes" />
</classpath>
</javac>
<!-- Copy hibernate mapping files to ${build.dir}/classes -->
<copy todir="${build.dir}/classes">
<fileset dir="${src.dir}" includes="**/*.hbm.xml" />
</copy>
</target>
I did not understand and "ant deploy", how a
hypersonic data base could be created. But it is the
case.It doesn't and it shouldn't. Creating a database is not a part of the application compilation or deployment. You might add something to execute a script for creating tables if you really wnat to.
Similar Messages
-
A beginner to design pattern(Struct,Spring & Hibernate framework)
Actually I am beginner to MVC2 Approach of complex application incorporated by design pattern as Struct,Spring & Hibernate framework.
Currently I am learning JSP Concepts,I have one doubt.
(1)What are the things I should grasp even before taking off to Design pattern?
Help me anyone plz?
With Regards,
Stalin.G[email protected] wrote:
Actually I am beginner to MVC2 Approach of complex application incorporated by design pattern as Struct,Spring & Hibernate framework.
Currently I am learning JSP Concepts,I have one doubt.Just one?
>
(1)What are the things I should grasp even before taking off to Design pattern?You should understand core Java very, very well.
You should know JSPs using JSTL without scriptlets.
You should understand relational databases and SQL.
You should understand HTML and HTTP.
Personally I think Struts, Spring, and Hibernate all at once are well beyond any beginner.
It's hard to advise you on what to do without knowing your capabilities and the problem you're trying to solve, but I think you should try it first using just JSPs, servlets, and JDBC. Get that to work and then refactor it to use the frameworks. You'll understand and appreciate them more that way.
% -
Spring/Hibernate tier called from Java Stored Procedure
Here is my scenario.
Building out a new physical model alongside an old db.
Two schema's inside same Oracle instance.
We are building a new Java tier on top of the new schema using spring/hibernate.
To maintain sync with the old db we are building a load of PLSQL code that will be called by PLSQL stored procs on the old schema.
====
Now it occurred to me that if I could put a copy of my new java tier in the database itself then the trigger code on the old schema could call a java stored proc wrapper which in turn called into my new java tier inside the instance.
This way I avoid duplication business logic in the db sync and the java middle tier. Basically I do away with the PLSQL sync code and just use the new java component.
This clearly has advantages from an automated testing point of view too.
So very interested in how/if anyone has made this work.
Potential issues...
- JVM version (outside the db we use Sun Java 5 - inside the db I'm not sure what is used).
- How would spring access it's config files?user563578,
You asked:
interested in how/if anyone has made this workNot me.
You also asked:
Potential issues...
- JVM version (outside db use Sun Java 5 - inside db not sure)
- How would spring access it's config files?
Oracle has its own JVM embedded in the database: OJVM
In Oracle 8i it is compatible with JDK 1.2
In Oracle 9i it is comaptible with JDK 1.3
In Oracle 10g it is compatible with JDK 1.4
You can access files outside of the database from OJVM, you just need to set correct permissions.
Perhaps Kuassi Mensah's book, Oracle Database Programming Using Java and Web Services will be of help?
Good Luck,
Avi. -
Jdev 11.1.2 Spring + Hibernate + Prime faces
Jdev 11.1.2
Spring + Hibernate + Prime faces
I have a application developed using myeclipse for spring scaffold spring crud option . having problems deploying the ear to weblogic , so imported the project to jdeveloper 11.1.2 and trying to run in integrated weblogic server and running into below exception
java.lang.NoSuchMethodError: javax.el.ELResolver.invoke(Ljavax/el/ELContext;Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object;
at com.sun.el.parser.AstValue.getValue(AstValue.java:111)
at com.sun.el.parser.AstValue.getValue(AstValue.java:163)
at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:219)
to make weblogic use EL 2.2 Version jars included in my project I have added this to my weblogic-application.xml file
<prefer-application-packages>
<package-name>com.sun.el.*</package-name>
<package-name>javax.el.*</package-name>
</prefer-application-packages>
And now running into this exception
java.lang.ClassCastException: oracle.adf.share.el.ADFContextELResolver cannot be cast to javax.el.ELResolver
I am not using ADF in my project , is there any configurations I can change to get this working
Thank you for your time
Best regardsCheck that your project properties->libraries don't contain ADF, and also check the web.xml file of your project to ensure no ADF enties in there.
-
IPlanet Compatibility with Spring/Hibernate
Hi,
I need to develop a J2EE application.
I need to used iPlanet as a Web Server.
I want to know the compatibility if iPlanet with Spring/Hibernate.
Is it possible to develop an application using Spring/Hibernate if iPlanet is the Web Server.
thanksDo you mean iPlanet Web Server 6.0? That's more than 7 years old. It's no longer supported by Sun and contains unfixed security vulnerabilities that make it unfit for production use. Modern versions of Spring and Hibernate won't work with the ancient version of the Java Servlet specification implemented by Web Server 6.0.
Spring and Hibernate will, however, work with the current iteration of Sun's web server product, Sun Java System Web Server 7.0. -
Install GWT, Spring, Hibernate, JBOSS
I am new to Java.
I am going to create a web application using Java, I was told I have to install GWT, Spring, Hibernate, JBOSS, JDK 6 and mySQL.
I already install mySQL and JDK 6. Do I need to install Eclipse also?
what's the pupose to install GWT, Spring, Hibernate, JBOSS? what's the relationship of them? is there any order to install them?
Thanks very much.
AndrawAndraw wrote:
I just join a new company, they already create a project using all these tools, I just need to install these software in my computer, and run their project to get familiar with them slowly.And you told them that you have not done any Java in 7 years and don't have clue about any of those technologies?
Then they should be prepared to provide some help with your start.
Don't say no to me, I want to give it a try.Ok, I won't say no. I will still say you'll have a hard time. Be ready to learn a lot. -
FDS+Spring+Hibernate
If any body has worked with FDS /Hibernate/Spring
pls post the sample.
regards
anilThe posts here that point to examples of Spring + FDS and
separate examples of Hibernate + FDS and then say combining the two
should be easy seem to be missing the point. This is not as easy an
straight forward as it seems it should be.
Spring + Hibernate + FDS is a completely different animal
because you are getting Spring to handle the Session Factory
configuration and your DAO's as Spring beans but you also want the
handling of lazy initialization and proxy serialization as shown in
the HibernateAssembler.
The current HibernateAssembler code handles all of the
Hibernate setup. I would much rather have Spring do this. What I
would like is for my HibernateProxy's for non initialized
associations to be serialized rather than traversed resulting
LazyInitializationExceptions. The HibernateAssembler seems to
tackle this with a very mysterious piece of code:
PropertyProxyRegistry.getRegistry().register(HibernateProxy.class,
new HibernatePropertyProxy());
PropertyProxyRegistry and HibernatePropertyProxy are not
documented anywhere, and in fact a Google on PropertyProxyRegistry
returns 0 results. However, my intuition tells me this piece of
code should tell serialization to proxy the HibernateProxy with a
flex class called HibernatePropertyProxy which will just serialize
an id of an association rather than attempting to serialize the
uninitialized associated class.
I cannot get this to work though and as there is no
documentation and no discussion on these classes, I have no way of
verifying it. If my intuition is correct, this is a very useful
mechanism. I only wish it was documented b/c if it did work as
expected it would make a Hibernate + Spring + FDS implementation
pretty easy.
Anyone know anything about this? -
J2EE(Spring/Hibernate) application migration to ADF
Hi,
Is there any migration method to migrate J2EE(Spring/Hibernate) based application to ADF based applicaiton?
ThanksKind of depends on what you are looking to to use from the ADF stack.
One option is to just build an ADF Faces UI on top of your existing backend (You'll just need to bring the Spring and Hibernate classes into JDeveloper).
You should be able to also expose your Spring facades as ADF Data controls and use ADF Binding on top of them.
Seems like this is what this guy did: http://blogs.oracle.com/michaellee/2009/08/creating_a_spring_adf_library.html -
Help me out with Directory structure for JSF+SPRING+HIBERNATE Project
Hi frnds ,
My name is Walter working for a startup software company . We are working on Hospital Management System (HMS) project .. MVC Architecture ...using Hibernate Spring and JSF ..we need to design Directory Structure for our project..
plzz help me friends in suggesting MVC Directory structure ...? also plzz help me by directing me with the navigation flow?
Thnxx in advance
Regards
WalterThank you so much .. friends ..for your kind replies..thanks to Illu, anguquga and special thanks to BalusC for giving me the advice for hiring EE Artitech ..
Anyways I have discussed with my teammates designing the directory structure
anguquga your directory structure is close to what I have designed ..referiing to a sample application on web..
Hospital Management system MVC architecture Directory structure
This is the way the structure goes on ..
model --> for Hibernate as well as Spring
View --> for JSF
src(-)
|
------(-) java
|
-------(-) model
|
------(+) businessobject
|
------(-) dao
|
------(+) hibernate
|
------(+) exception
|
------(-) service
|
------ (+) impl
|
------(+) util
(-) view
|
------(+) bean
|
------(+) builder
|
------(+) bundle
|
------(+) servicelocator
|
------(+) util
|
------(+) validator
(-) Web or WebRoot
|
----- (-) JSP Files�etc.,
|
----- (-) META-INF
|
------ (+) Images
|
------ (+) Scripts ==== CSS (cascading style sheets, JavaScript files etc.,)
|
----- (-) WEB-INF =========xml files web.xml, faces-config.xml etc.,
|
-----(-) Classes
|
-----(-) HMS
|
----- (+) model
|
----- (+) view
|
----- (+) lib
I am sure you may notice few errors .. if u find any plzz reply me back.... thnxx in advance for replies...and thnxx for giving your valuable replies...
Walter (Kaleem) -
Java Studio Creator -- web service -- spring -- hibernate -- database
Hello,
Has somebody already worked on an architecture 3 tier including : hibernate, spring, a deployment of the classes "spring" in wsdl (Web service).
With Tomcat and Axis i deploy some web services (classes --> wsdl), with java studio creator i call the web service and the methods ...
I would know if it possible to deploy some "spring" classes to have finally (wsdl) ?
ThanksHeh heh heh....welcome to the club.
There are <b>many</b> of us wanting to integrate Spring with JSC.
I am working on doing this now, and plan to submit a quick tutorial on the subject to this forum once (if) I get it working.
To start you off in the right direction though, here are some things I <b>think</b> you need to do.
1) Make JSC Spring aware by adding the Spring.jar file in the Project Navigator (right click...Create New Library Reference).
2) Add the package structure you need in Project Manager
3) Add you Spring configuration file (application-context) in web/WEB-INF
4) Add your ContextLoaderListener to web.xml.
5) Get a servlet context and use it to get a WebApplicationContext
6) Use that to retrieve the bean you need to work with -
Hi, I'm currently using hibernate spring and JSF 1/ the first problem In the JSF common header page I try to test if a bean is in the session scope in order to show login or logout link, and the test always fails : the logout link is always displayed. the JSF page : [code] <f:subview id="header" > <h:form id="headerForm"> <table cellspacing="0" width="100%"> <tr> <td align="left" valign="middle"> <img border="0" src="images/logo1.jpg"/> </td> <td align="right" valign="middle"> <br> <!--Accueil< --> <c:choose> <c:when test="${empty sessionScope.accountBean}"> <h:commandLink action="Sign on"> <h:outputText value="Sign on"/> </h:commandLink> </c:when> <c:otherwise> <h:commandLink id ="logout" action="#{accountBean.logoutAction}" > <h:outputText value="log out"/> </h:commandLink> </c:otherwise> </c:choose> </td> </tr> </table> <table cellspacing="0" width="100%"> <tr> <td> <hr color="#99ca3c" size="5" noShade SIZE=1> </td> </tr> </table> </h:form> </f:subview> [/code] The accountBean code : [code] public class AccountBean extends BaseBean{ //private Logger log = Log.getLog(this); private String uid; private String password; private boolean loggedIn; private AdminService adminService; private Admin admin; public AccountBean() { this.logger.debug("Authentication"); this.loggedIn = false; uid=null; password=null; // admin=new Admin(); } public String loginAction() { try { this.logger.debug("loginAction"); admin = adminService.login(this.uid, this.password); //this.serviceLocator.getUserService().login(this.username, this.password); if (admin != null) { if("".equals(admin.getUid())|| "".equals(admin.getPassword())){ this.loggedIn=false; String msg = "Le mot de passe et l'identifiant doivent etre saisis "; addErrorMessage(msg + ", saississez un mot de passe et un identifiant corrects"); return NavigationResults.RETRY; } else{ this.loggedIn = true; HttpSession session = SessionUtil.getSession(); session.setAttribute("Admin", this.uid); return NavigationResults.SUCCESS; } } else { this.loggedIn = false; String msg = "Le mot de passe est incorrect "; addErrorMessage(msg + ", saississez un mot de passe correct"); this.logger.debug(msg); return NavigationResults.RETRY; } } catch (UsernameNotExistException ue) { String msg = "L'identifiant (login) est incorrect"; this.logger.info(msg); addErrorMessage(msg + ", ressaysissez votre identifiant."); return NavigationResults.RETRY; } catch (Exception e) { this.logger.error("Could not log in user.", e); addInfoMessage("Could not log in user: Internal Error"); return NavigationResults.FAILURE; } } /** * The backing bean action to logout a user. * * @return the navigation result */ public String logoutAction() { //this.clear(); FacesContext fc = FacesContext.getCurrentInstance(); HttpSession session = (HttpSession) fc.getExternalContext().getSession(false); session.invalidate(); this.logger.debug("Logout successfully."); return NavigationResults.MAIN; } public String getPassword() { return password; } public void setPassword(String password) { this.password = password; } public String getUid() { return uid; } public void setUid(String uid) { this.uid = uid; } public Admin getAdmin() { return admin; } public boolean getLoggedIn() { return loggedIn; } public void setLoggedIn(boolean loggedIn) { this.loggedIn = loggedIn; } public void setAdminService(AdminService adminService) { this.adminService = adminService; } } [/code] the faces managed bean configuration [code] <managed-bean-name>accountBean</managed-bean-name> <managed-bean-class>fr.cbmjadmin.views.bean.AccountBean</managed-bean-class> <managed-bean-scope>session</managed-bean-scope> <managed-property> <property-name>adminService</property-name> <value>#{adminService}</value> </managed-property> [/code] 2/ the second problem : my application shows a list of datas. I log on the application , i update this list outside the application ( by using sql command) , i try to list my data using the application : the application does not reflect the modifications. I logout using the log out link, then i log on and the application does not reflect the modifications. what happens? How could I resove these problems. How can i logout properly? how can i show logout link when the user is logged in? and hide the log out link when the user is logout Thanks.
For the first problem, you need to realize that the accountBean always exists since you configured it in the faces-config.xml. So you should use something else (like a property on the bean) to determine if the user has actually logged in.
Secondly, but still on the first issue, it is preferable to use the rendered attribute on the standard JSF components in this situation, instead of the JSTL tags.
Now, as to the second problem, there are a number of possibilities:
- did you commit the changes to the database?
- did you verify that another connection with the native db client can see the changes?
- are you using a cache with Hibernate? Are you taking the proper steps to notify the cache it might have stale data?
- are you keeping the list in session scope in your application? (Logging out doesn't clear the session unless you explicitly code it that way.) -
JSF - spring - hibernate and session
Hi,
I'm currently using hibernate spring and JSF
1/ the first problem
In the JSF common header page I try to test if a bean is in the session scope in order to show login or logout link, and the test always fails : the logout link is always displayed.
the JSF page :
<f:subview id="header" >
<h:form id="headerForm">
<table cellspacing="0" width="100%">
<tr>
<td align="left" valign="middle">
<a href="front.jsf"><img border="0" src="images/logo1.jpg"/></a>
</td>
<td align="right" valign="middle"> <br>
<!--<a href="front.jsf" rendered="#"> Accueil<</a> -->
<c:choose>
<c:when test="${empty sessionScope.accountBean}">
<h:commandLink action="Sign on">
<h:outputText value="Sign on"/>
</h:commandLink>
</c:when>
<c:otherwise>
<h:commandLink id ="logout" action="#{accountBean.logoutAction}" >
<h:outputText value="log out"/>
</h:commandLink>
</c:otherwise>
</c:choose>
</td>
</tr>
</table>
<table cellspacing="0" width="100%">
<tr>
<td>
<hr color="#99ca3c" size="5" noShade SIZE=1>
</td>
</tr>
</table>
</h:form>
</f:subview>The accountBean code :
public class AccountBean extends BaseBean{
//private Logger log = Log.getLog(this);
private String uid;
private String password;
private boolean loggedIn;
private AdminService adminService;
private Admin admin;
public AccountBean() {
this.logger.debug("Authentication");
this.loggedIn = false;
uid=null;
password=null;
// admin=new Admin();
public String loginAction() {
try {
this.logger.debug("loginAction");
admin = adminService.login(this.uid, this.password);
//this.serviceLocator.getUserService().login(this.username, this.password);
if (admin != null) {
if("".equals(admin.getUid())|| "".equals(admin.getPassword())){
this.loggedIn=false;
String msg = "Le mot de passe et l'identifiant doivent etre saisis ";
addErrorMessage(msg + ", saississez un mot de passe et un identifiant corrects");
return NavigationResults.RETRY;
else{
this.loggedIn = true;
HttpSession session = SessionUtil.getSession();
session.setAttribute("Admin", this.uid);
return NavigationResults.SUCCESS;
else {
this.loggedIn = false;
String msg = "Le mot de passe est incorrect ";
addErrorMessage(msg + ", saississez un mot de passe correct");
this.logger.debug(msg);
return NavigationResults.RETRY;
catch (UsernameNotExistException ue) {
String msg = "L'identifiant (login) est incorrect";
this.logger.info(msg);
addErrorMessage(msg + ", ressaysissez votre identifiant.");
return NavigationResults.RETRY;
catch (Exception e) {
this.logger.error("Could not log in user.", e);
addInfoMessage("Could not log in user: Internal Error");
return NavigationResults.FAILURE;
* The backing bean action to logout a user.
* @return the navigation result
public String logoutAction() {
//this.clear();
FacesContext fc = FacesContext.getCurrentInstance();
HttpSession session = (HttpSession) fc.getExternalContext().getSession(false);
session.invalidate();
this.logger.debug("Logout successfully.");
return NavigationResults.MAIN;
public String getPassword() {
return password;
public void setPassword(String password) {
this.password = password;
public String getUid() {
return uid;
public void setUid(String uid) {
this.uid = uid;
public Admin getAdmin() {
return admin;
public boolean getLoggedIn() {
return loggedIn;
public void setLoggedIn(boolean loggedIn) {
this.loggedIn = loggedIn;
public void setAdminService(AdminService adminService) {
this.adminService = adminService;
}the faces managed bean configuration
<managed-bean-name>accountBean</managed-bean-name>
<managed-bean-class>fr.cbmjadmin.views.bean.AccountBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
<managed-property>
<property-name>adminService</property-name>
<value>#{adminService}</value>
</managed-property>2/ the second problem :
my application shows a list of datas.
I log on the application , i update this list outside the application ( by using sql command) , i try to list my data using the application : the application does not reflect the modifications. I logout using the log out link, then i log on and the application does not reflect the modifications.
what happens?
How could I resove these problems.
How can i logout properly?
how can i show logout link when the user is logged in? and hide the log out link when the user is logout
Thanks.It depends on how you want to reprecate the session btwn instances or cluters
there are three kinds File System, Memory to Memory, HA
You can configure it from this property in the admin console
Configuration on a cluster -> Availability Service -> Web Container Availability -> Persistence Type: -
Hi,
Please recommend good book or weblink for learning spring and hibernate to develop enterprise applications.
Thanks,
ManjuThe Spring documentation on integration is excellent: http://static.springsource.org/spring/docs/2.5.x/reference/orm.html
There are numerous examples online via a trivial Google search to find additional examples for how to configure Spring and Hibernate.
Hibernate's own site and the various JPA/ORM tutorials on the web are also excellent.
In terms of how to develop an enterprise application, you will either receive requirements from your customers/stakeholders or you will need an idea of your own to implement something. There are a number of excellent books. Fowler's "Patterns of Enterprise Application Architecture" is a good one. The patterns are summarized here: http://martinfowler.com/eaaCatalog. Gregor Hohpe's "Enterprise Integration Patterns" is also excellent. There is a site for the book here: http://www.eaipatterns.com.
- Saish -
Spring Hibernate ... I am confuse in implementing
Hi,
I am creating a project in which i am using hibernate at DB level and spring core for business layer. The db level hibernate project is separate project having all the beans, hibernate cfg file and hbm files. I have run this application independently and it is working fine.
Now, i have created another web project, in which i am gona include this hibernate project. I want to use Spring to initiate hibernate session and other things. But i am unable to get what mapping should i make in spring file. Using Spring in Action for reference, but again i am stuck.
My main question is, I want to do hibernate specfic select query, say get users, my hibernate mapping and other stuff is complete in hibernate project, how would i proceed in spring web project?JSF is on UI side .. which right now i have not configured :)
can you recommend some nice spring forum with good amount of users -
URGENT methode parametres JSF+ SPRING +HIBERNATE
hello all the world I'm back
help me plz :
I want to search an employee from his number I use a search function (String number), I recalled your JSF + hibernate + spring so I'll post the code :
code of jsp page
<f:view>
<h:form id="RechercheEmp">
<h:panelGrid columns="2">
<h:outputText value="Entre le Matricule de l'employ� : "/>
<h:inputText id="mat" value="#{todoBean.employes.matricule}"/>
<h:commandButton value="Submit" action="#{todoBean.chercherEmployer?matricule=mat}"/>
</h:panelGrid>
</h:form>
</f:view>and code of bean JSF :
public String chercherEmployer(String matricule) {
log.debug("#DDD############ createemployesAction()");
try {
this.toDoService.chercherToDo(matricule);
log.debug("#DDD############ checheremployesAction->success");
return "success";
} catch (JoTestException e) {
e.printStackTrace();
return "failure";
}in layer service :
public void chercherToDo(String matricule) throws JoTestException {
log.debug("#DDD############ saveToDo(toDo) in Service TODO");
toDoDao.chercherToDo(matricule);
}and in the layer dao :
public void chercherToDo(String matricule){
log.debug("#DDD######### Savetodo in todoDAO : ");
this.getHibernateTemplate().load(Employes.class, matricule);
}but i have this probleme :
javax.servlet.ServletException: #{todoBean.chercherEmployer?matricule=ma'}: javax.faces.el.MethodNotFoundException: chercherEmployer?matricule='mat': jotodo.gui.bean.ToDoBean.chercherEmployer?matricule='mat'()
javax.faces.webapp.FacesServlet.service(FacesServlet.java:209)
cause m�re
javax.faces.FacesException: #{todoBean.chercherEmployer?matricule=mat}: javax.faces.el.MethodNotFoundException: chercherEmployer?matricule='mat': jotodo.gui.bean.ToDoBean.chercherEmployer?matricule='mat'()
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74)
javax.faces.component.UICommand.broadcast(UICommand.java:312)
javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:267)
javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:381)
com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:75)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
note La trace compl�te de la cause m�re de cette erreur est disponible dans les fichiers journaux de Apache Tomcat/5.5.20.
Apache Tomcat/5.5.20i changed my page jsp to this :
<f:view>
<h:form id="RechercheEmp">
<h:outputText value="Entre le Matricule de l'employ� : "/>
<h:inputText id="mat1" value="" />
<h:commandLink action="#{todoBean.chercherEmployer}">
<h:outputText value="Chercher" />
<f:param name="mat1" value="#{todoBean.employes.matricule}"/>
</h:commandLink>
</h:form>
</f:view>is correct or no ?????????
but i get again the same error :
exception
javax.servlet.ServletException: #{todoBean.chercherEmployer}: javax.faces.el.MethodNotFoundException: chercherEmployer: jotodo.gui.bean.ToDoBean.chercherEmployer()
javax.faces.webapp.FacesServlet.service(FacesServlet.java:209)
cause m�re
javax.faces.FacesException: #{todoBean.chercherEmployer}: javax.faces.el.MethodNotFoundException: chercherEmployer: jotodo.gui.bean.ToDoBean.chercherEmployer()
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74)
javax.faces.component.UICommand.broadcast(UICommand.java:312)
javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:267)
javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:381)
com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:75)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)Edited by: Maq_Ichigo on Apr 29, 2008 3:09 AM
Edited by: Maq_Ichigo on Apr 29, 2008 3:19 AM
Maybe you are looking for
-
I have requested a verification email to be sent and this has not come through - requested yesterday.
-
Random Power Off mini core 2 duo
This is an on going problem for the last few months.. Basically I could be working on anything and the power will just drop out, as if someone has pulled the cable out. It is rarely under heavy load, and the time between power outs can vary between a
-
Migration using data pump Oracle 10g - Oracle 11g
HI all, 1) Right now I`m using Oracle 11g. I have a plan to import data from Oracle 10g. I would like to know if its possible to import data which was exported by datapump on Oracle 10g ? Should I convert somehow expdp output from Oracle 10g to Oracl
-
Cannot log into Skype for a few days
hi myself and a friend have been cut of no reason,i have not used there service in 4 months why ,have they done this ,they took my d d on 23rd this month,have they gone into liquidation,is there anothe supplier,you cannot get thru to them,my friend t
-
I updated my software and lost an app purchase
Hi..., I recently updated my software and it corrupted an application I was using. I had been playing Paradise Cove for which I had purchased additional items I now find that I am starting the app from the beggining again without the additional purch