Does anyone have a good solution for objects stored in an HTTP Session
that should be reattached per request? For example, like the
authenticated "user" object stored in the HTTP Session.
I had a servlet filter written that attached the entity per request,
but a double-click from the user showed t
You should check your log files; it's likely the application is failing
on startup:
Loupita wrote:
tutorial/WebContent/WEB-INF/lib/struts2-core-2.0.6.jar
Struts 2.0
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter
Struts 2.1
Dave
--
But where? ;-)
2009/2/24 bekir kaldan
>
>
I am having difficulty getting xml entities to work using result type of xslt.
I get everything else working ok, just no value even retrieved for
unparsed-entity-uri for the SYSTEM entity references that are in the xml source
document. Any help on the location of an example that shows this wou
I am a big hibernate fan, but for my needs I might not need such a big tool to
accomplish my goals. I like the Spring JdbcTemplate for data mapping and data
access techniques because its simple and I control the SQL. The downsides are
I dont get automatic dialect and all the other cool featur
Thank you for the replies. That is very helpful. Sounds like I will
remove all dao into service layer.
(Off topic:)
Why might you switch back to jdbc as opposed to hibernate. What
obstacles are you facing there?
On 2/24/09, Andy wrote:
>
> Right now I am using Struts2, Spring, and Hibernate. A
>From the research I have done on using URLRewrite with Struts2, it just isn't
>very easy to get the two working together. I had previously used Struts 1
>with URLRewrite and again it is difficult. It seems easiest when using
>URLRewrite with plain old servlets..
Other frameworks such as
Right now I am using Struts2, Spring, and Hibernate. Although the Spring
JdbcTemplate is looking better all the time.
I follow this: Action --> Service --> Dao
Yes it is more code, but the benefits are in testibility, componentization, and
maintenance.
I even have this: Action -->
You can take a look at this:
http://glindholm.wordpress.com/2008/06/30/unit-testing-struts-2-actions/
I've used it to unit test actions all the way through interceptors,
validation, actions, and results including freemarker result types.
Timothy Astle wrote:
>
> I had tried using proxy.execut
struts.convention.action.packages is a list of full qualified package
names like "com.mywebapp.actions", while
"struts.convention.package.locators" is just the last part, like
"actions".
musachy
On Tue, Feb 24, 2009 at 1:24 AM, Matt Jiang wrote:
> Hi
>
> I have test annotation to define Action a
Emmanuele Sordini wrote:
http://www.nabble.com/Loading-and-Calling-Java-Script-in-Struts-td20623678.html
None of those suggestions help you?
What is the jsp code you're writing? What is the path that the browser
receives? I'm willing to bet that either you're not using the jstl
version you
2009/2/24 Burton Rhodes :
> Also, would love to know any naming conventions or class organization
> structure you use (e.g. com.[company].action.*,.
> com.[company].service.*,. com.[company].entity.*,.
> com.[company].doa.*, etc) .
Maybe it will be better something like this:
com...model || domai
I am curious to know what structure many of you use to organize and
separate your struts apps. I can't seem to find a "standard" in this
regard. I started with a simple application, and of course, it has
grown to where more separation of logic layers is a must. Right now I
have Presentation Laye
DNewfield wrote:
> Many browsers have issues with this--you'll have better luck if you
> convert this to an (empty) container tag:
Thanks but unfortunately that was already the case, and it doesn't work.
DNewfield wrote:
> The server doesn't control how the browser interprets the code it
> pr
I've been doing some changes but now I'm still getting an error related to
the ajax theme...
I see actionerror.ftl exists for simple theme but not for ajax theme. Any
workarrounds?
Thanks for any help
2009-02-24 12:06:37,299 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[local.atla
Problem solved: I was using a wrong type in form-properties:
java.lang._b_oolean
sledge wrote:
>
> Struts 1.1; There's something I think I am doing not right.. Here is the
> code:
>
> action .java:
> public class EditColActionInit extends Action {
> public ActionForward execute(ActionMap
Hi there,
i am trying to use AJAX theme to use sx:datetimepicker tag but whether or
not I use that tag I am getting the following error only by adding the ajax
header:
I thought it was caused by the date picker, but it happens on every page (I
use Tiles2 with struts2.1)
Thanks for any help/dir
Hello!
I'm trying to get a hang on how Struts 2 works, so I thought I'd try Apache
Struts 2's own Hello World tutorial at
http://struts.apache.org/2.x/docs/hello-world.html
http://struts.apache.org/2.x/docs/hello-world.html
But as I'm deploying it I get a HTTP 404: The requested resource () is
Having looked into this it appears to be due to the fact that I was in DEV
Mode; when running normally it is fine.
Why does DEV Mode affect the rendering speed? Is it just the logging?
From: Matthew Seaborn
Sent: 14 February 2009 16:12
To: Struts Users Mailing List
Subject: How can you get OGNL
Last time I reply to myself, honest...
On Tue, Feb 24, 2009 at 9:25 AM, Wim De Smet wrote:
> I tried rewriting without including the query string, but for some
> reason struts then doesn't pick up on the get parameters, so if you
> try to include them in an s:url it doesn't work. I'll try some mo
Hi,
On Thu, Feb 19, 2009 at 10:21 AM, Wim De Smet wrote:
> Hi,
>
> On Wed, Feb 18, 2009 at 4:47 PM, Bill Stilwell
> wrote:
>> It took me a while to get the rewrite rule working. I can't remember
>> if the problems were the same as yours, but the solution was to not
>> put the query parameters i
21 matches
Mail list logo