Re: [SPAM] Re: Help please TOMCAT 5 + Struts

2008-07-18 Thread Paweł Wielgus
Hi all, as the log says tomcat is out of perm gen space, if You want to know what or where it is going just add parameters like Jorge said: export JAVA_OPTS='-Xmx756m -server -XX:MaxPermSize=256m' but also add -XX:+PrintGCDetails export JAVA_OPTS='-Xmx756m -server -XX:MaxPermSize=256m -XX:+PrintGCD

How can I store temporary data during user input procedure?

2008-07-18 Thread holod
Please, help me with suggestion. My logic is: 1.PrepareLawAction is invoked. This action gets Law object from DB (if action received lawId parameter ) or it prepares template Law object (just automatically fills some Law fields which user can't modify). 2.Action sends user to processlaw.jsp Her

Why we need struts.action.extension property

2008-07-18 Thread Igor Vlasov
Hello. I wrote a simple s2 application. I described a filter in web.xml struts2 org.apache.struts2.dispatcher.FilterDispatcher struts2 *.jspa FORWARD REQUEST but i forgot a struts.properties file and "struts.action.extension=jspa" AND my project does no

Re: How can I store temporary data during user input procedure?

2008-07-18 Thread Gabriel Belingueres
1 and 2: You could choose store your objects in session scope. Even it may be the only way to do it, because you say that there are Law fields that the user can't modify, which it discards the option of rewriting those fields as hidden fields in your form (for security reasons) 2008/7/18 holod <[E

Re: Scope interceptor / Practical Apache Struts 2

2008-07-18 Thread tonalnagual
Selckin wrote: > > Hello, > > In Chapter 6 of "Practical Apache Struts 2 Web 2.0 Projects", It explains > how to use the scope interceptor to create sort of wizard pages. > I've been trying to figure these out, but cannot get this to work. > Even the included example (downloadable from > http:

Re: Why we need struts.action.extension property

2008-07-18 Thread Gabriel Belingueres
AFAIK, the Servlet API doesn't expose any standard way to know the mapping associated to a filter. Maybe that's way. 2008/7/18 Igor Vlasov <[EMAIL PROTECTED]>: > > Hello. I wrote a simple s2 application. > > I described a filter in web.xml > > >struts2 > > org.apache.struts2.dispatcher.Filte

Re: Scope interceptor / Practical Apache Struts 2

2008-07-18 Thread tonalnagual
Selckin wrote: > > Hello, > > In Chapter 6 of "Practical Apache Struts 2 Web 2.0 Projects", It explains > how to use the scope interceptor to create sort of wizard pages. > I've been trying to figure these out, but cannot get this to work. > Even the included example (downloadable from > http:

Re: Struts2: display int in JSP

2008-07-18 Thread Alberto A. Flores
Please remember that because of java's autboxing, you shouldn't have much problems (other than the cases when you are expecting zero). So changing the type (from int to Integer) is really not a dramatic change. Phan, Hienthuc T wrote: That works. Thanks. I'm migrating from Struts 1 & was hop

Re: Why we need struts.action.extension property

2008-07-18 Thread Dave Newton
--- On Fri, 7/18/08, Igor Vlasov <[EMAIL PROTECTED]> wrote: > but i forgot a struts.properties file and > "struts.action.extension=jspa" > > AND my project does not WORK > > > My question: why we need to write > "struts.action.extension=jspa" when we > already have filter-mapping binding struts

Re: How can I store temporary data during user input procedure?

2008-07-18 Thread Owen Berry
Another option is to store it as a temporary record in the database (assuming you're using one). It could either be in a temporary table, or marked as an incomplete record in some way. An advantage of this approach is that the record is not lost if the server is restarted while the user is busy (un

Re: How can I store temporary data during user input procedure?

2008-07-18 Thread holod
How can I do that? Anyway, if user goes to the other page to make special input (then he comes back to finish main process) I have to submit his input to server. it means i can't use link to ListLawStatusAction, I have to make submit to this action, it will store input parameters inside Law object

Re: How can I store temporary data during user input procedure?

2008-07-18 Thread Miguel
You could use the scope interceptor to store your object in the session or application context, and have injected directly with a getter/setter in the configured actions that use the object, without having to write code to push/pop from the session. http://struts.apache.org/2.1.2/docs/scope-interc

Error global-Forwards

2008-07-18 Thread danipruebas
Hi, i have a problem, let me explain. I have one globalforward as a html:link defined in a jsp page, after clicking it, it should execute the corresponding action class and display the results in another jsp page. Page1Link (global forward to *.do -- not to .jsp) -->calls actionClass.java -->

connext Graph documentation

2008-07-18 Thread Pedro Herrera
Hi, I´m using connext Graph plugin. Where I find more documentation in depth ? I need to do linegraphs .. Herrera -- View this message in context: http://www.nabble.com/connext-Graph-documentation-tp18537351p18537351.html Sent from the Struts - User mailing list archive at Nabble.com.

Re: connext Graph documentation

2008-07-18 Thread Dave Newton
--- On Fri, 7/18/08, Pedro Herrera <[EMAIL PROTECTED]> wrote: > I´m using connext Graph plugin. Where I find more > documentation in depth? I need to do linegraphs .. Did you try the connext-graphs documentation? There's a link to the project home page on the plugin page: https://connext-graphs.