RE: file upload exception

2007-09-16 Thread Session Mwamufiya
Yeah, I read back and saw that. I must have been so out of it after staying up so long on this issue that I missed it. Thanks a million for the help and for bearing with me. Thanks! Session A. Mwamufiya Carnegie Mellon University MBA | Tepper School of Business MSE (software eng.) | School of

struts2 bug when deploying ? please help

2007-09-16 Thread Leonidas Papadakis
Greetings to all, i have a problem that is really driving me crazy so i would REALLY appreciate your help . I have developed a struts2 application and locally everything is fine (localhost:8080/..) e.t.c. I then copied the same tomcat to the production server and connected it with apache.

Re: [FRIDAY] JPA War Stories?

2007-09-16 Thread Haroon Rafique
On Friday at 3:01pm, MB=Musachy Barroso [EMAIL PROTECTED] wrote: MB I'm using it, and I love it, the only problem I've found so far is MB that errors and exceptions do not help at all, like this one I get MB from time to time (got it 2 minutes ago): MB MB javax.servlet.ServletException:

Re: Joining list with OGNL

2007-09-16 Thread Jan Röhrich
( ticketStates.add(0,new MyObject(-1,All)), ticketStates ) This does the job. Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [FRIDAY] JPA War Stories?

2007-09-16 Thread Musachy Barroso
I thought I was the only one. I had a tough time getting that @Transactional(readOnly = true) sorted out as well. For DAOs that only have read only operations, I typically annotate with @Transactional at the class level and then with @Transactional(readOnly = true) on all the methods. Is that

Re: struts capabilities with myEclipse

2007-09-16 Thread bartlebooth
Upgrade ! Version 3.8.4 must be about 3 years old. prem_gadgetquest wrote: I am using MyEclipse 3.8.4... when I create new project and add struts capabilities (struts 1.2) to it..it doesnt show me validator -rules.xml and validation.xml..I want to use these files for form

Re: [S2] Issues with AJAX in IE

2007-09-16 Thread Meteora
Hi, i had exactly the same problem but i noticed it just happens when you have a single textfield. If you have 2 or more textfields... it works for me. Did you try with more textfields? I solved in this way: where i just have a single textfield, i add another invisible textfield (with border = 0)

[S2] @Inject in tags

2007-09-16 Thread Chris Pratt
I'm trying to write some tags, and when I was studying the tags included with Struts 2.0.9 and they appear to be cut in half, and are using the @Inject annotation to get hold of the Configuration, ActionMapper, and enableDynamicMethodInvocation setting. It appears that for some reason the @Inject

Re: html:select / DIV / document.getElementById(why).innerHTML

2007-09-16 Thread Martin Gainty
John- server-side will have to html format the response (in this case it would be for select) http://www.w3schools.com/tags/tag_select.asp then follow the instructions dave showed on how to populate the WhateverDIVTagReceivesTheResponse.innerHtml with the html response which contains the select

Re: JAAS struts 2 Tutorial?

2007-09-16 Thread tom tom
If it's simple application, you dont need JAAS, You can do it via just session management isnt it? You might need user, role, user-role threee tables on database thats it :) If you are using Application server like Jboss, the server itself got inbuilt features, which is altogether a different

Re: Captcha in Struts

2007-09-16 Thread Paul Benedict
Are you trying to invoke /jcaptcha in your browser? On 9/13/07, aarthy [EMAIL PROTECTED] wrote: Hi, I tried to implement struts in my project using guidelines from this link http://forge.octo.com/jcaptcha/confluence/display/general/Struts+integration i am getting the below error.

Re: Whats the harm in creating a Servlet Dispatcher?

2007-09-16 Thread Paul Benedict
Shepherd, As you know, you can configure a filter for the type of dispatching. Types are INCLUDE, FORWARD, ERROR, and * (star). Maybe you should list those out. Also if you create a servlet, can you submit it as a JIRA patch? Paul On 9/14/07, Shepherd, Darren S [EMAIL PROTECTED] wrote: All,

Re: Easier/simplier way to do read-only versions of pages?

2007-09-16 Thread Paul Benedict
Struts 1.3 contains a readonly attribute on the Form element. If you set it to true, all inner components will render without the ability to accept input. Much easier than you think :) Paul On 9/14/07, Angelo zerr [EMAIL PROTECTED] wrote: Hi, You could use Formview Taglib. See at

Re: Problem with stripping the .jsp part from the forward

2007-09-16 Thread Paul Benedict
Are you really using 1.3.4? Not 1.3.5? In any event, the stripping of the extension shouldn't be happening. More likely the extension isn't there in the forward, or you have some filter running which is doing the stripping. Always throw Struts into the debugger when you come up with weird results

iterator with only an int as input value

2007-09-16 Thread Vo Van Thuong
Hi, i'm wondering if there is anyway to use s:iterator like this: s:iterator value={1..pagesNum} s:property value=top/ /s:iterator should be the same as below, if pagesNum=5: s:iterator value={1,2,3,4,5} s:property value=top/ /s:iterator Thanks,

iterator tag with only an int as input value

2007-09-16 Thread Vo Van Thuong
Hi, i'm wondering if there is anyway to use s:iterator like this: s:iterator value={1..pagesNum} s:property value=top/ /s:iterator should be the same as below, if pagesNum=5: s:iterator value={1,2,3,4,5} s:property value=top/ /s:iterator Thanks,

Re: Captcha in Struts

2007-09-16 Thread aarthy
Are you trying to invoke /jcaptcha in your browser? Yes -- View this message in context: http://www.nabble.com/Unable-to-read-TLD-%22META-INF-taglib.tld%22-tf4439312.html#a12729385 Sent from the Struts - User mailing list archive at Nabble.com.

Re: Captcha in Struts

2007-09-16 Thread Paul Benedict
I didn't see anything in the instructions that indicated that url. Is it a struts action? If so, you'll need to include the appropriate extension (.do?) Paul On 9/17/07, aarthy [EMAIL PROTECTED] wrote: Are you trying to invoke /jcaptcha in your browser? Yes -- View this message in