Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Tomcat - JSP/Servlet container
Struts - A MVC web framework
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
JSP - A mailing list about Java Server Pages specification and reference
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Subject: Servlet : Session invalidate
Oracle Connection Pooling in 3 2 2
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Subject: Running a Simple JMS Example
Tomcat and webapplication specific java library path
Mapping in workers2 properties
org apache jasper JasperException
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action
   MESSAGE
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
Value attribute of <html:checkbox
url string for connecting jboss to oracle
javax servlet ServletException: BeanUtils populate
5 0 18: Windows XP Pro vs Windows 2000
HTTP Status 404 The requested resource is not available
 
Struts
Page 10 of 788 1   2   3   4   5   6   7   8   9   10   Next 10   Next 100  

-none-

* This interceptor runs the action through the standard validation framework which in turn checks the action against * any validation rules (found in files such as <i >ActionClass-validation.xml </

Subject: Re: ModelDriven CRUD validation failure still causes JPA update - RESOLVED

OK I 've fixed the problem. I 'm not sure why this was the case but here is what was causing the problem In my ModelDriven action I had a method like this public Collection <ProjectType > get

Subject: Struts Menu with Struts2

Kindly guide me to integrate struts menu with struts2. I tried using MenuContextListener. I copied following snippet in web.xml net.sf.navigator.menu.MenuContextListener I copied struts-menu.

Subject: Re: ModelDriven CRUD validation failure still causes JPA update

Yes. It is my understanding the that Hibernate FlushMode MANUAL or NEVER (deprecated) instructs Hibernate to only flush the session when explitly instructed to do so. In my case I assume this means

-none-

* This interceptor runs the action through the standard validation framework which in turn checks the action against * any validation rules (found in files such as <i >ActionClass-validation.xml </

Subject: Re: ModelDriven CRUD validation failure still causes JPA update

Unfortunately it appears that xworks validation works not on the ServletRequest parameters but on the properties already set on the Action - or in my case the model bean. So moving the interceptor

Subject: Re: ModelDriven CRUD validation failure still causes JPA update

Only difference is that I don 't use model driven. Is there any setting to tell hibernate to flush the session when closed or it does that by default? musachy On 10/1/07 Jon_French@(protected) <Jon_Fren

Subject: Re: ModelDriven CRUD validation failure still causes JPA update

Yes musachy. I do something very similar. Here is my prepare() method public void prepare() throws Exception { if( this.id 0 ) { this.entity new Entity() } else

Subject: Re: ModelDriven CRUD validation failure still causes JPA update

Thanks Piero * don 't flush the session and destroy the object This is exactly what I want to do. However the Hibernate session automatically flushes when the EntityManager is closed during the O

Subject: Re: Inheritance within form beans

On 10/1/07 Kothari Kailash <Kailash_Kothari@(protected) > wrote > What I also need is that when a child form bean is instantiated by > Struts I want Struts to check if there is an instance of the

Subject: Inheritance within form beans

Hello I have an interesting Struts design requirement and Im a little lost would really appreciate help ! I have multiple form beans in my application and a lot of them share data. Instead of dup

wierd problem

I am having a wierd problem where my action calls are not forwarding to the correct page. Actually it works one time but when I try to run the same action again (this time on the same page) it atte

Subject: Re: ModelDriven CRUD validation failure still causes JPA update

I only use the beanutils.copy solution on a few places on the other cases I always load the object model on the prepare() method if the "id " field is set (editing) and then call update or create on

Subject: Re: ModelDriven CRUD validation failure still causes JPA update

--- Jon_French@(protected) wrote > That 's an interesting idea Dave. I 'm using the > paramsPrepareStack. It 'll take some investigation to > see if that would fix the issue. Shouldn 't take much it might

Subject: Re: ModelDriven CRUD validation failure still causes JPA update

That 's an interesting idea Dave. I 'm using the paramsPrepareStack. It 'll take some investigation to see if that would fix the issue. best Jon French Programmer ASRC Management Services ECOS Develo

Subject: RE: Struts2 Cookbook Question

Your memory serves you well. WebWork did have the appropriate class and method. But I don 't see it any longer. So how are people doing it now? Migrating an existing project from Struts1 and it see

Subject: Re: ModelDriven CRUD validation failure still causes JPA update

> * instantiate a temporary bean used for the form only > BeanUtils.copyProperties(tempBean yourBean) > That 's what I do. musachy -- "Hey you! Would you help me to carry the stone? " Pink Floyd

Subject: Re: Struts URLs for perfectionists like Ebay 's URLs

Am Montag 01 Oktober 2007 23 33 01 schrieb Emi Lu > Is there a way to hide .action & .do by using filter & url-pattern? Have a look at http //code.google.com/p/smarturls-s2/wiki/WalkThrough (last pa

Subject: Re: ModelDriven CRUD validation failure still causes JPA update

> Since my Model is acquired from the Hibernate session (during the > "prepare() " Action method) it is a transactional persistent instance. > Note this from the hibernate documentation > > "Transact

Subject: Re: Struts URLs for perfectionists like Ebay 's URLs

Is there a way to hide .action & .do by using filter & url-pattern? For example I have the following codes <filter > <filter-name >tutorial </filter-name > <filter-class >

Subject: Re: ModelDriven CRUD validation failure still causes JPA update

I haven 't tried this but perhaps changing the order the interceptors are specified is a potential way out. --- Jon_French@(protected) wrote > True. The action 's "execute " method is not being > called.

Subject: Re: ModelDriven CRUD validation failure still causes JPA update

True. The action 's "execute " method is not being called. However in the ModelDriven pattern the invalid (in my case Null) request parameters are set on the Model during request processing. This is

Subject: Re: ModelDriven CRUD validation failure still causes JPA update

If there is a validation error the code on your action shouldn 't be executed at all so you wouldn 't have this problem. Are you applying the "defaultWorkflow " interceptor to your action? regards musa

Subject: RE: Struts2 Cookbook Question

BeanUtil however was part of WebWork IIRC. --- Rod Bollinger <techinfo@(protected) > wrote > BeanUtils is part of Apache Commons > http //commons.apache.org/beanutils/ > > HTH > -Rod >

Subject: ModelDriven CRUD validation failure still causes JPA update

I have a ModelDriven action which controls CRUD operations on JPA managed Entity E. E has a property called ?name? which maps to a database column with a NOT NULL constraint. I have added a Required

Subject: Re: A try catch and return question

The blocks you mention achieve different results. In the FIRST block you will have to add a return statement for when an exception is thrown this allows you to set the theReturnedObject to a value fo

Subject: A try catch and return question

I have a method having the following structure public Object myMethod() { try { // some code return theReturnedObject }catch{ // some code } finally { // some code } } Please let

Subject: RE: Struts2 Cookbook Question

BeanUtils is part of Apache Commons http //commons.apache.org/beanutils/ HTH -Rod -----Original Message----- From Whitmire Tracy Carroll [mailto tcwhitm@(protected)] Sent Monday October 01 20

Subject: Re: Setting/Accessing List Size on JSP

I was able to get it like <s set name "myListSize " value "%{myList.size} "/ > On 10/1/07 Gabriel Belingueres <belingueres@(protected) > wrote > > try > <s set name "myListSize " value "myList.size() "/

Subject: Re: Setting/Accessing List Size on JSP

try <s set name "myListSize " value "myList.size() "/ > 2007/10/1 Cory D. Wiles <kwylez@(protected) > > How do I set/display the size of my list in the result of my jsp? I am able > to check for the si
Page 10 of 788 1   2   3   4   5   6   7   8   9   10   Next 10   Next 100