It's really funny:
If I get the waiting screen it stays there and no further thing is
rendered. If I click refresh, the results I am expecting are displayed.
If I click refresh again the waiting, another refresh gives the results.
Between each refresh there's around 30 seconds, and the operatio
I'm not sure if you're proposed change is an improvement or not, but in
2.06 dynamic parameters do work for contentType, contentLength,
contentDisposition and the input stream name.
ie. I use this:
myStream
${contentType}
${contentLength}
attachment; filename=${filename}
where contentType
Thanks for your help, I got it.
Guillaume Carré wrote:
>
> 2007/5/19, Kristian Duske <[EMAIL PROTECTED]>:
>> See here:
>> http://struts.apache.org/2.0.6/docs/exception-interceptor.html
>>
>> It's on the value stack, wrapped in an instance of ExceptionHolder.
>
> and see here too:
>
> http://s
It's not working. The only thing that is working is the execute part. lol
It waits there for ever, and the page doesn't display the action
results. It only shows the waiting page. Other actions just crach.
/pages/wait.jsp
I need to pass dynamic parameters for a DownLoadFile Action. I´ve seen the
source of StreamResult and for example :
oResponse.setContentType(conditionalParse(contentType, invocation));
in my opinion, the correct shoud be :
oResponse.setContentType( (String)
invocation.getSt
On 5/19/07, Paolo Beccari <[EMAIL PROTECTED]> wrote:
Hi all,
I'm a S2 newbie.
Trying to validate input in a *-validation.xml, and found a strange
behaviour:
[0-9]
id is not a numeric value
Attempting to instantiate all of your Hibernate generated Parent and Child
classes by continously running all of your sessions together..
so referencing
http://www.hibernate.org/43.html
You *could* write your own SessionRequestServletFilter which will accomplish
this objective for you
(ensuring
On 5/18/07, jasdeep <[EMAIL PROTECTED]> wrote:
But then i thought it may have serious performance penalty as struts action
is using single thread model (AFAIK).
This is not a correct assumption. In Struts 1, there is a single
*instance* of each Action, but it can be processing multiple reques
--- Mansour <[EMAIL PROTECTED]> wrote:
> Is this a struts 2 issue?
No. It's a very basic Hibernate issue.
http://www.hibernate.org/hib_docs/v3/reference/en/html/transactions.html
> every thing suggest using spring. This is not an
> option for me.
Why not? Aren't you already using it or a simil
Looks like you are trying to access Hibernate managed objects or perform
session manipultion in your view. Spring makes this easier but you can
do it manually easily. You just need to keep your session open longer.
Have a google for things like open session in view filter.
- Original messa
I am trying to use hibernate with my struts project. The problem I keep
on getting :
javax.servlet.ServletException: org.hibernate.SessionException: Session is
closed!
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:518)
org.apache.struts2.dispatcher.Fi
jalal udeen:
We need more info to be able to help. What version of struts are you using. If
you you are using struts 2, then you can use the target attribute in the same
way you use html. So, in your form tag you need to use the attribute target
like this:
for more info about this ch
Hi all,
I'm a S2 newbie.
Trying to validate input in a *-validation.xml, and found a strange
behaviour:
[0-9]
id is not a numeric value
When i test validation, the "required" key is shown correc
--- jalal udeen <[EMAIL PROTECTED]> wrote:
> how can i use frame using struts in jsp
> its an urgent requirement
I am most definitely *not* speaking for everyone on
the newsgroup, but I really think you need to explore
other options for asking non-Struts related questions.
If you want to pay me
hi all
when i refresh a page i get the same data in the data base when
i redirected the page its is emty it s has no data pls help me
thanks
Jalal
2007/5/19, Kristian Duske <[EMAIL PROTECTED]>:
See here:
http://struts.apache.org/2.0.6/docs/exception-interceptor.html
It's on the value stack, wrapped in an instance of ExceptionHolder.
and see here too:
http://struts.apache.org/2.x/docs/exception-configuration.html
--
Guillaume Carré
hi
how can i use frame using struts in jsp
its an urgent requirement
thanks
Jalal
Hi,
Here, it can redirect to error page when some exception occures.
My question is: how can I get the exception info in the jsp page? For
example, I hope display the exception message or exception stack in
the jsp
page.
See here:
http://struts.apache.org/2.0.6/docs/exception-interceptor.ht
There should be no additional concurrency limitations for struts actions
as for any request handled by other servlet implementations. It's the
container that determines how each request is handled. In the simplest
case it will use a thread per request drawn from an available thread
pool. Strut
I use "global-exception-mappings" to catch global exception in my project.
for example, in my struts config file, I use following to handle exception
/common/exception.jsp
/common/myexception.jsp
20 matches
Mail list logo