One of link is not working in Core Developers Guide

2012-02-13 Thread mohan rao
the following link is not working please fix it struts.apache.org/2.x/docs/type-conversion.html -- View this message in context: http://struts.1045723.n5.nabble.com/One-of-link-is-not-working-in-Core-Developers-Guide-tp5479933p5479933.html Sent from the Struts - User mailing list archive at Nabbl

Re: Struts2 ScopeInterceptor scope.type end problem

2011-12-13 Thread mohan rao
Once you action execution is done all the valueStack objects will be cleared. This is might be causing the problem. And can you please elaborate your requirements. -- View this message in context: http://struts.1045723.n5.nabble.com/Struts2-ScopeInterceptor-scope-type-end-problem-tp5058274p50607

Re: struts2 string to map conversion

2011-12-13 Thread mohan rao
Parameters will returns String[] but not string check out that might be causing the problem. -- View this message in context: http://struts.1045723.n5.nabble.com/struts2-string-to-map-conversion-tp5052114p5060791.html Sent from the Struts - User mailing list archive at Nabble.com. --

Re: How to compare string reference variables using ognl?

2011-12-13 Thread mohan rao
Thanks for your response, if i put that same thing will happen. First the expression is evaluated after that is going to processed. I want to know whether the expression is true or false. After that i will use tag. -- View this message in context: http://struts.1045723.n5.nabble.com/How-to-com

Re: How to compare string reference variables using ognl?

2011-12-12 Thread mohan rao
It supposed to print true or false. But not printing any value Printing false even they are same. (I think it's checking reference.) -- View this message in context: http://struts.1045723.n5.nabble.com/How-to-compare-string-reference-variables-using-ognl-tp5060783p5067525.html Sent from th

How to compare string reference variables using ognl?

2011-12-12 Thread mohan rao
Please delete my previous thread my query was not posted completely. T/F Nothing is printing. T/F Always printing false even both are having same values. Thanks. -- View this message in context: http://struts.1045723.n5.nabble.com/How-to-compare-string-reference-variables-using-ognl-tp5067

How to compare string reference variables using ognl?

2011-12-08 Thread mohan rao
Even if the both values are same it's giving false. It's giving true only when both are pointing to null. And even i tried following as well Thanks. -- View this message in context: http://struts.1045723.n5.nabble.com/How-to-compare-string-reference-variables-using-ognl-tp5060783p5060

How do i redirect to another action in filter?

2011-09-16 Thread mohan rao
Hi, As per my requirement i'm overriding prepareandexecture filter. I'm restricting the user from un accessable actions he might be book marked it before. I don't want to this in interceptor. I want to decide it on filter itself because i can reduce some processing. I tried with RequestDispatc

How do i test Struts 2 jsp page rendering time.

2011-09-13 Thread mohan rao
Hi, I want to test jsp page rendering time used struts-tags. I put a log message at the end of the action class before returning result and again at first calling interceptor because it will be executed last. And after result is sending all the interceptors will be executed in reverse order. A

Doubt on Accessing Session from ActionContext

2011-09-05 Thread mohan rao
You can obtain the request by asking the ActionContext or implementing ServletRequestAware. Implementing ServletRequestAwareis preferred. *why it's not preferable accessing through ActionContext even though it's thread safe. If it's true why we need session,request,response,params interceptors*

Re: Doubt on Struts 2 Architechture

2011-07-25 Thread mohan rao
On Mon, Jul 25, 2011 at 9:58 AM, mohan rao [via Struts] < ml-node+4629574-1865382249-219...@n5.nabble.com> wrote: > suppose, i'm not using timer interceptor and suppose i'm using timer > interceptor then in such a case that interceptor only triggered but it's >

Re: Doubt on Struts 2 Architechture

2011-07-25 Thread mohan rao
suppose, i'm not using timer interceptor and suppose i'm using timer interceptor then in such a case that interceptor only triggered but it's executing all interceptor in reverse order once again in post processing. why? -- View this message in context: http://struts.1045723.n5.nabble.com/Doubt-o

Re: struts2 There is a bug in FileUploadInterceptor (FileContentType).

2011-07-19 Thread mohan rao
can you please give me name that library jar file. -- View this message in context: http://struts.1045723.n5.nabble.com/struts2-There-is-a-bug-in-FileUploadInterceptor-FileContentType-tp4601250p4611321.html Sent from the Struts - User mailing list archive at Nabble.com. -

struts2 There is a bug in FileUploadInterceptor (FileContentType).

2011-07-18 Thread mohan rao
I'm trying to rescrit a file being Upload based on FileContentType. I'm facing browser compatability issue. Suppose if i have to allow only jar files (application/java-archive) but i'm getting different contentTypes for different browsers. Like x-zip compressed, application-octstream for the jar fi

Re: Doubt on Struts 2 Architechture

2011-07-18 Thread mohan rao
I was already posted my question http://www.coderanch.com/t/542088/Struts/struts-Architechture got zero response. -- View this message in context: http://struts.1045723.n5.nabble.com/Doubt-on-Struts-2-Architechture-tp4601232p4601242.html Sent from the Struts - User mailing list archive at Nabble.

Doubt on Struts 2 Architechture

2011-07-18 Thread mohan rao
Interceptors stack will be triggered before action class is executed and after the result. Why it's need to execute interceptors stack once again after result. I used all the interceptors before triggering an action and what's the purpose of calling these interceptors once again after action withou

Re: File Download with multiple files. Design question

2010-11-19 Thread Rahul Mohan
Roger, In my project, we implemented a FileManager for storing, retrieving and cleaning up files. On upload, the filemanager creates a temp file on disk and stores the file-URL in a map correlated with the session id. We also implemented a SessionListener which calls FileManager.deleteFiles()

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

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

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 problem Struts: 2.1.

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

2010-09-05 Thread Rahul Mohan
Hi Andy, This seems to be a problem with S2. ( See: http://struts-2.464677.n5.nabble.com/Ognl-problem-td1672158.html#a1672158 and http://www.mail-archive.com/user@struts.apache.org/msg96386.html ). I struggled with this for some time but finally went ahead with a work-around - changed the list

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

2010-09-03 Thread Rahul Mohan
Nicolas, I use the scope plugin ( https://cwiki.apache.org/S2PLUGINS/scope-plugin.html) for this. A bit heavy on the session memory, but suits my purpose. Put @InOut annotation on your model with scope set as session. This outjects the object loaded from DB into session just before forwarding t

Re: URL authentication

2010-08-09 Thread Rahul Mohan
I think we are mixing two issues here. Authentication deals with verifying whether a user is what he/she claims to be and authorization is the mechanism for checking whether someone has access to a particular resource. The standard practice is to prevent unauthenticated users from accessing a

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
this case, how can I get the posted XML contents? -- AB On Thu, Jul 29, 2010 at 5:59 PM, Rahul Mohan wrote: > Data goes in request body when you are posting a form. Post requests are > obviously handled by Struts. So it should work. ( Only you know that it is > XML, for Struts its just

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 request to return to the

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
Hi, I would recommend the first option. Session memory usage has a much bigger impact than multiple hits to the server as the memory usage grows linearly with the number of users. For retaining the previous view state, the best solution I have seen is to use a single page application, where ea

Re: Partial Validation

2010-04-27 Thread Rahul Mohan
nt that describes it. -Wes On Wed, Apr 21, 2010 at 3:35 AM, Rahul Mohan wrote: > Hi, > > Is there any way I can do a partial validation in Struts 2? I have a page > with two fieldsets, where I can either submit the entire page or submit > only the fieldset (through Ajax). In the latter

Re: S2 validation without API ties

2010-04-26 Thread Rahul Mohan
Chris, I think the fundamental mechanism of S2 is the configurable interceptor stack where each interceptor applies itself to the current action based on the interfaces the action implements. You can still reuse this mechanism by defining your own interceptor stack with your own interfaces. Let

Re: JSON Plugin Question

2010-04-26 Thread Rahul Mohan
Hi, Is your intention to show the message 'success' in the results div? In that case you don't need a JSON response. Also, is jsonData an instance variable of your action class. Otherwise, your json result will simply return an empty json. You can verify the response by opening the response i

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

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
Hope this helps: --- Action class //the options to be returned private String[] options; public void setOptions(String[] options) { this.options = options; }

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 not stick to t

Partial Validation

2010-04-21 Thread Rahul Mohan
Hi, Is there any way I can do a partial validation in Struts 2? I have a page with two fieldsets, where I can either submit the entire page or submit only the fieldset (through Ajax). In the latter case, I wish to validate only the fieldset's properties, but in the former case I want the entire

Re: Validation "Mask": unicode characters

2009-04-01 Thread Mohan Radhakrishnan
Since Struts 2 supports J2SE 5.0 all the validation( in-built ) etc. will inherently use J2SE 5.0's support for i18n. How is this done ? Thanks, Mohan -- View this message in context: http://www.nabble.com/Validation-%22Mask%22%3A-unicode-characters-tp14206855p22841840.html Sent fro

Re: struts2 and dojo

2009-03-10 Thread Mohan Radhakrishnan
newton.dave wrote: > > pascal.gehr...@freenet.de wrote: >> So please don't say that dojo-support is deprecated. This is wrong. Dojo >> just has moved!! > > Dojo is most certainly deprecated: deprecated means that support still > exists, but may, or will, stop being supported at some point in

Equivalent of immediate="true" in JSF

2009-03-10 Thread Mohan Radhakrishnan
they fail validation then showing old values in the browser could be a problem. 2. Binding values before they are validated means the responsibility to not use those values accidentally lies with the developer. What are the forum's ideas about this ? Thanks, Mohan -- View

Re: Struts 2 / Tiles 2 / Spring Security

2009-03-05 Thread Mohan Radhakrishnan
Actually I included Spring security because I remember having seen some mails about Tiles and Spring security combination( Something to do with includes/forwards ). We don't have experience with Sitemesh. Out pages are not very complex now but in the future they may be. We require customized them

Struts 2 / Tiles 2 / Spring Security

2009-03-05 Thread Mohan Radhakrishnan
Hi, Is Tiles still the most common approach to layout pages especially when you have a combination of Struts 2 / Tiles 2 / Spring Security ? What is the recommendation of the forum ? Thanks, Mohan -- View this message in context: http://www.nabble.com/Struts-2---Tiles-2---Spring-Security

Re: Acegi with Struts 2.

2009-03-03 Thread Mohan Radhakrishnan
That was an example. Actually the filter order was rearranged a bit. Mohan -- View this message in context: http://www.nabble.com/Acegi-with-Struts-2.-tp22259802p22323437.html Sent from the Struts - User mailing list archive at Nabble.com

Re: Acegi with Struts 2.

2009-03-03 Thread Mohan Radhakrishnan
I had each filter immediately followed by the mapping but then I changed it to the following. springSecurityFilterChain org.springframework.web.filter.DelegatingFilterProxy struts2 org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter

Re: Acegi with Struts 2.

2009-03-01 Thread Mohan Radhakrishnan
Hi, I was able to fix the Spring Security/Struts 2 filter issue by reordering the filter mappings. Now it works. Thanks, Mohan -- View this message in context: http://www.nabble.com/Acegi-with-Struts-2.-tp22259802p22281615.html Sent from the Struts - User mailing list archive at

Re: Acegi with Struts 2.

2009-02-28 Thread Mohan Radhakrishnan
Spring Security. Is that assumption correct ? 2. Is Spring Security's JAAS implementation the recommended way to challenge the user multiple times for secure actions ? The user might have to enter a secondary password sometimes ? Thanks, Mohan -- View this message in context: http://www.nabbl

Acegi with Struts 2.

2009-02-28 Thread Mohan Radhakrishnan
Hi, Why is velocity shown as the example here ? http://wiki.opensymphony.com/display/WW/Acegi+Security Anyone has experience with using Acegi with Struts 2 on the internet ? Thanks, Mohan -- View this message in context: http://www.nabble.com/Acegi-with-Struts-2

Re: Struts performance metrics

2009-02-27 Thread Mohan Radhakrishnan
Yes. It does. Thanks. Now I find a big difference in performance. So unless I use freemarker I should be able to mix JSTL and OGNL and get some benefit. Iteration over a very large collection and access Javabean properties. JSTL - 2557 ms OGNL - 4499 ms Mohan -- View this message in context

Re: Struts performance metrics

2009-02-27 Thread Mohan Radhakrishnan
Ok. Are you able to access the Value Stack directly using JSTL without using s:iterator ? Thanks, Mohan -- View this message in context: http://www.nabble.com/Struts-performance-metrics-tp22077072p22247775.html Sent from the Struts - User mailing list archive at Nabble.com

Re: Struts performance metrics

2009-02-20 Thread Mohan Radhakrishnan
I will use larger datasets and property access also. We plan to profe right from the beginning but I am not sure how JSTL can replace Struts tags to increase performance. I understand that in order to display data we can use JSTL. Struts tags are required to use the framework fully. Isn't it ? --

Re: Struts performance metrics

2009-02-20 Thread Mohan Radhakrishnan
implications of using OGNL if there are any. I came across messages in the forum about OGNL issues. Ours is an internet-enabled web site. Thanks, Mohan -- View this message in context: http://www.nabble.com/Struts-performance-metrics-tp22077072p22120189.html Sent from the Struts - User mailing list

Re: Struts performance metrics

2009-02-20 Thread Mohan Radhakrishnan
ent = 1103 --- JSTL org.apache.jsp.index_jsp._jspService(HttpServletRequest; HttpServletResponse) Cumulative time spent = 1429 Thanks, Mohan -- View this message in context: http://www.nabble.com/Struts-performance-metrics-tp22077072p221

Re: Struts performance metrics

2009-02-20 Thread Mohan Radhakrishnan
ent = 1103 --- JSTL org.apache.jsp.index_jsp._jspService(HttpServletRequest; HttpServletResponse) Cumulative time spent = 1429 Thanks, Mohan -- View this message in context: http://www.nabble.com/Struts-performance-metrics-tp22077072p221

Struts performance metrics

2009-02-18 Thread Mohan Radhakrishnan
Hi, There were some concerns raised about the performance of OGNL. We are evaluating Struts 2 for an internet site. How bad is the performance of OGNL ? Are there any methods to gather metrics by profiling that the forum recommends ? Thanks, Mohan -- View this message in context: http

RE: NEW t oStruts

2006-12-05 Thread Narayanaswamy, Mohan
First download the struts from http://struts.apache.org/downloads.html and play with the sample programs. -Original Message- From: Jagaran Bubai Das [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 05, 2006 5:38 PM To: user@struts.apache.org Subject: NEW t oStruts Hi, Please let me kn

RE: Query

2006-12-05 Thread Narayanaswamy, Mohan
First download the struts from http://struts.apache.org/downloads.html and play with the sample programs. -Original Message- From: Jagaran Das [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 05, 2006 5:04 PM To: user@struts.apache.org Subject: Query Hi all, How to install a simple

Accessing global constants programatically

2005-12-22 Thread Ramesh Mohan Reddy
Hi there, I am using 1.2.7 version of struts. Is there any way using which I can access global constants declared in validation xml file inside my actions. The reason being I need to apply regular expressions explicitly. Regards, Ramesh. __ Do

Re: Associating validation errors with input fields

2005-10-18 Thread Ramesh Mohan Reddy
Hi there, Say u hv a with the property name "custName". U can use right below the . So, when an action error occurs, it will be displayed right below the corresponding to the property. Regards, Ramesh M. --- Christopher Becker <[EMAIL PROTECTED]> wrote: > > I have a form in a Struts app

Re: How to provide different Validator Resources

2005-10-05 Thread Ramesh Mohan Reddy
.xyz" respectively... Any help Thanks & Regards, Ramesh M. --- Niall Pemberton <[EMAIL PROTECTED]> wrote: > Yes, you just use the "bundle" attribute on either > the or the > element: > > > > > or > > >

How to provide different Validator Resources

2005-10-05 Thread Ramesh Mohan Reddy
Hi, How can I set different validator resources in struts action before calling validate(...) method ? I have got one jsp and one declaration in validation.xml that are common for 2 types of customers, "abc" and "xyz". I have got message resource elements like below:- I could achieve js va

Session-Problem

2005-05-23 Thread Mohan
able to see the last visited page .But I want to restrict him like ,once the user is logged out .and if he clicks the back button I want him to redirect to the login page or showing some message. thanks and regards, Mohan. - To

session-problem

2005-05-16 Thread Mohan
form bean scope in session,It is showing the value in the text box.If I keep the form bean scope in the request it is not showing the value. Thanks, Mohan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Sorting of array lists

2005-03-10 Thread Krishna Mohan Radhakrishnan
sed. Even if use bubble sorting it will cause a lot of performance issues. Could any one please suggest me a good method? Regards, Krishna Mohan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EM

RE: logic iterate help

2005-02-24 Thread Krishna Mohan Radhakrishnan
Hi Richards, Make sure that class Ruser has getter and setter methods too Regards, Krishna Mohan -Original Message- From: Richard Reyes [mailto:[EMAIL PROTECTED] Sent: Thursday, February 24, 2005 3:52 PM To: Struts Users Mailing List Subject: logic iterate help

Regarding HTML:options tag

2005-02-17 Thread Krishna Mohan Radhakrishnan
the collection . Only entry I have in the form bean corresponds to the property name I have given in the select tag. Can anyone help Regards, Krishna MOhan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Regarding LOGIC tags

2005-01-26 Thread Krishna Mohan Radhakrishnan
method to do this. Regards, Krishna Mohan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Putting a field into the REQUEST

2005-01-08 Thread Krishna Mohan Radhakrishnan
present in the request attribute. So in the Action class I try to retrieve the value using getRequestAttribute("regularPlan"); This didn't work Regards, Krishna Mohan -Original Message- From: Dakota Jack [mailto:[EMAIL PROTECTED] Sent: Saturday, January 08, 2005 1:0

RE: formatting of strings

2005-01-07 Thread Krishna Mohan Radhakrishnan
the value to be displayed is NOT instance of java.lang.String. Pavel On Thu, 6 Jan 2005 18:56:23 +0530, Krishna Mohan Radhakrishnan <[EMAIL PROTECTED]> wrote: > Sorry Tommy, > The thing that u said simple didn't not work out.. > Do u have any other ideas. > > Are u sure th

RE: Putting a field into the REQUEST

2005-01-06 Thread Krishna Mohan Radhakrishnan
Content.jsp line 159: Regards Krishna Mohan -Original Message- From: David G. Friedman [mailto:[EMAIL PROTECTED] Sent: Friday, January 07, 2005 11:20 AM To: Struts Users Mailing List Subject: RE: Putting a field into the REQUEST Krishan, The error code you gave and the description of the prob

RE: Putting a field into the REQUEST

2005-01-06 Thread Krishna Mohan Radhakrishnan
the SavePlanProfileAction.java. In the SavePlanProfileAction.java I want to retrieve the value of the hidden field. Sounds very simple. But since I am newbie I am unable to get a solution Regards Krishna Mohan -Original Message- From: David G. Friedman [mailto:[EMAIL PROTECTED] Sent

RE: Putting a field into the REQUEST

2005-01-06 Thread Krishna Mohan Radhakrishnan
Hi David, Thanx it is working. But my original problem still exists. The request does not contain this field. But if I am using a java scriptlet like <% request.setAttribute("regularPlan","true"); %> Then it is working I want to do a similar operation in struts. Any ide

Putting a field into the REQUEST

2005-01-06 Thread Krishna Mohan Radhakrishnan
. Regards, Krishna Mohan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: formatting of strings

2005-01-06 Thread Krishna Mohan Radhakrishnan
No erik, I didn't use any format key bundles as such. I used the format property and not formatKey. I don't know how to create a bundle called "TelephoneFormatResources" This is how I used the bean. Regards Krishna Mohan R -Original Message- From: Erik Weber [mai

RE: formatting of strings

2005-01-06 Thread Krishna Mohan Radhakrishnan
ou change the format, then you just have to change it one place, instead of changing the format in all jsp pages! Cheers -Oprindelig meddelelse- Fra: Krishna Mohan Radhakrishnan [mailto:[EMAIL PROTECTED] Sendt: 6. januar 2005 09:08 Til: Struts Users Mailing List Emne: formatting of string

formatting of strings

2005-01-06 Thread Krishna Mohan Radhakrishnan
idea of how to format the string in this fashion Regards, Krishna Mohan R - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Does not STRUTS handle escape characters

2005-01-05 Thread Krishna Mohan Radhakrishnan
like ',",/ etc. Does anybody has a solution to the problem? Regards, Krishna Mohan R - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: How to implement OR functionality in STRUTS

2005-01-04 Thread Krishna Mohan Radhakrishnan
Hi Neil, But this will lead to repetition of code. If there are multiple OR's then it will lead to a big code. Any other idea u have Regards, Krishna Mohan INFOSYS TECHNOLOGIES LIMITED 3rd Floor | "Bhavani" Technopark | Trivandrum 695 581 | India Phone +91 471 2700888 Ext

How to implement OR functionality in STRUTS

2005-01-04 Thread Krishna Mohan Radhakrishnan
loop. May be this sounds a very silly question. I am a fresher to struts. That's Y? Regards, Krishna Mohan R - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: HOw to avoid validations for certain submit buttons on a singleform?

2005-01-04 Thread Krishna Mohan Radhakrishnan
loop. May be this sounds a very silly question. I am a fresher to struts. That's Y? Regards, Krishna Mohan R - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: HOw to avoid validations for certain submit buttons on a singleform?

2005-01-04 Thread Krishna Mohan Radhakrishnan
button. Regards, Krishna Mohan From: Cliff [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 05, 2005 7:36 AM To: Struts Users Mailing List; Hubert Rabago Subject: Re: HOw to avoid validations for certain submit buttons on a singleform? Hi, Could I ask where to set the bCancel ? as a

HOw to avoid validations for certain submit buttons on a single form?

2005-01-04 Thread Krishna Mohan Radhakrishnan
I think one solution is to put Inactivate in another ActionForm. But can I achieve the result in a single Actionform. Regards, Krishna Mohan

How to pass a request variable to a frame set

2005-01-04 Thread Krishna Mohan Radhakrishnan
Hi all, I have a java clas called PlanAction.java. I am forwarding to a JSP called Offerings.jsp. But Offerings.jsp contains a frameset which include another JSP called Plan.jsp. I need the request attribute set in the PlanAction.java to be available in the Plan.jsp. I found that request attri

Struts for beginners

2004-12-25 Thread Krishna Mohan Radhakrishnan
] Regards, Krishna Mohan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Help needed - submitting dynamic text boxes to ActionForm

2004-12-23 Thread krishna mohan d
Hi, I am struck in the middle of one web application. I am using struts 1.1 framework. I have a form where I have nearly 12 text boxes per row, which are generated dynamically. means I have a form where I have 12 text boxes per row and I am assigning name dynamically.[I am using plain jsp and

RE: struts-bean:write and dynamic property parameter?

2004-05-19 Thread Rahul Mohan
hi dennis,    ya...if u r using the rt version of taglibs u can use property="<%=parameter%>" . if u r using the el tags then use property="${parameter}"    hope this helps   rahul -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]Sent: Tuesday, May 18,

RE: FW: code too large for try statement

2004-05-19 Thread Rahul Mohan
Thank for the reply joe... But the Tomcat I am using is 4.1 only.I have checked the documentation and found out that both Tomcat4.1 and Weblogic8.1 is conformant to J2EE1.3 ( Servlet 2.3 / JSP 1.2 ) so the problem is not with the jsp specs further, i feel that the problem is

FW: code too large for try statement

2004-05-18 Thread Rahul Mohan
Hi, havent got a soln to this problem so fari am posting this again hoping somebody would help me out one more fact is that i cannot modify the jsp as such as it is being generated by a tool thanks rahul -Original Message- From: Rahul Mohan [mailto

code too large for try statement

2004-05-17 Thread Rahul Mohan
Hi, I have a JSP page with Struts and JSTL tags. It is pretty big with about 15 conrols and a *LOT* of JSTL tags. When I try host the page in Weblogic8.1 i get the following compile error: window.java:12652:code too large for try statement try {

  1   2   >