RE: [ActionServlet] /WEB-INF/web.xml was not found

2007-10-04 Thread Rajagopal_Yendluri
There is no problem in the web.xml, There may be some problem on "war"ring the file ( means creating .war file). Try to deploy it on other server ,,, say tomcat or any other. If you get the same error message am sure the problem is with WAR. Check out if you can share the war I will try

Struts 2.0.10 jars please

2007-10-04 Thread Sekhar, Raja
Hi I am behind a firewall, and also donot have proxyHost to change settings of maven and svn to work properly. Can somebody please pass me the jars that comprise struts2.0.10 . I need the tiles plugin as well. Kindly please point me to a location where I can download or mail the jars to my per

RE: struts 2.1 beta

2007-10-04 Thread Jason Wyatt
Hi Meissa, You might want to see the post with subject "[s2] Struts head tag KILLS (> 10s) page load time"... Discusses the problem as we experienced it, and a hack /workaround to modify the freemarker template... Not ideal, but may help cut down the includes. Regards Jason -Original Me

Re: S2 on JDK 1.4

2007-10-04 Thread Joshua Jackson
Thanks Antonio, I didn't know about that. Cheers, joshua On 10/4/07, Antonio Petrelli <[EMAIL PROTECTED]> wrote: > 2007/10/4, Joshua Jackson <[EMAIL PROTECTED]>: > > Has anyone been able to run S2 on JDK1.4, or do we must use JDK 1.5 with S2? > > or use Webwork 2 instead? > > > You have to use S

Re: [ActionServlet] /WEB-INF/web.xml was not found

2007-10-04 Thread Cesar Arevalo
Hey, what version of the jboss-web.dtd are you using, see here for the types: http://www.jboss.org/j2ee/dtd/ I see that the context-root element is not in the http://www.jboss.org/j2ee/dtd/jboss-web.dtd, it is until http://www.jboss.org/j2ee/dtd/jboss-web_3_0.dtd that this element is present.

[ActionServlet] /WEB-INF/web.xml was not found

2007-10-04 Thread ROWLAND, CLAY, ATTSI
hi. i'm trying to deploy my first struts 1.3.8 web app on jboss-4.2.1 on windows and am getting an exception when i deploy my .war file. 18:15:43,744 ERROR [ActionServlet] The /WEB-INF/web.xml was not found. (please let me know if you'd like to see the full exception text) however, web.xml exi

Re: combining Struts-2 with Struts-1 application.

2007-10-04 Thread Wes Wannemacher
I would start here -> http://struts.apache.org/2.0.9/docs/struts-1-plugin.html -W On 10/4/07, Leena Borle <[EMAIL PROTECTED]> wrote: > Hi , > I have started developing my application using Struts-2. Now my > requirement is I need to use another application(separate WAR file) with > this new

Re: calling action

2007-10-04 Thread Dave Newton
--- Henry Park <[EMAIL PROTECTED]> wrote: > How can I forward to a url from within my action > class? For example, instead of 'return SUCCESS' I > just want to call another action... something like > 'return SomeAction!doit.action. Any ideas? Thanks > in advance. Define a result that either chai

Re: calling action

2007-10-04 Thread Wes Wannemacher
How about -> YourSecondAction http://struts.apache.org/2.0.9/docs/redirect-action-result.html The downside is that it is a redirect, so you any data from YourFirstAction that you want in YourSecondAction will have to be put into the session. -W On 10/4/07, Henry Park <[E

calling action

2007-10-04 Thread Henry Park
How can I forward to a url from within my action class? For example, instead of 'return SUCCESS' I just want to call another action... something like 'return SomeAction!doit.action. Any ideas? Thanks in advance. _ Windows Live Hot

RE: [s2] Struts head tag KILLS (> 10s) page load time

2007-10-04 Thread Engelking, Nicholas
One thing to keep in mind is that you will have to migrate from the old struts tags with theme="ajax" to the new ajax specific struts tags. I found that the new tags were basically the same as the old ones, but I did have to go through, drop the theme, and change the tag library. It's probably s

Re: Struts validation error on Jdeveloper 10.1.3.3

2007-10-04 Thread Cesar Arevalo
These pages help you: http://www.penguin-soft.com/penguin/developer/struts/userGuide/dev_validator.html http://wiki.apache.org/jakarta-commons/ValidatorXmlFile The error is telling you that the 'arg0' should not be put there, maybe there is something wrong, hope those pages help you. -Cesar P

Re: [s2] Struts head tag KILLS (> 10s) page load time

2007-10-04 Thread chengas123
Yes, it is working for me now. I checked out the project and did not have to change any of the pom.xml files. I will let you know how my performance tests go with the new plug in. Thanks, Ben Musachy Barroso wrote: > > The dependency seems to be fine (it was broken before). On core: > > >

combining Struts-2 with Struts-1 application.

2007-10-04 Thread Leena Borle
Hi , I have started developing my application using Struts-2. Now my requirement is I need to use another application(separate WAR file) with this new one. This other application is written strut1 framework. My question is how do I make calls to the actions in struts-1 from my jsps/actions.

Re: [s2] Struts head tag KILLS (> 10s) page load time

2007-10-04 Thread Dave Newton
--- chengas123 wrote: > I was trying to build myself, but I'm afraid I can't > agree that it's pretty easy. It appears the pom.xml > files are broken along with who knows what else. As I said, aside from the XWork pom.xml issue I found building trunk was very straight-forward. Perhaps if you re-

Re: [s2] Struts head tag KILLS (> 10s) page load time

2007-10-04 Thread Wes Wannemacher
On 10/4/07, chengas123 <[EMAIL PROTECTED]> wrote: > > > > Wes Wannemacher wrote: > > > > There is probably very little difference between the nightly build and > > trunk, I have found it's pretty easy to just build from trunk. If you > > don't have them already, get subversion and maven (both small

Re: [s2] Struts head tag KILLS (> 10s) page load time

2007-10-04 Thread Musachy Barroso
The dependency seems to be fine (it was broken before). On core: com.opensymphony.xwork xwork 2.1-SNAPSHOT on xwork trunk: com.opensymphony.xwork xwork 2.1-SNAPSHOT regards musachy On 10/4/07, chengas123 <[EMAIL PROTECTED]> wrote: > > > > Wes Wannemacher wrote: > > > > The

Re: [s2] Struts head tag KILLS (> 10s) page load time

2007-10-04 Thread chengas123
Wes Wannemacher wrote: > > There is probably very little difference between the nightly build and > trunk, I have found it's pretty easy to just build from trunk. If you > don't have them already, get subversion and maven (both small > downloads) and build it yourself. > > Follow the instructi

Re: Where are the logic: tags?

2007-10-04 Thread Marcos Hernandez
Thanks guys, I didn't know the tag could be used that way. But now I've found a Struts related problem: according to the Struts taglib, the "list" attribute is obligatory for the tag, therefore I can't use a inside tag with a FOR loop to fill it. Thanx anyway :-) On 10/1/07, Chris Pratt <[EMAIL

RE: Disabling struts UI objects

2007-10-04 Thread Jiang, Jane (NIH/NCI) [C]
I found that same problem trying to use the disabled parameter of the form tag. I did a search on the generated html and found not one element with the disabled attribute. Any one else? -Original Message- From: Session A Mwamufiya [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 08, 20

Re: [s2] Struts head tag KILLS (> 10s) page load time

2007-10-04 Thread Wes Wannemacher
There is probably very little difference between the nightly build and trunk, I have found it's pretty easy to just build from trunk. If you don't have them already, get subversion and maven (both small downloads) and build it yourself. Follow the instructions from this thread - http://www.nabble

Re: [s2] Struts head tag KILLS (> 10s) page load time

2007-10-04 Thread chengas123
Thank you for the suggestion, but unfortunately I still can't figure out how to get it to build as this is my first experience with Maven. I noticed someone placed struts-2.1.0-SNAPSHOT-lib.zip in the nightlies directory which I appreciate greatly, but while it includes most of the plugins, the do

Re: Struts validation error on Jdeveloper 10.1.3.3

2007-10-04 Thread rapsy
I don't think that matters but I gave a try just in case. The error message is now changed to: (Error) Invalid element 'arg0' in content of 'field', expected elements '[msg, arg, var]'. Thanks for your reply! Cesar Arevalo wrote: > > Hey Rapsy, > > just a quick thought, shouldn't the argument

Re: Struts validation error on Jdeveloper 10.1.3.3

2007-10-04 Thread Cesar Arevalo
Hey Rapsy, just a quick thought, shouldn't the arguments start at index 0? this meaning that you should have ?? -Cesar - Original Message From: rapsy <[EMAIL PROTECTED]> To: user@struts.apache.org Sent: Thursday, October 4, 2007 11:27:27 AM Subject: Struts

Struts validation error on Jdeveloper 10.1.3.3

2007-10-04 Thread rapsy
Hi, I am using struts 1.3.8 for my application. I am using Oracle Jdeveloper IDE ver 10.1.3.3.0. I have created the following validation in validation.xml file. min0 max9 When I run my applicatio

RE: how to keep object from action to action

2007-10-04 Thread Jiang, Jane (NIH/NCI) [C]
You must be using Spring framework but not the Spring plug-in. Here is the link to help you setup. http://struts.apache.org/2.x/docs/spring-plugin.html -Original Message- From: ros [mailto:[EMAIL PROTECTED] Sent: Thursday, October 04, 2007 12:18 PM To: user@struts.apache.org Subject: RE

actionPackages parameter provokes PermGen memory error

2007-10-04 Thread wild_oscar
Dear all, I've been struggling with a Permgen error on my application's development: after a number of re-deployments, I get a permgen memory error in Tomcat 6 (described in more detail here http://www.nabble.com/forum/ViewPost.jtp?post=12984476&framed=y http://www.nabble.com/forum/ViewPost.jtp?

Re: Struts debug mode

2007-10-04 Thread Dave Newton
--- Viplav Kallepu <[EMAIL PROTECTED]> wrote: > why do we need source files of third party jars. So you can see the source if you're debugging/executing something in a class contained in one of the third party jars. You don't *have* to have them, especially if you don't care about what's going on

Re: s:select onchange and validation

2007-10-04 Thread Jason Deffenbaugh
I just used a hidden field to save the index. Easier way? -Jason On Thu, 2007-10-04 at 11:07 -0400, Jason Deffenbaugh wrote: > Hello, > > I have two s:select drop downs on my page, lets call them x and y. When > I change the value of x I populate y using the onchange attribute > calling a java

Re: Struts debug mode

2007-10-04 Thread Viplav Kallepu
Thanks for the replies. I haven't tried jadeclipse and eclipse europa. I will try them to and see how debug mode works. One thing I wansn't able to figure out. why do we need source files of third party jars. Even the java jre we include is like third party to eclipse. Still it is able to debug the

RE: how to keep object from action to action

2007-10-04 Thread ros
Yes, this is it. How to setup StrutsSpringObjectFactory as current? web.xml? struts.xml? Thanks. Jiang, Jane (NIH/NCI) [C] wrote: > > If you use org.apache.struts2.spring.StrutsSpringObjectFactory as your > object factory, and you define mypojo in your action to match your bean > id in the app

Re: struts2 issue- not retaining..

2007-10-04 Thread Jose4u
thanks Ramita Can u send a sample code and if any help material and can u provide how it can be done in this implementation. Ramita Gambhir wrote: > > Hi, > > You can try using DWR for AJAX implementation...Its very easy to use. > There are few other libraries like prototype.js, DOJO toolkit

RE: how to keep object from action to action

2007-10-04 Thread Jiang, Jane (NIH/NCI) [C]
If you use org.apache.struts2.spring.StrutsSpringObjectFactory as your object factory, and you define mypojo in your action to match your bean id in the application context, mypojo will be automatically injected for you by the spring framework. You don't need to use myManager.loadPojo(). You sh

RE: how to keep object from action to action

2007-10-04 Thread ros
Yes, I use spring. I will describe question in details: Same situation my1.html -(mypojo.id)-> action1.save -(mypojo)-> action2.edit-(mypojo)-> my2.jsp -> my2.html action1 loads mypojo: class action1 { .. private mypojo; setMypojo().. getMyPojo() ... public String save () { mypojo = m

Re: struts2 issue- not retaining..

2007-10-04 Thread Ramita Gambhir
Hi, You can try using DWR for AJAX implementation...Its very easy to use. There are few other libraries like prototype.js, DOJO toolkit...I haven't used them but you may want to explore them too... I have worked on DWR and its really helpful... Regards, Ramita Jose4u wrote: > > thank for the

Re: Session scoped ActionForm causing strange behaviour

2007-10-04 Thread Ramita Gambhir
Hi, Thanks a lot for your replies :-) I found the solution to my problem. It was a case of missing "name" parameter in the . I had used . It was showing the values from previous form object. Thanks a bunch! Regards, Ramita Antonio Petrelli-3 wrote: > > 2007/10/3, Ramita Gambhir <[EMAIL PR

s:select onchange and validation

2007-10-04 Thread Jason Deffenbaugh
Hello, I have two s:select drop downs on my page, lets call them x and y. When I change the value of x I populate y using the onchange attribute calling a javascript function. If the user then tries to submit the form with errors my validation kicks in and refreshes the page showing the field er

RE: ognl problem ?

2007-10-04 Thread Jiang, Jane (NIH/NCI) [C]
So you have no problem if you only nest attribute less than 4 times? I thought you have to use the value parameter to pull the value to the page. Were you able to set the attribute? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, October 04, 2007 6:4

RE: how to keep object from action to action

2007-10-04 Thread Jiang, Jane (NIH/NCI) [C]
If you use the Spring framework, you can define your object as Spring beans and have them injected to your action. -Original Message- From: ros [mailto:[EMAIL PROTECTED] Sent: Thursday, October 04, 2007 10:21 AM To: user@struts.apache.org Subject: how to keep object from action to actio

Re: struts 1 iterate tag

2007-10-04 Thread solid
nevermind. I figured it out > I am having some trouble with some struts 1 interface code. I have an > object that contains an unknown number of key/value pairs and I want to > display them in a checkbox where the checkbox value is the key and the > Label is the value. I am having no problem iter

How do you populate with action or for that matter from any other file which can be commonly used to populate

2007-10-04 Thread naveen472-m
How do you populate with action or for that matter from any other file which can be commonly used to populate on other pages? Please help me with this Its URGENT - Forgot the famous last words? Access your message archive online. Click here.

how to keep object from action to action

2007-10-04 Thread ros
Hi! I use struts2 and want to load object in action1 and then access in in action2 and result jsp, like on drawing my1.html -(myobject.id)-> action1.save -(myobject)-> action2.edit -(myobject)-> my2.jsp -> my2.html I do not want to load this object in action2.edit if it was already loaded in ac

struts 1 iterate tag

2007-10-04 Thread solid
I am having some trouble with some struts 1 interface code. I have an object that contains an unknown number of key/value pairs and I want to display them in a checkbox where the checkbox value is the key and the Label is the value. I am having no problem iterating and binding the keys to checkbo

Re: [S2] Access to ressource Bundle

2007-10-04 Thread Wes Wannemacher
The class that is handling your ResourceBundle is - http://www.opensymphony.com/xwork/api/com/opensymphony/xwork2/util/LocalizedTextUtil.html 'findResourceBundle(String aBundleName, Locale locale)' looks promising, but I'm guessing it's not what your looking for. It doesn't appear that there is

Re: Struts2 Pre-Action

2007-10-04 Thread stanlick
It also looks like Manning has released Struts 2 in Action through their Early Access Program! http://www.manning.com/dbrown/ On 10/4/07, Ted Husted <[EMAIL PROTECTED]> wrote: > > On 10/2/07, Tom Holmes Jr. <[EMAIL PROTECTED]> wrote: > > web-project altogether with just Struts2 ... no Spring2 and

Re: ognl problem ?

2007-10-04 Thread stanlick
Double check that your action has a public getTicket() and that it has a public getAsset() and that it has a public getUnderlying() and that it has a public getReference(). As you probably know, spelling and case matters :) Scott On 10/4/07, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote: > > > I

Re: struts 2.1 beta

2007-10-04 Thread Ted Husted
If it does, please feel free to file a issue ticket against 2.1.0. * https://issues.apache.org/struts/browse/WW/fixforversion/21794 -Ted. On 10/4/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > We did all of the things described in the performance-tuning tips. > But we've been using intens

Re: struts 2.1 beta

2007-10-04 Thread meissa . sakho
We did all of the things described in the performance-tuning tips. But we've been using intensively ajax tag (datetime picker and autocompleter). Theses two tags force us to include the killing head tag. When we removed them (removing the head tag in the same time) our pages are faster (a least

Re: struts 2.1 beta

2007-10-04 Thread Ted Husted
For performance problems, be sure to follow the advice on this page. * http://struts.apache.org/2.x/docs/performance-tuning.html If you do all of these things, and still consider the performance unacceptable, then I doubt that Struts 2.1 will make a startling difference. If performance is the ke

Re: Struts2 Pre-Action

2007-10-04 Thread Ted Husted
On 10/2/07, Tom Holmes Jr. <[EMAIL PROTECTED]> wrote: > web-project altogether with just Struts2 ... no Spring2 and no Hibernate. What are you using instead of Hibernate (or the like)? I mean JDBC works, but ... ugh ... those were the bad old days. Or, is the plan to use Toplink as a JPA provider?

Re: Struts2 Pre-Action

2007-10-04 Thread Ted Husted
The native Struts2 solution would be to use an interceptor, or to piggy back on an interceptor that already exists. Writing your own interceptor is not difficult * http://struts.apache.org/2.x/docs/writing-interceptors.html and I would suggest that everyone at least try writing one interceptor o

ognl problem ?

2007-10-04 Thread meissa . sakho
I have an object named ticket in may Action class. this object has an attributes which has an attribute which has an attribute which has an attibute. When I want to display it in a textfield, I use the synthax below: Nothing appears when the page is displayed. And the object value is clearl

Re: [ANN] Three Struts Tutorials or Presentations at ApacheCon US 2007 Atlanta GA

2007-10-04 Thread Lionel
Pavel Sapozhnikov wrote: > Second about this ApacheCon...will the power point or pdf slides be > available after the conference has ended? Comparing Java Web Frameworks from Matt Raible is already available http://raibledesigns.com/rd/entry/ja_sig_comparing_java_web ---

Re: S2 on JDK 1.4

2007-10-04 Thread Antonio Petrelli
2007/10/4, Joshua Jackson <[EMAIL PROTECTED]>: > Has anyone been able to run S2 on JDK1.4, or do we must use JDK 1.5 with S2? > or use Webwork 2 instead? You have to use Struts 2 jars for JDK 1.4: http://struts.apache.org/download.cgi#struts209?update=200707231930 Download: struts-2.0.9-j4.zip H

Re: Struts URLs for perfectionists like Ebay's URLs

2007-10-04 Thread Vo Van Thuong
Hi, Vinny i also try urlrewrite but cannot get it work with struts 2's action, only work with static html files. would you pls give give me some sample app or guides to > have > my urls go from this : /myAction.do?p1=v1&p2=v2 to > /myAction/p1,v1/p2,v2/ best regards, - O

Override the default behavior of Add/Remove in Select Components

2007-10-04 Thread Shoaib Gauhar
Hello: I am working in Struts 2 and would like to override the default behavior of Add and Remove button which are rendered by the OptionTransferSelect tag. Can I do this? Regards, Shoaib Ahmad Boardwal

S2 on JDK 1.4

2007-10-04 Thread Joshua Jackson
Has anyone been able to run S2 on JDK1.4, or do we must use JDK 1.5 with S2? or use Webwork 2 instead? Thanks in advance -- It's not just about coding, it's a matter of fulfilling your core being YM!: thejavafreak Blog: http://joshuajava.wordpress.com/ -

[S2] Access to ressource Bundle

2007-10-04 Thread Julien Leonard
Hello all, In my Struts2 project, I use a custom ResourceBundle which takes i18n in a database and cache them. I have configured Struts to use it in struts.xml like this : And it works ! But I want to acces to the ressource bundle instance to be able to invalid the cache. Is there someone t

Re: Tiles 2 setup with Struts2

2007-10-04 Thread Roberto Nunnari
Yes, tiles-default extends struts-default. Here's the content of struts-plugin.xml from the library struts2-tiles-plugin-2.0.9.jar http://struts.apache.org/dtds/struts-2.0.dtd";> class="org.apache.struts2.views.tiles.TilesResult"/> Best regards. -- R

Re: struts2 issue- not retaining..

2007-10-04 Thread Jose4u
thank for the reply Can you please help me out, how i can do this implementation using AJAX call. Thanks in advance Joseph Zarar Siddiqi wrote: > > Yeah, you're going to have to load them every time. You could store > the collections in session or application scope if that's feasible but > ot

struts2 s:select problem

2007-10-04 Thread zul;jami
I have a action class extending actionsupport in which I have a getters and setters for a Hashmap in my execute I populate the hashmap. But in my select it is not showing This is code in my jsp. If I use sessionaware and put it in session,then in my java code in jsp i am able to get the val