Hi,
You have plenty of errors in XML, take a look on that with some
validation tool, for example.:
* root - first tag closed
* ... - double ee in the first tag
Use better tool instead asking questions!
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
Kapituła Javarsovia 20
? 2010/7/20 14:28, sandeep kotha ??:
[org.xml.sax.SAXParseException: The element type "local-tx-datasourcee" must
be terminated by the matching end-tag "".]
Your config file is problematic, the start tag is
*local-tx-datasource**e*
but end with
*local-tx-datasource*
I think the correct one
Hi All
I'm newbie using* *hibernate 3 + jboss-5.1.0.GA +mySql with Struts 2* *while
i try to configure JNDI im getting the below exception. Please find my
Jboss, hibernate and Struts configurations. Im using *transaction.factory_class
as *org.hibernate.transaction.JTATransactionFactory in my hiber
hi,
thanks for all your help... as it turned out the problem was in my
configuration :).. basically one of my service wasn't annotated with
@Transaction tag and as a consequence my template was closing the session ..
On Mon, Jul 19, 2010 at 8:44 PM, Robert Taylor wrote:
> Hi Greg,
>
> I believe
How easy could I patch the code myself to do this? Can struts tags be built
publically through maven or anything?
Thanks
Chris
- Original Message -
From: "Chris Miles"
To: "Struts Users Mailing List"
Sent: Saturday, July 17, 2010 6:34 PM
Subject: Readonly Datetimepicker.
Is there
Hi Greg,
I believe Brian is correct.
You need to wrap BookDao.find(...) within a transaction or use
OpenSessionInView.
Either one of these should keep the session open when you are navigating the
object graph
in your DAO. If you use OSIV (OpenSessionInView) filter, then you can
navigate the
hi,
thanks for your replies
lukasz
i'm not sure where the problem exactly is but after my additional test i
don't think it's s2 related... i'll try to check hibernate
brian
i've done tests with your changes but to no avail... still the same problem
even when my dao implementation class has a tra
//here is my struts.properties
### Standard UI theme
### Change this to reflect which path should be used for JSP control tag
templates by default
struts.ui.theme=xhtml
struts.ui.templateDir=template
#sets the default template type. Either ftl, vm, or jsp
struts.ui.templateSuffix=ftl
//so stru
I'm following a tutorial on struts 2 with JPA and hibernate and spring
and they gave me list of jars that I needed but most of them are
outdated. Some are included in other jars, have different names, etc.
Is there one package that just has all of the up to date jars I need?
---
Looks to me like the session is being closed in the scope of
hibernateTemplate.get().
I don't see a transactionManager mentioned in the XML ... you could
try adding something like this in the XML configuration file:
n.b. I haven't tested the above con
Hi,
I really don't see how Struts2 can messed it up. Would you try to
write a unit test to check that?
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
Kapituła Javarsovia 2010 http://javarsovia.pl
-
To unsubscribe
Hello Greg,
What I did, is explained and illustrated with code in my first mail (see below).
To recap:
1. I used an action tag, not the prepare interface.
So in index.jsp I used in the form:
The "bookactions" action refers to the following jsp.
<%@ taglib prefix="s" uri="/struts
What you are describing as "odd" behavior is actually normal and
expected. With Struts the URL shown in the browser will always be the
"action" name it will never be the jsp. You may wish to read up a
little on how Servlets and forwarding works (just google "servlet
forward").
Just replying "I did
last time i checked templateDir was in struts.properties which would configure
templateDir for the entire webapp
you can also override templateDir attribute in the component definition
musachy would also know where these values are stored
obrigado
Martin
__
D'oh! Yeah, that was a typo. Should say struts.xml.
Could you post some relevant code snippets? Also, do you see anything in the
logs when the application starts up?
Jeff
Greg Akins-2 wrote:
>
> On Fri, Jul 16, 2010 at 9:24 PM, J_e_f_f wrote:
>>
>> If you're specifying your DbResourceBundl
Hi Martin,
thanks for you reply: the jsf plugin is here:
http://struts.apache.org/2.x/docs/jsf-plugin.html
is one of the bundled plugin.
Il giorno dom, 18/07/2010 alle 11.30 -0400, Martin Gainty ha scritto:
> 2 different architectures
> JSF does NOT have a FE controller..struts does
> JSF does
16 matches
Mail list logo