Re: Struts Application is not working

2007-10-02 Thread AJAY KUMAR UPPALAPATI
hello friend, I am also not having that much experience so why dont u try this url. http://www.michael-thomas.com/tech/apache/struts/struts_first_steps.htm this url contains Apache link and from there u download one sturts binary file (suppose if u r doing struts1.3.8> strut

Struts Application is not working

2007-10-02 Thread umeshawasthi
Hi All, I am new to struts,i have developed a small application but it is not running,it is displaying the index page correctly but not forwarding the request.i developed the application using my eclipse.when i checked the tomcat log file it is showing the exception that it is not able to find the

Re: Location of struts.xml (Struts 2)

2007-10-02 Thread Chris Pratt
On 10/2/07, Fredy Provoste <[EMAIL PROTECTED]> wrote: > Hi, the location of struts.xml in Struts 2, should be in WEB-INF/classes or > just WEB-INF?? > Technically it has to be on the CLASSPATH. The most common place to put it is WEB-INF/classes. (*Chris*) ---

Location of struts.xml (Struts 2)

2007-10-02 Thread Fredy Provoste
Hi, the location of struts.xml in Struts 2, should be in WEB-INF/classes or just WEB-INF?? I've a struts.xml in WEB-INF/classes, http://struts.apache.org/dtds/struts-2.0.dtd";> /login.jsp /login.jsp

[S2] doublemultiple doesn't work in doubleselect ?

2007-10-02 Thread Annie Wang
It seems like the doublemultiple attribute set to true without the multiple attribute set to true in doubleselect doesn't work. If I set both multiple and doublemultiple attributes to true, then I'm able to select multiple choices on the second select and as well as the first select but that'

Re: [OT]Re: Exadel Studio is showing Evalution version Expired why?

2007-10-02 Thread AJAY KUMAR UPPALAPATI
where can i get help regarding this can u guide me. thanQ On 10/3/07, Nuwan Chandrasoma <[EMAIL PROTECTED]> wrote: > > This is not related to struts. > > msg2ajay wrote: > > Hello friends, > > > > I just downloaded ExadelStudio 4.0.4 for Eclipse 3.2.2 .But when i tried > to > > do Struts project,

[OT]Re: Exadel Studio is showing Evalution version Expired why?

2007-10-02 Thread Nuwan Chandrasoma
This is not related to struts. msg2ajay wrote: Hello friends, I just downloaded ExadelStudio 4.0.4 for Eclipse 3.2.2 .But when i tried to do Struts project, i am geting a message as Evalution Version Expired. Why it is showing like that. ThanQ in Adv, Ajay ---

Exadel Studio is showing Evalution version Expired why?

2007-10-02 Thread msg2ajay
Hello friends, I just downloaded ExadelStudio 4.0.4 for Eclipse 3.2.2 .But when i tried to do Struts project, i am geting a message as Evalution Version Expired. Why it is showing like that. ThanQ in Adv, Ajay -- View this message in context: http://www.nabble.com/Exadel-Studio-is-showing-Eval

Re: Ajax forms not working

2007-10-02 Thread Dave Newton
If you set the debug flag do you get any error messages? --- Moacir Cardoso <[EMAIL PROTECTED]> wrote: > Yes I do. > > > > Dave Newton wrote: > > Do you have an tag? > > > > --- Moacir Cardoso <[EMAIL PROTECTED]> wrote: > > > > > >> Hi, > >> I'm unable to make my ajax form work > >> > >>

Re: Ajax forms not working

2007-10-02 Thread Moacir Cardoso
Yes I do. Dave Newton wrote: Do you have an tag? --- Moacir Cardoso <[EMAIL PROTECTED]> wrote: Hi, I'm unable to make my ajax form work initial content action="cadastro/pessoa_salvarEndereco.action" method="post" theme="ajax"> targets="two

Re: Struts debug mode

2007-10-02 Thread Viplav Kallepu
Thanks for the reply.. when I put breakpoints in my action class and start the server in debugging mode and run my application in browser.. its stopping at the breakpoint and not going forward(It is showing it in the debug console)..I feel it is not able to find the source files as in .deployables

Re: [Struts 2] : Zero Configuraiton : some feedback

2007-10-02 Thread Zarar Siddiqi
I think the Zero Configuration idea is a nice idea but the implementation is far from sufficient and will probably get better over time (hopefully). The problem mainly is with the limit of annotations. There are things that can be represented in struts.xml that have no chance of being represente

Re: Struts debug mode

2007-10-02 Thread João Vieira da Luz
Remote debugging is the keyword. WTP already supports that. On 10/2/07, Viplav Kallepu <[EMAIL PROTECTED]> wrote: > > Hi, > > I am using struts 1.3.8 with eclipse 3.1 (wtp) and tomcat 5.5. Can anyone > please tell me how to enable debugging in it like we debug the core java > application in eclip

[S2] Can a custom component have a body? or, using with themes

2007-10-02 Thread Jim Cushing
Is something like this legal in a Struts 2 custom component: Some text to be wrapped in my component. In other words, can act like, for example, ...s.form>? I'd like to create a HTML fieldset component that plays well with themes. But this doesn't result

Re: Tiles 2 setup with Struts2

2007-10-02 Thread Roberto Nunnari
Hello Emi. see below my comments. Emi Lu wrote: Hello, I looked at this page: http://struts.apache.org/2.x/docs/tiles-plugin.html Done: = [1] Added org.apache.struts struts2-tiles-plugin ${version.tiles} compile to web.xml the above looks like maven stuff.. shou

Re: Tiles 2 setup with Struts2

2007-10-02 Thread Jason Deffenbaugh
You also need to add the jars that tiles requires: copy the Tiles dependencies JARs: * Jakarta Commons BeanUtils 1.7.0 or above; * Jakarta Commons Digester 1.8 or above; * Jakarta Commons Logging (at least API) 1.1 or above http://tiles.apache.org/getting_started.html -Jason O

Re: Tiles 2 setup with Struts2

2007-10-02 Thread Roberto Nunnari
Hello Emi. see below my comments. Emi Lu wrote: Hello, I looked at this page: http://struts.apache.org/2.x/docs/tiles-plugin.html Done: = [1] Added org.apache.struts struts2-tiles-plugin ${version.tiles} compile to web.xml the above looks like maven stuff.. shou

Struts debug mode

2007-10-02 Thread Viplav Kallepu
Hi, I am using struts 1.3.8 with eclipse 3.1 (wtp) and tomcat 5.5. Can anyone please tell me how to enable debugging in it like we debug the core java application in eclipse. I googled it but the I wasn't able to find a single correct solution to try (I cant use myeclipse because I have to use e

Tiles 2 setup with Struts2

2007-10-02 Thread Emi Lu
Hello, I looked at this page: http://struts.apache.org/2.x/docs/tiles-plugin.html Done: = [1] Added org.apache.struts struts2-tiles-plugin ${version.tiles} compile to web.xml [2] Added class="org.apache.struts2.views.tiles.TilesResult"/> to the struts.xml f

[Struts 2] : Zero Configuraiton : some feedback

2007-10-02 Thread Sami Dalouche
Hi, On http://struts.apache.org/2.x/docs/release-notes-209.html, I can read : "Please help us test these brave new features. Feedback appreciated". So, here is some feedback about Zero configuration : - the feature is pretty cool, though not much documented. For instance, it was not obvious to m

Re: Can't build XWork 2.0.4 with Maven 2.0.7?

2007-10-02 Thread Wes Wannemacher
I work with the trunk and I get test failures periodically. I usually ignore them so that I can do whatever I need to do. To get maven to create the JAR file, you have to tell it to skip tests - mvn -Dmaven.test.skip=true On 10/2/07, MassimoH <[EMAIL PROTECTED]> wrote: > > While developing a St

Re: Struts Application is not running

2007-10-02 Thread Dave Newton
--- aum strut <[EMAIL PROTECTED]> wrote: > can u send me a small demo project in struts.so > that i cn take help frm it No, but there are many, many Struts tutorials and projects searchable on the web, including those that come with Struts itself. Perhaps posting some configuration beyond

Re: Struts Application is not running

2007-10-02 Thread aum strut
can u send me a small demo project in struts.so that i cn take help frm it On 10/3/07, Dave Newton <[EMAIL PROTECTED]> wrote: > > --- aum strut <[EMAIL PROTECTED]> wrote: > > I hav configured all the files in the right way > > Cool... but if everything was configured properly it > would pr

Can't build XWork 2.0.4 with Maven 2.0.7?

2007-10-02 Thread MassimoH
While developing a Struts 2 app, I've encountered a bug within the framework. I've debugged this and I believe I've identified the exact cause of the issue. I'd like to try a fix and then submit it as a recommended patch. However, before I even try to add my code change, I am having trouble build

Re: Struts Application is not running

2007-10-02 Thread Dave Newton
--- aum strut <[EMAIL PROTECTED]> wrote: > I hav configured all the files in the right way Cool... but if everything was configured properly it would probably work. > Its showing in the tomcat log files that its not > getting the ActionServlet. This is usually due to a configuration error, miss

Re: Struts2 Pre-Action

2007-10-02 Thread Dave Newton
--- "Tom Holmes Jr." <[EMAIL PROTECTED]> wrote: > Basically, I want to call a pre-Action action that > loads a bean into a session and then calls a JSP page > ... simple right? Right. > Is that all I need? Is there anything else? Can > you send me some links for examples? What exactly are you as

Re: Struts Application is not running

2007-10-02 Thread aum strut
I hav configured all the files in the right way and I m using My Eclipse. Its showing in the tomcat log files that its not getting the ActionServlet. On 10/3/07, Dave Newton <[EMAIL PROTECTED]> wrote: > > I'd turn up the logging level. My initial suspicion > would be a configuration error, but it'

Struts2 Pre-Action

2007-10-02 Thread Tom Holmes Jr.
I've been playing with Struts2+Spring2 beans+Hibernate and that all works very well. So, now I am trying something simpler ... so consider this a new web-project altogether with just Struts2 ... no Spring2 and no Hibernate. Basically, I want to call a pre-Action action that loads a bean into a

Re: Struts Application is not running

2007-10-02 Thread Dave Newton
I'd turn up the logging level. My initial suspicion would be a configuration error, but it's kind of hard to say at the moment. --- aum strut <[EMAIL PROTECTED]> wrote: > hi all, > > i have developeda small application in struts.but > itis not > running.andtomcat log file is giving the error tha

Struts Application is not running

2007-10-02 Thread aum strut
hi all, i have developeda small application in struts.but itis not running.andtomcat log file is giving the error that it is unable to find ActionServlet calss. i have configured ActionServlet class in web.xml as action org.apache.struts.action.ActionServlet config /WEB-

RE: Calling struts 2 actions

2007-10-02 Thread Henry Park
I found a site that explains a similar problem: http://www.nabble.com/-s2--no-result-defined-error-after-failed-validation---can-someone-help--t4030311.html My problem is also trying to find an 'input' method. I have not even defined an input method but it is still looking for it. I tried th

Calling struts 2 actions

2007-10-02 Thread Henry Park
Consider the following segment from my struts.xml: /jsp/items/itemEntry.jsp /jsp/items/itemView.jsp /jsp/error.jsp What could be the cause for an action call not calling the correct method? I have a link on 'itemView.jsp' that points to Item!view.action. When I click the link, it op

RE: Inheritance within form beans

2007-10-02 Thread Dave Newton
--- "Kothari, Kailash" wrote: > This will give me an instance of the parent bean OR > the child bean. > > What I need is a child bean pre populated with data > from the parent bean. I'd probably consider hooking in to the request processor (or chain if you're using 1.3, I suppose) and implement t

RE: ModelDriven CRUD validation failure still causes JPA update - RESOLVED

2007-10-02 Thread cilquirm
You can throw an exception , which you can specify in your @Transactional( rollbackFor = ) to have it rollback. jon_french wrote: > > Yes. But I am using Spring managed transactions that in my understanding > are outside of the struts Interceptor stack. > > My DAO's are annotated with th

RE: Inheritance within form beans

2007-10-02 Thread Kothari, Kailash
Thaks Rick. This will give me an instance of the parent bean OR the child bean. What I need is a child bean pre populated with data from the parent bean. Note that we cannot get an instance of the parent bean and downcast it to an instance of a child bean like - child bean = ((child bean)(instan

Re: Look for Tutorials for Struts2 + Tiles2

2007-10-02 Thread Dave Newton
--- Emi Lu <[EMAIL PROTECTED]> wrote: > May I know where to find tutorials for "struts 2 + > Tiles 2" ? http://struts.apache.org/2.x/docs/tiles-plugin.html http://tiles.apache.org/tutorial/index.html The S2 plugin link *may* be somewhat dated; if there are changes needed please follow up and / or

Look for Tutorials for Struts2 + Tiles2

2007-10-02 Thread Emi Lu
Hello, May I know where to find tutorials for "struts 2 + Tiles 2" ? I'd like to know . how to setup Tiles 2 with struts2 . Layout examples of using Tiles2 with struts2 Thanks a lot! - To unsubscribe, e-mail: [EMAIL PROTEC

Re: ModelDriven CRUD validation failure still causes JPA update - RESOLVED

2007-10-02 Thread Musachy Barroso
That's what it does indeed. musachy On 10/2/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Yes. But I am using Spring managed transactions that in my understanding > are outside of the struts Interceptor stack. > > My DAO's are annotated with the > org.springframework.transaction.annotation.T

Re: [S2] formatting informations in properties files

2007-10-02 Thread Chris Pratt
On 10/2/07, setecastronomy <[EMAIL PROTECTED]> wrote: > I wonder if there is a smarter and centralized way to store the formatting > informations used in different jsp pages associated to different actions. > I believe you can either do it at the package level using something like: com/mycompany/

datetimepicker displayFormat="yyyyMMdd": bug or feature?

2007-10-02 Thread Giovanni Azua
hi all, I am on Struts 2.0.9 here ... using datetimepicker with the following displayFormat setting makes the control work incorrectly i.e. permanently display "2007" only and wrongly: displayFormat="MMdd" using separators works fine though e.g. displayFormat=".MM.dd" TIA, rega

Re: Struts URLs for perfectionists like Ebay's URLs

2007-10-02 Thread Vinny
Also, you might want to look at URLRewrite http://tuckey.org/urlrewrite/ That is what I've been using in S1 and S2 to have my urls go from this : /myAction.do?p1=v1&p2=v2 to /myAction/p1,v1/p2,v2/ I'm also using the zero config and code behind plugins in struts2 that also work to hide

RE: ModelDriven CRUD validation failure still causes JPA update - RESOLVED

2007-10-02 Thread Jon_French
Yes. But I am using Spring managed transactions that in my understanding are outside of the struts Interceptor stack. My DAO's are annotated with the org.springframework.transaction.annotation.Transactional annotation and thus have their transactions managed as detailed here: http://static.sp

Accessing a row in a table on a JSP page.

2007-10-02 Thread JohnLangan
I call the database and create an ArrayList of beans to hold the data. Using JSTL I iterate over the list to display the data in an html table inside a form in a JSP page. I can give each row a number using ${row.index} The last but one column is a Struts html:select that allows the user to se

ActionForward is not workinh

2007-10-02 Thread aum strut
Hi all, i am new to the struts,i am developing a struts based small application for loggin and then to forward the control to the sucess.html if loggin succeed else to failure. my index form is being displayed ok.but when i submittedthe form it is showing the blank page. the criteria for the succe

RE: Struts2 Cookbook Question

2007-10-02 Thread cilquirm
There's nothing preventing you from adding back commons-beanutils or OSCore ( http://www.opensymphony.com/oscore/ ) to get back to that level of functionality. I'm not 100% sure why this mechanism is necessary. If you name your getter on your TestBean appropriately, S2 should take care of it.

Can I access URL parameters within struts.xml using ognl ?

2007-10-02 Thread mikeh96
I would like to do something like this: (e.g. http://foo/view.action?page=help.vm) /templates/screens/#request['page'] I know I can do it if I write my own action with setters/getters for the parameter .. but I was wondering if I can use some ognl syntax or other (e.g. $

Struts 1... any new types of Actions that have come along?

2007-10-02 Thread Rick Reumann
I'm back coding in Strut1.x after being away from it for a while (since 1.1). What type of Action do most people prefer to use now and days? I'm typically using MappingDispatchAction which I really like. Other than the submit button of course, other buttons I end up adding a little javascript that

Re: Ajax forms not working

2007-10-02 Thread Musachy Barroso
On top of that, that won't work on IE. set showLoadingText="false" on the submit tag. musachy On 10/1/07, Moacir Cardoso <[EMAIL PROTECTED]> wrote: > Hi, > I'm unable to make my ajax form work > > > > initial content > id="theForm2" > cssStyle="border: 1px solid green;" >

Re: Popup window with session param

2007-10-02 Thread Wes Wannemacher
This may be a dumb question, but if it's a session attribute, why pass it as a request parameter? Can't you just pull it from the session in the target action? -Wes On 10/2/07, Diego Ezquerro <[EMAIL PROTECTED]> wrote: > Hi to everybody. > > I have a problem with a JSP page, I think this is a stu

Popup window with session param

2007-10-02 Thread Diego Ezquerro
Hi to everybody. I have a problem with a JSP page, I think this is a stupid question but I was hours searching the Internet and found nothing. What i wanna do is to pre-process a session attribute and then show a popup window with the result. My code is as follows: Set Trazability "srd_tree"

[S2] formatting informations in properties files

2007-10-02 Thread setecastronomy
In my jsp pages I often need to limit the number of decimals and I learnt how to create a properties file with the same name of the action and use the s:text tag: I ended up with many properties files which have most the same formatting informations. I wonder if there is a smarter and centrali

how to get a dynamic form bean object if it's not linked to the action

2007-10-02 Thread Leo Asanov
Hi, I've got the survey-like application. Survey is divided into several pages and each of those is represented by a dynamic action form. All forms are stored in the session. Once survey is completed it's stored in the database and anyone can go back at any time, retrieve his/her results, change