s2 and tomcat configuration

2008-10-01 Thread Hardik Shah
hi i am using tomcat 5.0.30 and java 5 ,but when i import s2.0.11.2 apps.war either mail reader or blank it can not be run gives http status 404 i dont know why? please help me - Java/J2EE developer India blogs http://hardik4u.wordpress.com wordpress blog -- View this message in

Re: s2 and tomcat configuration

2008-10-01 Thread Hardik Shah
i am using tomcat manager to upload war fle newton.dave wrote: > > How did you "import" the WARs? > > Dave > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > >

s2 and tomcat configuration

2008-10-01 Thread Hardik Shah
yap u right i have also use tomcat 5.5 with s2 and works fine in many projects but the thing is that my one live apps run on tomcat 5.0.30 with s1 and java 5 so i have to use same configuration with struts 2 migration thanks newton.dave wrote: > > --- On Wed, 10/1/08, Hardik Shah

Re: s2 and tomcat configuration

2008-10-01 Thread Hardik Shah
Thanks for showing interst 2008-10-01 16:54:48 StandardContext[/balancer]org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redire

use property of iterator

2008-10-04 Thread Hardik Shah
how to use iterator property as variable suppose <%int prevAttrId=-1; %> after each iteration i want t

Re: use property of iterator

2008-10-05 Thread Hardik Shah
can i use vector of vector for iterating - Java/J2EE developer India blogs http://hardik4u.wordpress.com wordpress blog -- View this message in context: http://www.nabble.com/use-property-of-iterator-tp19810685p19831975.html Sent from the Struts - User mailing list archive at Nabbl

how to pass parameter in next action

2008-10-06 Thread Hardik Shah
can anybody say how to pass or push parameter in valuestack and get it from another action in struts 2 really confused with all valuestack stuff suppose i have /attribute/AttribComboValue.jsp

Re: how to pass parameter in next action

2008-10-06 Thread Hardik Shah
ct-action">AddComboValue?parm1=${value} > > > append the actionName "AddComboValue?parm1=${value}", but no ".action". > It's OK! > > > On Tue, Oct 7, 2008 at 1:22 PM, Hardik Shah <[EMAIL PROTECTED]> wrote: > >> >> can

Re: hw to use if tag

2008-10-07 Thread Hardik Shah
wrote: > > Hi, > > in your test condition, struts doesn't understand that attrMatrixValue > is a property, you should write something like : > > Using '%{' means that the expression have to be evaluated. > > Regards > > Sébastien > > Hardik

hw to use if tag

2008-10-07 Thread Hardik Shah
hi i have vector of vector and i can easily iterate using in between but the problem is that some of the element in vector of vector is null like

wait interceptor

2008-10-07 Thread Hardik Shah
it is possible to show wait.jsp in s2.0.11 between from one action to another execution process (means show my wait.jsp when action is on process) -- View this message in context: http://www.nabble.com/wait-interceptor-tp19872439p19872439.html Sent from the Struts - User mailing list archive at

can not detect s:url tag when prints dynamically

2008-10-14 Thread Hardik Shah
hi i have used struts 2.0.11.2 and creating menu using yui(not metter what) when i put something like (this thing print in url) i could not understand what is problem help me -- View this message in context: http://www.nabble.com/can-not-detect-s%3Aurl-tag-when-pr

change border of field when error comes(Custom CSS)

2008-10-16 Thread Hardik Shah
hi i am using simple theme for struts 2.0.11.2 i have define also works fine , but i want to change border color of particular field when error comes can anybody gives idea thanks in advance -- View this message in context: http://www.nabble.com/change-border-of-field-when

change border of field when error comes(Custom CSS)

2008-10-16 Thread Hardik Shah
hi i am using simple theme for struts 2.0.11.2 i have define also works fine , but i want to change border color of particular field when error comes can anybody gives idea thanks in advance -- View this message in context: http://www.nabble.com/change-border-of-field-when

Re: Hibernate and Struts

2008-10-16 Thread Hardik Shah
hope this help to you http://hardik4u.wordpress.com Anoop-9 wrote: > > Hi, > We are looking forward to integrating struts with hibernate in our web > application project. Could you guide us on how to to integrate them. I > tried the hibernate plugin as recommended on the hibernate website, >

Re: change border of field when error comes(Custom CSS)

2008-10-16 Thread Hardik Shah
thanks i dont know how to create custom theme for that but i have done manually <s:iterator value="fieldErrors"> #<s:property value="key"/>, </s:iterator> { border-color: #FFE6F7; } Torsten Krah wrote: > > Am Donnerstag, 1

Re: Struts2+YUI

2008-10-16 Thread Hardik Shah
hi you can use for getting array list of valuestack but you should setter and getter for this arraylist for accessing it from jsp side shekher awasthi wrote: > > Hi All, > > I am trying to integrate struts2 with YUI ,but facing some problems with > this. I want that

RE: change border of field when error comes(Custom CSS)

2008-10-16 Thread Hardik Shah
(+9180)41190300 - 222(Ext) ll * ( + 91 ) 9731209330ll > > Tavant Technologies Inc., > > www.tavant.com > > PEOPLE :: PASSION :: EXCELLENCE > > > -Original Message- > From: Hardik Shah [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 16, 2008 4:03 PM > To: user@str

how to use struts.serve.static

2008-10-17 Thread Hardik Shah
hi i have change this property to false and copy static folder in /struts/ but it doesnt work ,i dont know why any body gives me idea? trying to use performance tuning concept in struts docs help me -- View this message in context: http://www.nabble.com/how-to-use-struts.serve.static-tp200

sitemesh and frame

2008-11-03 Thread Hardik Shah
can anybody give me sitemesh and frame example frame is not showing while i am using with sitemesh is there any specific settings? please help me -- View this message in context: http://www.nabble.com/sitemesh-and-frame-tp20299797p20299797.html Sent from the Struts - User mailing list archive

About incresing file upload size in Struts 2

2008-11-21 Thread Hardik Shah
can anybody give me detailed configuration to increase size of file upload in struts 2.0.11.2 please help me -- View this message in context: http://www.nabble.com/About-incresing-file-upload-size-in-Struts-2-tp20633816p20633816.html Sent from the Struts - User mailing list archive at Nabble.co

Performance issue

2008-12-10 Thread Hardik Shah
hi i have use struts 2.0.11.2 and sitemesh for my project it all works fine but it kills performance i can not fiind where the problem,so i am write here ,it might somebody help me i am opening new window using javascript str="ViewWorkspaceUserRights.do?workSpaceId="+workSpaceId+"&userCode=

Re: Performance issue

2008-12-13 Thread Hardik Shah
Thanks For Showing interest ,but i dont know how to turn on profiliing ,please help me i think its takes data from database in real speed but when trying to display in new browser window takes time,i dont think time spent in action processing Thnaks Hardik Hi Hardik, what takes this time,

about s:iterator

2009-02-20 Thread Hardik Shah
hi i am using struts 2.0.11.2 i m filling vector somthing like while (rs.next()) { Object [] record = { new Integer(rs.getInt("NodeId")), // Node Id rs.getString("NodeDisplayName"),

Re: about s:iterator

2009-02-20 Thread Hardik Shah
Java. So, with something like that it should work : > > > > > > > Regards > > Sébastien > > Hardik Shah a écrit : >> hi >> i am using struts 2.0.11.2 >> >> i m filling vector somthing like >> >> while (rs.next()) { >&

Re: about s:iterator

2009-02-20 Thread Hardik Shah
yap you right newton.dave wrote: > > > > Maybe try [0][n]? > > But yuck... That's a horribly brittle way to write code. At *least* use > a map so you don't have to rely on positioning :/ Consider using an > actual object, as well, thus eliminating the bulk of this question. > > Dave >

Re: about s:iterator

2009-02-21 Thread Hardik Shah
> > If you want more examples, you should go [1] and see the third example. > > Regards > > [1] : http://struts.apache.org/2.x/docs/iterator.html > > > > Hardik Shah a écrit : >> Thnaks >> >> but when i print like >> >> >> >

sitemesh +yui problem

2008-08-19 Thread Hardik Shah
i am trying to use several yui elements in strtus 2.0.11.2 problem is that it can not get its styles (for exp tab shows only in link format ,it can not use tabview.css) when i try to exclude action like cflist.do in decorators.xml then yui works fine (bt my constant view also exclude) i can n

Re: [OT] Re: sitemesh +yui problem

2008-08-19 Thread Hardik Shah
hi first of all *sir* i really say to thanks about showing interst infact in past i have developed one app using struts 2+sitemesh +BIRT and i got lots of help from you and currently it is works fine Jeromy Evans - Blue Sky Minds wrote: > > It's really a sitemesh question. > > In sitemesh

struts-hibernate-mysql date problem

2008-08-22 Thread Hardik Shah
hi i am using hibernate 3 with s2 my problem is that im mysql table i have field of date type so i have set type date in hb mapping.xml and in pojo(if i am set as string in pojo and mapping file it gives error ) now i have to set date in input as format mm/dd/yy so mysql accepts it automati

realm use in s2

2008-08-26 Thread Hardik Shah
hi i am trying to use jdbc realm with s2 for that i have configured like that i am using eclipse ,so i have changed in server project 's server.xml file like this (first disable the userdatabase realm) and then applying after that i have change in my project's web.xml file like that ---

how to set remoteuser

2008-08-26 Thread Hardik Shah
hi we can get remoteuser using request.getremoteuser() but how we can set it? - Java/J2EE developer India blogs http://hardik4u.wordpress.com wordpress blog -- View this message in context: http://www.nabble.com/how-to-set-remoteuser-tp19174978p19174978.html Sent from the Struts - Use

Re: how to set remoteuser

2008-08-26 Thread Hardik Shah
Jeromy Evans - Blue Sky Minds wrote: > > > A better approach is to use the container's authentication as intended > so the remoteUser is managed by it.. > > i think u are saying about jdbc realm for container's authentication! - Java/J2EE developer India blogs http://hardik4u.wo

Re: how to set remoteuser

2008-08-26 Thread Hardik Shah
my first and last goal about that i want to maintain single sign on without storing user information in session i have also integrated hibernate with it ,can i use for achieve somthing like or not? - Java/J2EE developer India blogs http://hardik4u.wordpress.com wordpress blog -- View

Re: how to set remoteuser

2008-08-26 Thread Hardik Shah
Jeromy Evans - Blue Sky Minds wrote: > > Correct. It's not as bad as it first seems if you manage the entries in > the two tables (for tomcat) yourself. > Otherwise the next step is a third party library like Spring Security. > > > try to use jdbcrealm but when submit gives error like H

Re: how to set remoteuser

2008-08-27 Thread Hardik Shah
Jeromy Evans - Blue Sky Minds wrote: > > > > Do you mean single sign-on as in across multiple domains or webapps? If > so, this will probably be container specific. > > If you mean a stateless authentication approach (ie. they sign in once, > then each subsequent request includes the credent

Re: how to set remoteuser

2008-08-27 Thread Hardik Shah
Jeromy Evans - Blue Sky Minds wrote: > > Yes, others definitely use it with S2 and Spring. It takes substantial > amount of effort to learn. You may have to ask for specific help about > that after going through the tutorials. > > yes you are right ,i have just seen that ,it might be took

Re: how to set remoteuser

2008-08-27 Thread Hardik Shah
yes :-) you are right ! i just confused bcoz showing various aspects :confused::confused: Jeromy Evans - Blue Sky Minds wrote: > > > he he, that's also a major decision if you want to go down that path. > I don't recommend jumping after whichever approach seems least effort > (btw, your orig

Re: Struts 2 & Hibernate Examples?

2008-09-02 Thread Hardik Shah
you can get war of s2-h3 from http://www.learntechnology.net/content/struts2/struts2_hibernate.jsp another my blog from now http://hardik4u.wordpress.com/category/j2ee/ hope this will help - Java/J2EE developer India blogs http://hardik4u.wordpress.com wordpress blog -- View thi

Re: help required to install struts 1.2 plugin for eclipse 3.2

2008-09-02 Thread Hardik Shah
hi i am not well experienced ,but still i want to say my idea, why you require struts plugin for eclipse i never used that,there is a strtus-blank.war,like starter of any project you can just import it as war and start project infact i have created my own struts-sitemesh-yui-hibernate integratio