Quick question on the patch for CVE-2018-11776

2018-09-03 Thread Akkina, Rahul Anand
be upgraded. Having said is our assertion on the affects of vulnerability correct ? Thanks, Rahul Anand Akkina

Facing Problem during Struts 2 Upgrade [upgrading from Struts 2.1.8 to Struts 2.3.24]

2015-12-27 Thread Rahul Singh
steps or help us to diagnose the problem. Regards, Rahul kumar Singh

Re: Rest + JSON

2014-02-26 Thread Rahul Tokase
Just a thought In struts2 json plugin we can have control using annotations. May be you can seek/find the same in rest plugin. On Wed, Feb 26, 2014 at 12:51 PM, Lukasz Lenart wrote: > 2014-02-25 19:08 GMT+01:00 Felipe Lorenz : > > Hi, > > > > I was not clear with my doubt. I dont´t want to use

Re: S2 custom authentication: remembering original request

2013-07-12 Thread Rahul Tokase
Hi Here is the way you can achieve this. You need to design login action to have the url 'redirectto' parameter which will holds the redirectaction. Upon login interception you will first check the login is done and then check for this parameter if there any value then simply forward to that action

Re: Struts 2 Rest Showcase Example : Issue in understanding code

2012-05-01 Thread rahul bhalla
http://viralpatel.net/blogs/2009/12/introduction-to-struts-2-framework.html I started learning from above tutorial i hope this will also help you to learn Struts2

Re: dynamic textfield

2012-04-23 Thread rahul bhalla
Apr 2012, at 04:59, rahul bhalla wrote: > > > hello > > I m rahul and i want to create dynamic text box using struts2 > > > > please suggest some direction so that i can proceed and one more thing is > > that, i m using key/value then how can i set the value to displ

dynamic textfield

2012-04-22 Thread rahul bhalla
hello I m rahul and i want to create dynamic text box using struts2 please suggest some direction so that i can proceed and one more thing is that, i m using key/value then how can i set the value to display on jsp page i m using some thing like this -- Regards Rahul Bhalla (9953225211)

Re: File Download with multiple files. Design question

2010-11-19 Thread Rahul Mohan
() with the session-id as a parameter whenever a session is invalidated. Deleting file after finish of streaming might not be a good idea, since it is very common to download the same file multiple times. - Rahul From: RogerV To: user@struts.apache.org Date: 19-11-2010 15:14 Subject: File

Re: How to get the value of Constants defined in struts.xml

2010-10-21 Thread Rahul Mohan
Just put an @Inject(name="MYCONSTANTVARIABLE") annotation on the setter in action class. - RM From: SudhirJava To: user@struts.apache.org Date: 21-10-2010 17:58 Subject: How to get the value of Constants defined in struts.xml I am sorry, if this thread is repeated. Please tell tell me h

Re: struts file tag "accept" attribute

2010-10-14 Thread Rahul Mohan
Most of the browsers do not support accept attribute correctly. I fixed this in my application using some javascripts triggered on change. From: cellterry To: user@struts.apache.org Date: 14-10-2010 15:48 Subject: struts file tag "accept" attribute Dear all, I find that accept attribute

Re: Store permanently file in temp directory

2010-10-13 Thread Rahul Mohan
details.html?groupId=struts&artifactId=struts&version=1.2.9&tab=DEPENDENCIES#tabs > > Dave > > On Wed, Oct 13, 2010 at 4:10 PM, Anjib Mulepati wrote: > >> I am not using common-fileupload library so do I have to write extra piece >> of code to delete? &g

Re: Store permanently file in temp directory

2010-10-13 Thread Rahul Mohan
> Does the (temporary!!) files get deleted automatically? I though that > we have to delete it with some additional code. > Can any one make clear on this. > Yes. On upload, the commons-fileupload library creates temporary files on the disk which are deleted on completion of the request. I

Re: Bizarre sporadic problem with streaming a stylesheet.

2010-09-20 Thread Rahul Mohan
Dave, Did you take a look at this request through Firebug? It might show some useful info. Also, is the content type proper (text/css) in the request header? I can't see you setting it anywhere. - Rahul From: Dave Belfer-Shevett To: user@struts.apache.org Date: 21-09-2010 10:07 Su

Re: Struts 2, Session Management and "WorkFlow".

2010-09-16 Thread Rahul Mohan
Roger, Can I simply mail the eclipse project to you? We can discuss the usage over email and get it running. I am planning to work on this over the next week and therefore we can actually release the plugin formally in a week or two. Regards, Rahul > rahulmohan wrote: > > >

Re: Struts 2, Session Management and "WorkFlow".

2010-09-16 Thread Rahul Mohan
> rahulmohan wrote: > > > > > > Exactly! I think scope plugin solves your problem. The conversation > > support in scope plugin is not as rich as that in seam, but can serve as > > the starting point. I have fixed a couple of bugs in the scope plugin and > > I am working on some enhancements

Re: Struts 2, Session Management and "WorkFlow".

2010-09-16 Thread Rahul Mohan
>> Doh! This wouldn't be the raison d'etre for the Scope plugin by any chance? Exactly! I think scope plugin solves your problem. The conversation support in scope plugin is not as rich as that in seam, but can serve as the starting point. I have fixed a couple of bugs in the scope plugin and

Re: Dojo datetimepicker problem

2010-09-09 Thread Rahul Mohan
Andi, I have noticed this happening once in a while in my app too. haven't investigated yet. Did you try to reproduce this with your browser cache turned off? /Rahul From: "Andreas Sachs" To: user@struts.apache.org Date: 08-09-2010 18:54 Subject: Dojo datetimepicker pr

Re: How do I get wibble[0][something]=blah to parse into an action?

2010-09-05 Thread Rahul Mohan
list to a list of a new container class which has the map in it (see code below). private List; class RowData { private Map cellData; } - Rahul From: Andy Chapman To: user@struts.apache.org Date: 04-09-2010 06:29 Subject: How do I get wibble[0][something]=blah to parse into an action

Re: Struts2 Dynamic Merge of two webform objects / join two objects in database

2010-09-03 Thread Rahul Mohan
to the JSP. On submission, the object is injected back into the action class from session before the params interceptor is invoked, which will update the same object from http request. So, basically its the same object that gets updated. Hope this works for you. - Rahul From: "R

Re: URL authentication

2010-08-09 Thread Rahul Mohan
to a particular resource. This can also be built into the same interceptor, but you will have to supply the authorization table somehow - usually from an LDAP or RDBMS. - Rahul From: Guy Thomas To: Struts Users Mailing List Date: 09-08-2010 11:47 Subject: URL authentication I am adding

Re: Reading input stream (xml)

2010-07-30 Thread Rahul Mohan
all the action controllers gets XML in the request. So, I may have to list down the controllers which gets the XML content in the request. -- AB On Fri, Jul 30, 2010 at 10:41 AM, Rahul Mohan wrote: > Think I understand your problem now. AFAIK Struts doesn't have any > available me

Re: Reading input stream (xml)

2010-07-29 Thread Rahul Mohan
d. 3. Put a custom servlet-filter in front of the struts controller to get the request data and re-pass it as a request parameter to struts. I prefer the first approach which is the easiest and does no harm. - Rahul From: Arun Kumar Boppudi To: Struts Users Mailing List Date: 30-07-2010

Re: Reading input stream (xml)

2010-07-29 Thread Rahul Mohan
string format. And I am not using multipart encoding. Just sending the XML content in POST body. -- AB On Thu, Jul 29, 2010 at 2:38 PM, Rahul Mohan wrote: > Arun, > > Are you doing a POST with multi-part encoding? If so, a solution similar > to file upload would work for you. If n

Re: Reading input stream (xml)

2010-07-29 Thread Rahul Mohan
Arun, Are you doing a POST with multi-part encoding? If so, a solution similar to file upload would work for you. If not, then the String in action-form approach that I posted earlier should work. - Rahul Mohan From: Arun Kumar Boppudi To: Struts Users Mailing List Date: 29-07-2010 13

Re: Reading input stream (xml)

2010-07-28 Thread Rahul Mohan
t for this requirement. - Rahul Mohan From: Arun Kumar Boppudi To: Struts Users Mailing List Date: 29-07-2010 10:32 Subject: Re: Reading input stream (xml) Actually, I am not uploading a file. I am creating XML from the data entered into the form and sending it to the action controller in the

Re: Reading input stream (xml)

2010-07-28 Thread Rahul Mohan
Doesn't this link (http://struts.apache.org/2.0.14/docs/file-upload.html) help you? From: Arun Kumar Boppudi To: Struts Users Mailing List Date: 28-07-2010 22:09 Subject: Reading input stream (xml) If we send XML content in the POST/PUT request to Struts action controller, how to read th

Re: Ajax Response - Array Objects

2010-07-15 Thread Rahul Mohan
Chris, Maps are serialized as 'name : value' pairs, whereas Lists are serialized as Arrays. Change your return type to a List and try. - Rahul From: "CRANFORD, CHRIS" To: Date: 15-07-2010 19:04 Subject: Ajax Response - Array Objects I cannot seem to get my Ajax requ

Re: Modify JSON Format?

2010-06-22 Thread Rahul Mohan
e the order available on client from the table declaration, so it should be easy. ) Regards, Rahul Mohan From: Ozu Natsu To: Struts Users Mailing List Date: 22-06-2010 20:57 Subject: Modify JSON Format? Hi, I am using JSON plugin to return data to JQuery DataTable, but format is not compa

Re: Jasper Report Problem in HTML format

2010-06-21 Thread Rahul Mohan
Looks like its a path issue. Please see if the image tags in the generated HTML point to the proper URL for images. From: Amol Ghotankar To: Struts Users Mailing List Date: 21-06-2010 17:21 Subject: Re: Jasper Report Problem in HTML format Dear List members, My problem is still not reso

Re: Encrypting parameters

2010-06-02 Thread Rahul Mohan
rol on the data based on the user credentials. cheers, Rahul Mohan From: Stephane Cosmeur To: Struts Users Mailing List Date: 03-06-2010 08:53 Subject: Encrypting parameters Hello, I would like to improve the security of my web application. My problem is I would like to encrypt the visible

Re: Struts : Maintaining state of the Form

2010-05-12 Thread Rahul Mohan
each page in the wizard is downloaded as an HTML fragment and added to the divs inside the main page. That way, the previous 'pages' are just hidden divs and to go 'back' just unhide the previous div. ( Think of it as an Ajax based tabbed pane without the tab buttons. ) - r

Re: Partial Validation

2010-04-27 Thread Rahul Mohan
the getValidator to return only the applicable validators for the current method by processing the annotations. I can share this code if anyone is interested. - Rahul From: Wes Wannemacher To: Struts Users Mailing List Date: 27-04-2010 21:12 Subject: Re: Partial Validation When you submit

Re: S2 validation without API ties

2010-04-26 Thread Rahul Mohan
. Lets S2 ( or rather xwork ) take care of the wiring. Essentially, building your framework using the underlying configurable interceptor stack mechanism. Does that answer your question? - Rahul From: Christopher Schultz To: Struts Users Mailing List Date: 27-04-2010 02:29 Subject: Re: S2

Re: JSON Plugin Question

2010-04-26 Thread Rahul Mohan
t possible way in jQuery would be http://api.jquery.com/jQuery.getJSON/ - Rahul From: Ozu Natsu To: user@struts.apache.org Date: 26-04-2010 20:02 Subject: JSON Plugin Question Hello, I am trying to use the JSON plug-in for the first time. I have a form that uses jquery to submit to a stru

Re: ajax method returning "login", how to do??

2010-04-23 Thread Rahul Mohan
Hi, You will have to handle the redirect on the client and not on the server when ajax is being used. Server should return some error_message or login page url back and the client should do something like this: if(return_text == 'Login') document.location = Hope this help

Re: Jquery autocomplete with struts2.

2010-04-23 Thread Rahul Mohan
suggest you post this to jquery forums. From: sharath karnati To: Struts Users Mailing List Date: 23-04-2010 19:56 Subject: Re: Jquery autocomplete with struts2. Hi All, In firebug console it is displaying data correctly(what I set in Action class), like I set one two three

Re: Jquery autocomplete with struts2.

2010-04-22 Thread Rahul Mohan
} --- Struts XML options --- JS & HTML $().autocomplete( { source: 'your-urlbase/GetMasterData'}); - rahul From: s

Re: Action result to go nowhere

2010-04-22 Thread Rahul Mohan
10 15:17 Subject: Re: Action result to go nowhere *I do not want to go to some result page * *On return INPUT** * *No result defined for action com.upasana.action.ComAction and result input* :) On Thu, Apr 22, 2010 at 3:13 PM, Rahul Mohan wrote: > Try 'return INPUT'. >

Re: Action result to go nowhere

2010-04-22 Thread Rahul Mohan
Try 'return INPUT'. - rahul From: Upasana Sharma To: Struts Users Mailing List Date: 22-04-2010 15:08 Subject: Re: Action result to go nowhere hi thanks for your response.I tried that But my browser goes to some blank page with that respective action name as the url. It does no

Partial Validation

2010-04-21 Thread Rahul Mohan
t the entire page to be validated. I am using annotation for validation. Regards, Rahul =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemin

Re: help - pagination using struts2

2007-11-16 Thread rahul sharma
deko babu, Cognizant people are supposed to be the experts therefore they should not ask for help like this. Unfortunately, I am also looking for the same answer --- [EMAIL PROTECTED] wrote: > > HI > > I am not able to find out pagination using Struts2. > > Is there any tag lib ( which is simil

RE: Dont want fields to be reset in the case of error

2007-09-17 Thread Asthana, Rahul
I found a non elegant way of doing it. Was wondering if it was possible to do it through config. But this will do for now, Thanks.. -Original Message- From: Asthana, Rahul [mailto:[EMAIL PROTECTED] Sent: Monday, September 17, 2007 2:00 PM To: Struts Users Mailing List Subject: RE: Dont

RE: Dont want fields to be reset in the case of error

2007-09-17 Thread Asthana, Rahul
Sent: Monday, September 17, 2007 1:54 PM To: Struts Users Mailing List Subject: Re: Dont want fields to be reset in the case of error Why don't you want the reset? On 9/17/07, Asthana, Rahul <[EMAIL PROTECTED]> wrote: > > Hi, > In case ActionForm validate function throws an err

Dont want fields to be reset in the case of error

2007-09-17 Thread Asthana, Rahul
Hi, In case ActionForm validate function throws an error,I dont want form fields to get reset. How can I do this? Thanks Rahul

Problem with stripping the .jsp part from the forward

2007-09-14 Thread Asthana, Rahul
of anything from on top of their head,that would be great. If not I would provide more code. Thanks Rahul

RE: struts1 or struts 2?

2007-08-10 Thread Asthana, Rahul
quite well. By the way, have any of you done any performance metrics on an ajax based implementation vs a non ajax based one? rgds Rahul -Original Message- From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] Sent: Thursday, August 09, 2007 10:25 AM To: Struts Users Mailing List Cc: Struts Users

RE: struts1 or struts 2?

2007-08-08 Thread Asthana, Rahul
Thanks Paul and Frank for the books. I used some AJAX in a project, and I had made a mental note to myself(though I dont remember why,exactly, hehe) that for data calls that do not change the content of the page => ajax.For calls that may result in the way a page can be rendered => new left nav,

RE: struts1 or struts 2?

2007-08-08 Thread Asthana, Rahul
Hi Ted/Frank, Is there a more detailed post/article that you have done regarding this architecture? Thanks Rahul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Ted Husted Sent: Wednesday, August 08, 2007 12:27 PM To: Struts Users Mailing List Subject: Re

RE: Need to forward to Nothing

2007-07-26 Thread Asthana, Rahul
Forward to null has worked for me in struts 1.2.x. -Original Message- From: Manisha M Sathe [mailto:[EMAIL PROTECTED] Sent: Thursday, July 26, 2007 11:48 AM To: user@struts.apache.org Subject: Need to forward to Nothing The action class does not forward to anything - it's like killing t

Validation of DynaValidatorForm with String array

2007-07-17 Thread Rahul Joshi
for only limited size of array, in this case for only two indexes. Any suggestion is appreciated. Thanks -Rahul

Re: [OT] recommendations on workflow engines..

2007-06-04 Thread Rahul Akolkar
5 (for production) are there any comparison articles or recommendations (like why NOT to use jbpm?). Sorry, haven't used either. Depending upon the requirements, Commons SCXML [1] could be another candidate. Here is the mailing lists information [2]. -Rahul [1] http://jakarta.apache.org/common

RE: Book recommendations for performance tuning

2007-03-21 Thread Asthana, Rahul
of that particular section.You dont want to spend hours tuning Java code when the problem lies in a different layer. I find this prioritization of the object of tuning more important than the tuning itself, which in most cases is trivial. Thanks, Rahul -Original Message- From

RE: Cross site scripting issue

2007-03-14 Thread Asthana, Rahul
Check for a predefined pattern of characters in a filter,as you have suggested, (probably read from xml) and forward to an error page if you find any. -Original Message- From: rapsy [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 14, 2007 3:50 PM To: user@struts.apache.org Subject: Cross

Repeat Question: Struts Profiling

2007-02-27 Thread Rahul Patel
Anybody use a good profiling tool with Struts/ Web Application? This is a repeat question. Is this not the forum for these kind of questions? -RP

Profiling Struts Application

2007-02-22 Thread Rahul Patel
Does anyone know of any article/document that will allow me to profile a Struts application? I am still using Struts 1.1 with Eclipse 3.1 as IDE. I tried TPTP but couldn't figure out how to use it for a web app. Thanks, Rahul

s2 and AJAX

2007-01-29 Thread Asthana, Rahul
and just make AJAX requests for fetching data. Any pointers to design guidelines will be appreciated. TIA Rahul

[s2] Debugging and profiling

2007-01-26 Thread Asthana, Rahul
re to read about this? TIA Rahul

FW: Moving from struts-1 to struts-2 or spring mvc

2007-01-10 Thread Asthana, Rahul
Struts-1 as in which version? Why do you want to migrate in the first place? -Original Message- From: Zsolt Koppany [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 10, 2007 10:55 AM To: Struts Users Mailing List Subject: Moving from struts-1 to struts-2 or spring mvc Hi, we have a pr

additional scope of a variable

2007-01-04 Thread Asthana, Rahul
s tags as well. Can struts choose to implement something like this;I am sure this should be a very common requirement. Thanks Rahul - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

using 1.2.4 and s2 together

2007-01-02 Thread Asthana, Rahul
?)? What are the possible issues? TIA Rahul

RE: Performance issue

2007-01-02 Thread Asthana, Rahul
Assuming the lists are user dependent.. 1)You should run some profiling and load tests.There may be no performance issue in the first place. 2)Keep the actual content of the lists in application scope and only the ids in session.Lets say you have to show {"New York","London",Toronto"}; keep an in

RE: Struts2, Shale, Seam, pure JSF - what to use?

2006-12-19 Thread Asthana, Rahul
The roadmap has info pertaining to this thread. http://struts.apache.org/roadmap.html -Original Message- From: robin bajaj [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 19, 2006 6:04 PM To: Struts Users Mailing List Subject: Re: Struts2, Shale, Seam, pure JSF - what to use? Hi there,

[s2]Portlet support

2006-12-19 Thread Asthana, Rahul
Hi, I dont know anything about portlets,but our project may have to migrate to it in future..This line is from the "Struts 2" features.What does it mean? "Easy portlets - Automatic portlet support allows portal and servlet deployments with no code changes." thanks Rahul

RE: Struts Tiles question re menus

2006-12-12 Thread Asthana, Rahul
Adam, Yes indeed a controller is more suitable here.The TilesAction approach is useful when a radically different layout is required depending on a condition. rgds Rahul -Original Message- From: Adam Gordon [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 12, 2006 5:44 PM To: Struts

RE: Struts Tiles question re menus

2006-12-12 Thread Asthana, Rahul
Look at "5.2.2 One Controller - Multiple Views" in http://www2.lifl.fr/~dumoulin/tiles/tilesAdvancedFeatures.pdf This allows you to choose layouts on the fly. This can also be done by using just an org.apache.struts.tiles.Controller. -Original Message- From: Adam Gordon [mailto:[EMAIL PR

Re: Query regarding file upload

2006-12-10 Thread Rahul Joshi
Does anyone has an example ?? On 12/8/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: You would have to control this on the client end, perhaps using javascript to break the transaction into two HTTP requests. > -Original Message- > From: Rahul Joshi [mailto:[EMAIL PROTE

Query regarding file upload

2006-12-08 Thread Rahul Joshi
sm by which I can verify the request/token first then only start uploading the content of the file. -Rahul -- Thanks & Regards --RahulJoshi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [s2] First try : failed to run mailreader-2.0.1

2006-12-06 Thread Rahul Akolkar
tad trickier [1] (and that reference covers only Sun JDKs). -Rahul [1] http://java.sun.com/j2se/1.5.0/docs/guide/xml/jaxp/JAXP-Compatibility_150.html 2006/12/6, nicolas de loof <[EMAIL PROTECTED]>: > > Hello, > > I'd like to install Struts 2.0.1 apps as a live-demo to

RE: The first request

2006-12-05 Thread Asthana, Rahul
Look at org.apache.struts.tiles.Controller I couldnt find a decent example though. Here is an article. http://www.theserverside.com/tt/articles/article.tss?l=Tiles101 That of course means that you will have to use Tiles. -Original Message- From: Thom Burnett [mailto:[EMAIL PROTECTED] Se

RE: The first request

2006-12-05 Thread Asthana, Rahul
Actually org.apache.struts.tiles.Controller is called just before the tile is inserted, and that would be after the action forwards to the JSP.That may not satisfy your requirement. -Original Message- From: Asthana, Rahul [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 05, 2006 3:13

RE: Autocomplete attribute in Struts tags

2006-12-04 Thread Asthana, Rahul
the browser options, I am not sure of any way to keep this from happening. But then, I am very much a novice at forms and browsers. Al Asthana, Rahul wrote: > Extend html:text to support "autocomplete"? > > -Original Message- > From: grifoxx [mailto:[EMAIL PROTE

RE: Autocomplete attribute in Struts tags

2006-12-04 Thread Asthana, Rahul
Extend html:text to support "autocomplete"? -Original Message- From: grifoxx [mailto:[EMAIL PROTECTED] Sent: Monday, December 04, 2006 3:43 PM To: user@struts.apache.org Subject: Autocomplete attribute in Struts tags Hi I am developing a web application that allow the user to make onlin

Re: Multiple struts apps

2006-12-04 Thread Rahul Patel
allow(s) me to understand the relation between session/sessionId and the host IP, port etc. -Rahul On 12/4/06, Nitin M. Mandolkar <[EMAIL PROTECTED]> wrote: Hi Rahul what don't you use single sign on. I do;t know very much about single sign on but it will reslove your problem. nitin

RE: tiles: error

2006-12-04 Thread Asthana, Rahul
This error comes due to a variety of reasons.There may be a bean in one of your tiles that is null and preventing that tile from displaying.If I cant infer anything from the log,I remove everything from the JSP and add incrementally to find out the code block that is the root cause.Hope this hel

Multiple struts apps

2006-12-02 Thread Rahul Patel
page. But, then when I click on anything else in my first app, it takes me to its login page as well. In short, the session is destroyed in between. Is there a way to resolve this? Thanks, Rahul

RE: Newbie question about using beans in html:link tags

2006-11-30 Thread Asthana, Rahul
: Struts Users Mailing List Subject: Re: Newbie question about using beans in html:link tags My search returns multiple rows (as seen in the for loop).. How can I possibly have a session when I dont know what link the user is going to click? On 11/29/06, Asthana, Rahul <[EMAIL PROTECTED]>

RE: Newbie question about using beans in html:link tags

2006-11-29 Thread Asthana, Rahul
passing it through URL encoding. Cheers Rahul -Original Message- From: priya [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 29, 2006 4:23 PM To: Struts Users Mailing List Subject: Re: Newbie question about using beans in html:link tags Hi Rahul, I was trying to reduce the amount of

RE: Newbie question about using beans in html:link tags

2006-11-29 Thread Asthana, Rahul
Would you mind using jstl? Caveat: I havent used it myself.But I remember having come across code like that. AFAIK, html:link doesnt support passing multiple params except by a Map. -Original Message- From: priya [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 29, 2006 3:25 PM To:

RE: Simple java question

2006-11-14 Thread Asthana, Rahul
place in this List.:-) Cheers Rahul -Original Message- From: temp temp [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 14, 2006 3:14 PM To: user@struts.apache.org Subject: Simple java question I declared a private global field called aField. The same variable I

RE: RE: Input and results on the same JSP

2006-11-09 Thread Asthana, Rahul
AJAX is very simple and does not need any special serverside support. http://www.maxkiesler.com/index.php/weblog/comments/make_an_ajax_website_in_less_than_10_minutes/ -Original Message- From: robin bajaj [mailto:[EMAIL PROTECTED] Sent: Thursday, November 09, 2006 4:04 PM To: Struts Users

Struts 2 and JSTL

2006-11-09 Thread Asthana, Rahul
Hi All, Is JSTL and JSTL EL the library and expression language of choice in Struts 2? I read about OGNL somewhere.What library does it use? What are its advantages over JSTL? regards Rahul

RE: Confused by issue with being directed to index.jsp

2006-11-09 Thread Patel, Rahul
Thanks Laurie! That was it. I had a busy box in a javascript on the page and the src property of the images in there was set to '' (i.e. blank). Thanks a lot. -Rahul -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper Sent: Wednesday, Novembe

Re: confused with redirects

2006-11-09 Thread Rahul Patel
e: Please reply with the entire index.jsp content and tell us what version of Struts you are using. I assume 1.2.x, and so I'm not sure what html:redirect is. -- James Mitchell 678.910.8017 On Nov 9, 2006, at 6:36 AM, Rahul Patel wrote: > Hi All, > > I have a very confusing issue

confused with redirects

2006-11-09 Thread Rahul Patel
what the current jsp (that the user had requested) did. Any help or direction is appreciated. Thanks, Rahul

Confused by issue with being directed to index.jsp

2006-11-08 Thread Patel, Rahul
aring up what the current jsp (that the user had requested) did. Any help or direction is appreciated. Thanks, Rahul == Please access the attached hyperlink for an important electronic communications disclaimer:

Re: Struts 2.0 Mialing List

2006-10-28 Thread Rahul Akolkar
On 10/28/06, Mike Duffy <[EMAIL PROTECTED]> wrote: Does anyone know if there will be a new mailing list for Struts 2.0? No, AFAIK this is the one. Many use prefixes to email subjects, eg. [Struts2] or [S2] for Struts 2.0. -Rahul Thx.

unit testing struts actions

2006-10-26 Thread Asthana, Rahul
We are thinking of designing a unit test plan for our struts based application. We have found in past that Junits for struts action are cumbersome to write and difficult to maintain.Any other suggestions? Winrunner?

Re: Struts & Workflow

2006-10-18 Thread Rahul Akolkar
XML vocabularies (namespaces) that allows the Commons SCXML engine to carry out domain-specific actions. One of the working examples is an impl for Shale dialogs [2] (which were mentioned below). -Rahul [1] http://jakarta.apache.org/commons/scxml/ [2] http://shale.apache.org/shale-dialog/ For p

RE: Two drop downs, and I need that the contents of the second dependent on the value selected in the first!!!

2006-09-19 Thread Asthana, Rahul
Could you set a hidden parameter before submitting- And write code in the function setDependentList() of the LookupDispatchAction Here i am assuming document.forms[0].operation is the name of the property the DispatchAction expects. -Original Message- From: Domingo A. Rodriguez

RE: dependent drop down lists

2006-09-15 Thread Asthana, Rahul
Other option is 1-Store all the data in tokenized form in a hidden variable. something like this- a1|b1|[EMAIL PROTECTED]|b2|c2@ "|" and "@" are delimiters. 2-Use javascript split function on the onchange of first list and create the second list with javascript -Original Message- From:

RE: Redirect from tile controller

2006-09-15 Thread Gupta, Rahul
ry response - someone suggested that it might be on the request - it wasn't. -adam Gupta, Rahul wrote: > Hi, > > I have a layout JSP (layout.jsp) with two tiles. I am using tile > controllers to populate data to be displayed in each tile. Code is > specified below. If an exc

RE: struts issue...

2006-09-15 Thread Asthana, Rahul
The code posted by punit works.The only problem is that suppose the user clicks on submit and for some reason stops the form from submitting through the browser controls(it happened with me, some users did it apparently because it was taking a long time), then the form would never be submitted a

Redirect from tile controller

2006-09-15 Thread Gupta, Rahul
Hi, I have a layout JSP (layout.jsp) with two tiles. I am using tile controllers to populate data to be displayed in each tile. Code is specified below. If an exception is thrown by 2nd tile controller, is there a way to redirect to a completely new JSP (say error.jsp), instead of displaying the

RE: [struts 1.2.4] Problem with DispatchAction

2006-09-12 Thread Asthana, Rahul
FYI setting validate="true" makes the whole thing work somehow. -Original Message- From: Asthana, Rahul [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 12, 2006 11:47 AM To: user@struts.apache.org Subject: [struts 1.2.4] Problem with DispatchAction Hi All, Actio

[struts 1.2.4] Problem with DispatchAction

2006-09-12 Thread Asthana, Rahul
. As soon as I make this entry in struts-config.xml - The methods in DispatchAction are not called any more. Any help would be appreciated. TIA Rahul

Problem while deploying on Weblogic

2006-09-08 Thread Asthana, Rahul
/WEB-INF/struts-html.tld" prefix="html" %> Please advice. TIA Rahul

Sharing variables between Tiles

2006-09-06 Thread Gupta, Rahul
Hi, I have a page with three tiles. Is there a way to share a variable between these tiles? I want to set the variable in one tile and access its value in the other two tiles. I don't know if it is relevant - I am using tile controllers to populate data needed by each of the tiles to draw that til

Re: Reload Message resources i.e Resource Bundle

2006-08-17 Thread Rahul Akolkar
On 8/17/06, Harsh Gupta <[EMAIL PROTECTED]> wrote: How to Reload Message resources i.e Resource Bundles in struts 1.1??? Create a "reloadable" message resources factory, see factory attribute [1] of -Rahul [1] http://struts.apache.org/1.x/userGuide/configuration.html#

Re: [OT]Scriptlets

2006-08-16 Thread Rahul Akolkar
always another go ;-) I dont have singnificant experience in JSP so i dont know, but for all you experinced JSP programmers, is no scriptlets the way forward?? Yes, for reasons such as avoiding a heterogeneous programming model, improving readability etc. -Rahul Thanks for your responses. --

Re: Using bean:message from non-struts servlet

2006-08-15 Thread Rahul Akolkar
ag are being populated, I simply don't know where. If your not in the Struts realm, use the JSTL format taglib (you may use it even if you are). The implementation details of the bean taglib depend on Struts specific APIs, such as MessageResources. -Rahul On 8/15/06, Puneet Lakhina <[E

  1   2   3   >