Re: Can't access bean from jsp

2008-07-17 Thread holod
My struts.xml:        /admin/processlaw.jsp   /admin/processlaw.jsp         Re: Can't access bean from jsp
Sorry, but I can't read it, could you just send it as simple text? Regards -- Lukasz http://www.lenart.org.pl/ 2008/7/17 holod <[EMAIL PROTECTED]>: > > My struts.xml: >    class="lol.action.admin.StoreLawAction"> >     name="success">/admin/proce

[S2-ActionComponent] Action not on the stack while evaluating body

Hello, I think I found a problem in struts 2.1.1 (or misunderstood the documentation). I have an action that can search for persons (querystring for name, list of persons retreived). I wanted to reuse that functionality for a form where a user has to be picked (to be added to a group of users).

Re: Can't access bean from jsp

Stacktrace: [17.07.08 11:20:18:239 MSD] 0066 SystemOut O #PrepareLawDraftAction RESULT = success [17.07.08 11:20:18:255 MSD] 0066 ServletWrappe E SRVE0068E: Необрабатываемая исключительная ситуация сгенерирована в одном из служебных методов сервлета: /admin/processlaw2.jsp. Исключит

Re: Can't access bean from jsp

> name of the action in struts.xml, so you should put # in there. It should be: you shouldn't put # in there. Regards -- Lukasz http://www.lenart.org.pl/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-m

easy way to keep widget css style at default?

hi, Is there any easy way to have a widget like e.g. dojo's datetimepicker to keep its original style despite applying any global css? TIA, regards, Giovanni - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comma

Re: Can't access bean from jsp

Lukasz Lenart wrote: > >> name of the action in struts.xml, so you should put # in there. > > It should be: > you shouldn't put # in there. > > > Regards > -- > Lukasz > http://www.lenart.org.pl/ > > - > To unsubscribe, e-

Re: easy way to keep widget css style at default?

Resolved! Looking around a bit found couple of JIRA tickets about introducing the datetimepicker parameter "templateCssPath". Also found the offending entries in the global css theme. So what I did was to experiment and create a new css file called datetimepickerfix.css that would resolve the

Re: Can't access bean from jsp

> I've fixed that already, the same exception. Seems like i've understood the > problem: I don't have jars which work with struts tags. That it looks like, missing constructor HttpRequestParametersHashModel(HttpServletRequest) Regards -- Lukasz http://www.lenart.org.pl/ ---

Re: Can't access bean from jsp

Finally, I found a error. I've got freemaker.jar and freemaker-2.x.x.jar in classpath. freemaker.jar is used by other app, freemaker-2.x.x is used by struts2 app. So, the first freemaker.jar was on duty to provide classes. Now, I've removed ald version of freemaker, and this terrible exception gon

Checkbox List Problem...

Hi, In my form I have employee number, name, and roles, here employee number and name are text fields and roles is a checkboxlist, to generate the list boxes i had a map called rolesMap in my action class, as well i have a set called userRoles that specifies the items to be selected. *jsp*

Weired browser behaviour

Hi list... I got a page that has got a sx:div loading its content from an action (result is search.jsp) and a div that is loaded via divDisplay.innerHTML=data; and topic.subscribe after I clicked on a button in search.jsp that publishes the necessary topic. The publish topic is called from a js f

Re[7]: autocompleter bug in forefox3 but not in ie6

I've checked the request and those values from hidden input fields (name, nameKey) are not there. > I noticed that but I don't think id is a mandatory field... id is > give for users to do manipulation on the widget, other wise it would be > mandatory field. > Any way did you check what is th

Re: Checkbox List Problem...

Hi, Please discard this email. as my action mapping is wrong it is behaving like this, now i could fix the issue. Sorry. On Thu, Jul 17, 2008 at 4:03 PM, Narayana S <[EMAIL PROTECTED]> wrote: > Hi, > > In my form I have employee number, name, and roles, here employee > number and name are

Re: [S2-ActionComponent] Action not on the stack while evaluating body

[EMAIL PROTECTED] wrote: Hello, I think I found a problem in struts 2.1.1 (or misunderstood the documentation). I have an action that can search for persons (querystring for name, list of persons retreived). I wanted to reuse that functionality for a form where a user has to be picked (to be

s:div Append Href

Hello All, I am trying to use an s:div tag but need to update the href dynamically. To give an idea I have a . I would like to on some user event to either in javascript or any other way allow the href to append specific variables. I have tried to href="testAction?someVar=%{someVar}" where s

Help please TOMCAT 5 + Struts

Hello for everybody; We have a big trouble with our Web Application. Our Tomcat 5.5 Server is working properly, as we can see. The problem is concerning to the Web Project. It’s frizzing randomly. It doesn’t matter how many time was reloaded. From this moment never user can get in the Web Si

Re: Help please TOMCAT 5 + Struts

Hi Cristian, it looks like a out of memory problem, try to assign more memory to you JVM with: export JAVA_OPTS='-Xmx756m -server -XX:MaxPermSize=256m' export CATALINA_OPTS='-Djava.awt.headless=true' El jue, 17-07-2008 a las 18:05 +0200, STRUTS SL. Mailing List escribió: > Hello for everybody;

Re: Help please TOMCAT 5 + Struts

All that is obvious from those errors is that the Tomcat application server has run out of memory and has halted as a result. It is not obvious why this would happen; there are many reasons it could happen. Also, my own app does not have a copy of servlet.jar inside its WAR file and I do not beli

RE: ExecAndWait (navigating back to the progress page)

I'm guessing the operation you're waiting for can take quite a while to complete. Otherwise modifying the architecture of this probably wouldn't be worth it. You might consider the flow of the original action to simply report a simple "submitted and processing" result, and then implement an Ajax-

Re: Help please TOMCAT 5 + Struts

Maybe you got some memory leak in your code. Use a memory-inspecting tool and check for static objects. If you check your memory usage, maybe you'll find that you eat all the memory available, so you should tune your tomcat server changing the memory parameters. Regards, Paolo Niccolò Giubelli

Re: s:div Append Href

So I was able to achieve what I wanted to by setting separateScripts="false" , I did read that somewhere but I was setting the separateScripts="false" in the wrong div (using a div to load another div). Now even after changing the href to something completely different then publishing to the div

Re: s:div Append Href

what you are looking for is the "formId" attribute. You can specify the id of a form, and the fields of the form will be submitted when the request is made. Check showcase for examples. musachy On Thu, Jul 17, 2008 at 11:38 AM, cree <[EMAIL PROTECTED]> wrote: > > Hello All, > > I am trying to use

Re: s:div Append Href

That's exactly what I am looking for thank you very much! You hit it right on the nail. Musachy Barroso wrote: > > what you are looking for is the "formId" attribute. You can specify > the id of a form, and the fields of the form will be submitted when > the request is made. Check showcase for

Re: [S2] attempts to access www.opensymphony.com on Struts startup???

apache.org is currently down. "Big deal!", you might say... Well with my recurring problem of Struts2.1.2 always trying to access that website on startup, I cannot restart my local server This is very infuriating! Are we agreed that Struts should not be attempting to access any remote server

Re: Help please TOMCAT 5 + Struts

It looks like that something wrong in your code/archtechture. Was it slow right after you deployed the app, or gettting slower during the operation? On Thu, Jul 17, 2008 at 12:45 PM, Paolo Niccolò Giubelli < [EMAIL PROTECTED]> wrote: > Maybe you got some memory leak in your code. Use a memory-ins

Action form in session scope

Hello, which is a prefered way to add actionform into session scope or in the request scope? Is that true that putting actionForm into the session is a bad idea? Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional c

Help please TOMCAT 5 + Struts

The application is started well and after a few hours or minutes that stays frozen. without accepting more users. thanks to all are very helpful De: Jianshuo Niu [mailto:[EMAIL PROTECTED] Enviado el: jue 17/07/2008 19:41 Para: Struts Users Mailing List

Wildcard mappings and Annotations

Hi Struts Users, Is it possible to define wildcard mappings with an annotated action? I'm using struts 2.0.11 and I'd like to do some wildcard mapping with a zero-config and annotations paradigm. For example, I'd like to have a way to have http://site.com/page/variable go to an action annotated

Re: Help please TOMCAT 5 + Struts

I would take a look at the code first to see if there is any unclosed connection, loops, etc. Then, check the jdk version and tomcat config files. On Thu, Jul 17, 2008 at 4:10 PM, STRUTS SL. Mailing List < [EMAIL PROTECTED]> wrote: > The application is started well and after a few hours or minut

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

I know of tools that help test my application, for which I have looked and looked again the code. Or some techniques to help me refine ... thanks De: Jianshuo Niu [mailto:[EMAIL PROTECTED] Enviado el: jue 17/07/2008 22:22 Para: Struts Users Mailing List Asunto

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

I haven't used this, but thirty seconds' search on "tomcat memory leak tools" led me to this: http://java-source.net/open-source/profilers/jmemprof jk On Thu, Jul 17, 2008 at 4:34 PM, STRUTS SL. Mailing List < [EMAIL PROTECTED]> wrote: > I know of tools that help test my application, for which I

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

thousand thanks attempts with what I spend. if you miss one you the idea agradecere. De: Jim Kiley [mailto:[EMAIL PROTECTED] Enviado el: jue 17/07/2008 22:41 Para: Struts Users Mailing List Asunto: Re: [SPAM] Re: Help please TOMCAT 5 + Struts I haven't used th

Struts2: display int in JSP

Hi, In my action, I have several variables of type int. When the variable is not initialized, it's displayed as 0 in the JSP. I would like un-initialized variable of type int to be display as blank/empty. What is the best way to accomplish this? Thanks. Public class XXAction extends ActionSu

RE: Struts2: display int in JSP

Use Integer instead of int Regards, Jishnu Viswanath Software Engineer *(+9180)41190300 - 222(Ext) ll * ( + 91 ) 9731209330ll Tavant Technologies Inc., www.tavant.com PEOPLE :: PASSION :: EXCELLENCE -Original Message- From: Phan, Hienthuc T [mailto:[EMAIL PROTECTED] Sent: Friday, J

RE: Struts2: display int in JSP

That works. Thanks. I'm migrating from Struts 1 & was hoping not have to change the data type. -Original Message- From: Jishnu Viswanath [mailto:[EMAIL PROTECTED] Sent: Thursday, July 17, 2008 2:24 PM To: Struts Users Mailing List Subject: RE: Struts2: display int in JSP Use Integ

RE: Struts2: display int in JSP

Its not because of struts, int can not contain null, so nearest possible brother is 0 so they put 0. Ok, if you still want to use int, then put getter setter as String and parse the input and output to integer and string. int age = -1; public String getAge(){ if(age<0)

Re: ExecAndWait (navigating back to the progress page)

In my case it is a very long running action but even in the case of short running actions I would think users would want to be able to navigate away from the progress page and return. I thought maybe I just didn't know how to configure the actions correctly EDIT: So while writing the above rep

RE: ExecAndWait (navigating back to the progress page)

Hey in your case for the input field not null any such silly thing you can actually write validation xml. That will actually take care of returning back to the page with input error. Regarding the long time to take thingy, I don't know how the return SUCCESS is going to help the client, the clie

Re: ExecAndWait (navigating back to the progress page)

On Thu, Jul 17, 2008 at 7:58 PM, Jishnu Viswanath <[EMAIL PROTECTED]> wrote: > Hey in your case for the input field not null any such silly thing you > can actually write validation xml. > > That will actually take care of returning back to the page with input > error. Actually I can't. In my rea

Re: [OT] What slows you down?

S2 is awesome by the way it modularises the things. But to me writing a valid ognl in jsp,validation layer, using value stack and debugging it is extremely difficult. The only way i do it is re-jaring, redeploying and restarting the tomcat. Moreover most of the times i do'nt understand why thing

Re: [S2-ActionComponent] Action not on the stack while evaluating body

thanks for the reply, I created https://issues.apache.org/struts/browse/WW-2724 and started changing my code to using AJAX for the form...but I'd prefer this solution... best regards, Kris Jeromy Evans - Blue Sky Minds wrote: > > > Thorough analysis! I cringe thinking of how much time it's

Re: Action form in session scope

Hi Larry, i'm assuming You are talking about s1, there is no clear answer for your question as for me, because using session forms is extremely comfortable for developer, no need to worry about remembering any object acros your app, they just are in session forms. But on the other side your session