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

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

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

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: [shale] Is there a Dialog Scope?

2006-06-05 Thread Rahul Akolkar
Profile" dialog. Look at the method bound to #{profile$edit.setup} and the views under /profile/profile*.jsp -Rahul Please let me know what I can do. Thanks, Adam Brod Product Development Team - To unsubscribe, e-m

Re: Struts Tag -

2006-06-05 Thread Rahul Akolkar
request.setAttribute(). That being said, its recommended to use JSTL and/or EL wherever possible. The JSTL equivalent would be: <%-- Do something --%> -Rahul [1] http://struts.apache.org/struts-action/struts-taglib/tlddoc/logic/match.html

Re: Problem with logic:iterate and List of Strings

2006-06-13 Thread Rahul Akolkar
wrapper for String with getter and setter. http://struts.apache.org/struts-action/struts-taglib/indexedprops.html -Rahul I searched the Mailing-List and googled around a bit, but didn't find something useful. Hope you can help me, Th

Re: web.xml specifications from 2.4 to 2.3

2006-06-14 Thread Rahul Akolkar
ts-action/struts-el/index.html -Rahul Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

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

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: 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#

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

Problem while deploying on Weblogic

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

[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

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

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 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

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: 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: 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: 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

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 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.

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:

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

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

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

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: 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

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: 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: 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-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]>

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: 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

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: 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: 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: 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: 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: [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

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]

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

RE: Tag-Library Errors

2006-03-06 Thread Ravikumar, Rahul \(Cognizant\)
Thanks for your help. Rahul Ravikumar Programmer analyst -Original Message- From: Patel, Dharmesh S [mailto:[EMAIL PROTECTED] Sent: Monday, March 06, 2006 6:40 PM To: R, Senthil Kumar (Cognizant); user@struts.apache.org; [EMAIL PROTECTED] Subject: RE: Tag-Library Errors You need to

Re: Loosely coupled pages and actions

2006-05-04 Thread Rahul Krishnarao Patil
Hi all , I want to Configuring datasource with tomcat for oracle . But i am not able to find any proper document for this configuration. Can anybody help me out . I am using Tomcat 5.5.16 and oracle 9i. Thanks and Regards, Rahul Patil

Submitting multiple select

2006-06-13 Thread Rahul Krishnarao Patil
Hi all , I want to submit multiple values in multiple select box . But when I invoke get on a bean , I only get single value can any body know the solution Thanks Rahul Patil.

<    1   2   3