Re: Dynamic combo boxes

2007-09-20 Thread Maya menon
l.tld instaed of struts-html.tld Now after I corrected that it works fine too Thanks again for your support Maya: abhiram <[EMAIL PROTECTED]> wrote: i dont know anything about struts 2, but with my 1.2, i have no probs giving dynamic ids. here is an idea. inside ur jsp,

Re: Dynamic combo boxes

2007-09-20 Thread Maya menon
can just access the comboboxes using their ids..this should work whether ur comboboxes are static or dynamic. Maya menon wrote: Hi all, I have a page which displays dynamic comboboxes. The records from DB will be displayed in table and two fields are getting displayed in comboboxes. Now, there is on

Re: Dynamic combo boxes

2007-09-20 Thread Maya menon
Can i have some ideas here ? Thanks Maya menon <[EMAIL PROTECTED]> wrote: Hi all, I have a page which displays dynamic comboboxes. The records from DB will be displayed in table and two fields are getting displayed in comboboxes. Now, there is one condtion in which if user c

Dynamic combo boxes

2007-09-20 Thread Maya menon
Hi all, I have a page which displays dynamic comboboxes. The records from DB will be displayed in table and two fields are getting displayed in comboboxes. Now, there is one condtion in which if user changes something in first combobox then value of second combobox should automatica

Retrieving names of dynamic comboboxes

2007-09-10 Thread Maya menon
How do we retrieve the names of dynamic comboboxes generated using iterate tag ? I need to capture the onchange event, but how will I capture the name of the combo box ? Thanks - Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user

Re: Struts question

2007-09-09 Thread Maya menon
tndata.tnStatus for bean under name TestFormBean Please helpme, what am i doing wrong ? TestFormbean looks like this private Testdata[] testData; public TestData[] getTestData() { return testData; } public void setTndata(Testdata[] testData) { this.testData= testData; } Maya menon <[EM

Struts question

2007-09-09 Thread Maya menon
> value='mypath'/>">I have a question about how to retrive the value from a > data object in the form bean > value='mypath'/>"> > value='mypath'/>">I have a form bean, TestForm where I declare my dataobject as > value='mypath'/>">private testdata[] data; > value='mypath'/>"> > value

Re: Struts 1.2 using formbeans

2007-08-14 Thread Maya menon
parameter and allowing users to select the parameter they want. The new ndow[new jsp also] I have added the same action configuration.. Thanks Maya menon <[EMAIL PROTECTED]> wrote: Chris, Thanks for the reply, I dont have redirect=true Here is the action:

Re: Struts 1.2 using formbeans

2007-08-14 Thread Maya menon
Chris, Thanks for the reply, I dont have redirect=true Here is the action: Thanks again, Christopher Schultz <[EMAIL PROTECTED]> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Maya, Maya menon wrote: > In submitAction, I call setter method of for

Struts 1.2 using formbeans

2007-08-14 Thread Maya menon
Hi all, I need some help here. I am using Struts 1.2 1. I have inputForm1.jsp where I input 2 values and then fetch the 3rd value using a Submit action. This has been mapped to Submit.do and inputFormBean is referrenced in the struts-config file. Inside action class Submit.do, th

Struts-Jsp display

2007-06-05 Thread Maya menon
All, I have a requirement in which I display reports in a jsp using Struts. The reports pull huge data like 3-5 records will be in the jsp page. Right now, I get the records in an array from my DAO and then set them to my form bean. In results jsp, I iterate through it and use ta

Re: error on struts 1.1

2007-05-07 Thread maya
download find a million of them, in different folders... oh brother... thank you... Dave Newton wrote: Weird; I just downloaded 1.3.8-all and all the docs are in the "docs" directory for me. --- maya <[EMAIL PROTECTED]> wrote: Dave Newton wrote: --- maya <[EMAIL P

Re: error on struts 1.1

2007-05-07 Thread maya
Dave Newton wrote: --- maya <[EMAIL PROTECTED]> wrote: why can't all downloads come with documentation built already? it's just a bunch of html files You're right, and they're in the struts-documentation WAR file supplied

Re: error on struts 1.1

2007-05-07 Thread maya
Antonio Petrelli wrote: 2007/5/7, maya <[EMAIL PROTECTED]>: hi, on this pg of struts 1.1 documentation, Time to upgrade I suppose :-) 2007/5/7, maya <[EMAIL PROTECTED]>: it says where to put jar's, tld's, etc.. but not dtd's... what are dtd's

Re: error on struts 1.1

2007-05-07 Thread maya
Antonio Petrelli wrote: 2007/5/7, maya <[EMAIL PROTECTED]>: hi, on this pg of struts 1.1 documentation, Time to upgrade I suppose :-) 2007/5/7, maya <[EMAIL PROTECTED]>: it says where to put jar's, tld's, etc.. but not dtd's... what are dtd's

error on struts 1.1

2007-05-07 Thread maya
hi, on this pg of struts 1.1 documentation, http://localhost/struts-documentation/userGuide/installation.html (don't know on-line equiv. of this page, as link to 1.1 on this page http://struts.apache.org/downloads.html#PriorReleases gets you a 404..) it says where to put jar's, tld's, etc.. bu

Session Management

2007-03-15 Thread Maya menon
logegd in. How do we do that ? 2. Also, back buttons. Back buttons shoudlnt display anything [like no data] should appear when user clicks back button How to handle these two situations ? Need suggestions. Thanks, Maya - Don't be flakey

Re: Real time data display in a struts based application.

2007-03-02 Thread Maya menon
eded.. any examples. Musachy Barroso <[EMAIL PROTECTED]> wrote: Oops...I can't help it, I always assume we are talking about S2. If you are using S1, pick an ajax framework, most of them have a Div tag like the one on S2. See Frank's email for details on one of them. musachy On

Re: Multiple forwards ?

2007-03-01 Thread Maya menon
ne with the include.. Thanks, Maya Mike Baroukh <[EMAIL PROTECTED]> wrote: you can't forward to 2 jsps. Eventually you can include the result of a jsp in another with or you can use tiles or sitmesh to do it. Maya menon a écrit : > Has anyone tried forwarding to mu

Multiple forwards ?

2007-03-01 Thread Maya menon
let me know. Thanks,Maya - Need Mail bonding? Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.

Re: Real time data display in a struts based application.

2007-03-01 Thread Maya menon
eeded. For a JSP/HTML page refresh you're sending more data over the line. The key here is a well designed AJAX application. Maya menon wrote: > Thank you both for your responses. > > So AJAX is the technique I should refer. Anyone know of any examples / > somethings. >

Re: Real time data display in a struts based application.

2007-02-28 Thread Maya menon
ion" every 3000 milliseconds. There are many frameworks available, so you can pick one that fits your needs. For simple scenarios, the div tag will do. musachy On 2/28/07, Maya menon wrote: > > Thank you both for your responses. > > So AJAX is the technique I should refer. Anyon

Re: Real time data display in a struts based application.

2007-02-28 Thread Maya menon
AJAX ? so, whats the real advantage of using an AJAX timed event to a normal JSP/HTML refresh ? Maya Musachy Barroso <[EMAIL PROTECTED]> wrote: The div tag when used on the ajax theme, has a timer that will make it refresh its content from the url specified in the "href" attrib

Real time data display in a struts based application.

2007-02-28 Thread Maya menon
users without the client doing a reload/refresh etc. What technologies can be used here ? Can anyone provide me some suggestions ? The users login to the application using a web page, this is a web based J2ee application using struts, Oracle database. Thanks, Maya

Re: [S2] JNLP with struts ?

2007-02-27 Thread Maya menon
ughts, appreacited Thanks cilquirm <[EMAIL PROTECTED]> wrote: in your resulting page you can set @page contentType = 'application/x-java-jnlp-file' and return the body of your jnlp file ( possibly even read via c:import or some such mechanism ) Maya menon wrote: > > Have

JNLP with struts ?

2007-02-23 Thread Maya menon
to install something in the client's machines if the user is a valid user of our application. The app uses Login.jsp and Loginaction.java now. Any suggestions/thoughts, Maya - Be a PS3 game guru. Get your game face on with the latest PS3 news

RE: General question

2007-02-01 Thread Maya menon
r, allowing only one instance of the user to operate the app. -Original Message- From: Maya menon [mailto:[EMAIL PROTECTED] Sent: Thursday, February 01, 2007 12:52 PM To: user@struts.apache.org Subject: General question I have a struts based J2ee app which displays data from DB in the res

Re: General question

2007-02-01 Thread Maya menon
displayed. what way can the appearence of DB values be prevented in multiple windows ? Thanks Dave Newton <[EMAIL PROTECTED]> wrote: --- Maya menon wrote: > My question is: if users try to open another > window and do simultaneous tasks, how can I avoid > same user

General question

2007-02-01 Thread Maya menon
I have a struts based J2ee app which displays data from DB in the results.jsp page. For DB data access, I use a DAO which returns a serialized object. This serialized object, I set it to request object using setAttribute and retrieve it using tag i n jsp page. My question is: if users tr

best possible design

2007-01-30 Thread Maya menon
All, I need to enable role based access to my Struts-J2EE application. ie, if a normal user logs in, user should see one page whereas if a superuser logs in he should see another page. Whats the best suited design here ? Any links ? I use Struts 1.x,Eclipse and Tomcat T

tiles: error

2006-12-04 Thread maya
please what does this error mean? ServletException in '/tiles/news_tiles.jsp': null javax.servlet.jsp.JspException: ServletException in '/tiles/news_tile.jsp': null it looks like server can't file the tile, but the tile is there.. thank you very much.. -

Re: [OT] RE: Re: struts-html question.... puzzling problem...

2006-11-29 Thread maya
to do it with struts..) the WAR-file thing has really eluded me.. but now have no choice but learn how to deal w/it since otherwise won't be able to look @ docs for struts 1.1 would appreciate some suggestions.. thank you very much.. Dave Newton wrote: From: news [mailto:[EMAIL PROTECT

Re: struts-html question.... puzzling problem...

2006-11-29 Thread maya
ts 1.1 is rather old..) can I assume url for docs then will be struts-documentation/index.jsp? how exactly does this WAR-thing work??? :) again, thank you very much.. Wendy Smoak wrote: On 11/28/06, maya <[EMAIL PROTECTED]> wrote: thank you very much.. downloaded lib and src downloa

Re: struts-html question.... puzzling problem...

2006-11-28 Thread maya
. many thanks.. Dave Newton wrote: http://archive.apache.org/dist/struts/struts-1.1/ -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of maya Sent: Tuesday, November 28, 2006 2:37 PM To: user@struts.apache.org Subject: Re: struts-html question puzzling problem... Da

Re: struts-html question.... puzzling problem...

2006-11-28 Thread maya
Dave Newton wrote: From: news [mailto:[EMAIL PROTECTED] On Behalf Of maya thank you very much.. yes, the book uses 1.1.. I can't find any book that uses later versions, no 1.1 download on Jakarta site.. http://struts.apache.org/downloads.html#PriorReleases did go to "1.1&qu

Re: struts-html question.... puzzling problem...

2006-11-28 Thread maya
Dave Newton wrote: From: news [mailto:[EMAIL PROTECTED] On Behalf Of maya I'm following chapter 3 of Wrox Struts book ("Professional Jakarta Struts") to the letter.. using struts 1.3.5, Tomcat 5.5/1.4... get TLD-related error on index.jsp (entire zipped-up webapp (small, virus

struts-html question.... puzzling problem...

2006-11-28 Thread maya
hi, I'm following chapter 3 of Wrox Struts book ("Professional Jakarta Struts") to the letter.. using struts 1.3.5, Tomcat 5.5/1.4... get TLD-related error on index.jsp (entire zipped-up webapp (small, virus-free...:) here... www.mayacove.com/java/strutsWrox.zip) did index.jsp, and the clas

Re: tiles: detect controller pg?

2006-10-26 Thread maya
Niall Pemberton wrote: On 10/23/06, maya <[EMAIL PROTECTED]> wrote: am fairly new to struts, so not sure you can do this... I was wondering if it's possible for a tile to detect what page is calling it.. I have corp logo in header tile; header tile is called by all pgs, but I wou

tiles: detect controller pg?

2006-10-23 Thread maya
am fairly new to struts, so not sure you can do this... I was wondering if it's possible for a tile to detect what page is calling it.. I have corp logo in header tile; header tile is called by all pgs, but I would like the code around logo to appear ONLY if header tile is NOT being called f

loading tiles dynamically...

2006-10-16 Thread maya
hi, how do you load tiles dynamically in response to user input.. I have classic setting of nav on the left and main content to the right of nav tile.. how do I load tiles dynamically in main-content tile in response to what link user clicks in left nav? (I mean same principle as when you loa

tomcat/struts...

2006-10-04 Thread maya
I'm just starting to learn struts.. have been doing JSP/servelts/tomcat for about three years.. downloaded and am running successfully example 5 from this pg.. http://www.javaworld.com/javaworld/jw-01-2002/jw-0104-tilestrut.html am using tomcat 5.5/jvm 1.4 this struts example (and all other weba

what version is best..

2006-09-24 Thread maya
hi, I started a new job recently where they use struts/tiles for everything, I had never used this technique before and would like to learn it well.. when I go to http://struts.apache.org/downloads.html I see versions 1.0.1, 1.2.9, & 1.3.5.. but all books I have checked out online don't cov

Come back to same JSP

2006-08-29 Thread Maya menon
All, I have a jsp page, to add new records to the database. Now, when the records are added succesfully I have to come back to the same page with the fields populated with the added values. how do i achieve this ? Please let me know. Thanks

Re: Tags in struts

2006-07-12 Thread Maya menon
ok... good thought, looking at Javascripr right now to edit the options in list box.. -Maya Adam Gordon <[EMAIL PROTECTED]> wrote: Maya- Just had a thought...you can set the "style" attribute on the element to say 'style="display: none;"' to h

RE: Tags in struts

2006-07-12 Thread Maya menon
javascript. -Maya Adam Gordon <[EMAIL PROTECTED]> wrote: Maya- A. I understand now. You want a list box, not a drop-down list. Drop-down lists require that one, and only one, item be selected. List boxes allow for zero, one, or more options to be selected. Check out the "

Re: Tags in struts

2006-07-12 Thread Maya menon
<[EMAIL PROTECTED]> wrote: Maya- Excellent! For a list box, I believe that you must have at least one option selected at any given time. If you don't want to provide a default and force the user to actually select one (and then you can validate the user's input to ensure he/

Re: Tags in struts

2006-07-11 Thread Maya menon
Thanks Adam Implemented it and it worked. One quick question, when we use these tags, one of the options get selected by default. How can we modify the tag so that NONE of the options get selected by default ? Thanks. Adam Gordon <[EMAIL PROTECTED]> wrote: Maya- Let'

Re: Tags in struts

2006-07-10 Thread Maya menon
Thanks Adam. Yes, I have a bean lets say, Testbean with two Collections. I have to display the value of these Collections[has objects] in a select box in my JSP. Can you send me the sample code please ? Maya Adam Gordon <[EMAIL PROTECTED]> wrote: > In my JSP

Tags in struts

2006-07-10 Thread Maya menon
All, In my JSP I have a textbox and two list boxes[which can display multiple values]. From my database, I have an object [a data object], ListData with following information returning string result; Vector itemList; //list of object 1 ArrayList itemList1; //list of object 2

Best approach

2006-06-12 Thread Maya menon
All, I have 4 buttons in a jsp. The four should do four different things, with 2 being Submit and Cancel. Is it a good way to write 3 different action classes or just one action class ? Which is a good approach ? Thanks __ Do You

Reload the same page

2006-06-08 Thread Maya menon
All, I have a page, results.jsp with a link < ahref="deleteAction.do?/> In deleteAction, the record will be deleted by calling the helper classes and on succesful delete the request should be forwarded again to the results.jsp. How can I achieve this ? In strts-config,

RE: Retrieve values

2006-06-07 Thread Maya menon
ion class, I want to get it String x = request.getParameter("data"); and again create a vector, to set it to the request If I do that, in the jsp, it says: no getter method found. please suggest me where I am wrong Maya menon <[EMAIL PROTECTED]> wrote: Yes, regarding this:

RE: Retrieve values

2006-06-07 Thread Maya menon
the input hidden type's name is data -Original Message- From: Maya menon [mailto:[EMAIL PROTECTED] Sent: 07 June 2006 18:34 To: Struts Users Mailing List Subject: Retrieve values I tried storing vector values in a hidden field. [input] "/> where data is a vector which I have se

Retrieve values

2006-06-07 Thread Maya menon
I tried storing vector values in a hidden field. "/> where data is a vector which I have set into the request type. Now how will I retrieve it ? Maya menon <[EMAIL PROTECTED]> wrote: Manoj, In the vector I am storing a data object with 6 fields. I am usi

Retrieve values

2006-06-07 Thread Maya menon
I tried storing vector values in a hidden field. "/> where data is a vector which I have set into the request type. Now how will I retrieve it ? Maya menon <[EMAIL PROTECTED]> wrote: Manoj, In the vector I am storing a data object with 6 fields. I am usi

RE: Handling attribute values

2006-06-07 Thread Maya menon
Manoj, In the vector I am storing a data object with 6 fields. I am using the iterate tag to iterate thru the vector and display the results. Thanks [EMAIL PROTECTED] wrote: Maya, Vectors are synchronized. Any method that touches the Vector's contents is thread safe. Arra

RE: Handling attribute values

2006-06-07 Thread Maya menon
Manoj, Yes, I am storing a vector in request attribute. Using session attribute, I am not feeling comfortable. Because the application can be accessed simultaneously by lots. So, In EditAction, is there a way to get the attribute from request ? [EMAIL PROTECTED] wrote: Maya

Handling attribute values

2006-06-07 Thread Maya menon
Hi all, 1. I have an action class, DisplayAction which displays the records from database. Here I am setting a vector into the request scope and on success forwarding it to displayresults.jsp. 2. Display results.jsp displays all records with an option of delete to the users. 3

Re: Global forwards and actions

2006-06-01 Thread Maya menon
this in your JSP instead: form.action="/Delete*.do*"; //in the jsp On 6/1/06, Maya menon wrote: > > well, > > Here is exactly what I have: > > 1. jsp files are in /jsp folder. > struts-config file entries and action classes. > > struts-config ent

Re: Global forwards and actions

2006-06-01 Thread Maya menon
the action mapping in struts-config, plus > the ".do", so if the form has: > > > > then the action mapping must be: > > > > > On 6/1/06, Maya menon wrote: > > > > Ok, for delete.jsp I put action="delete.do" > > form.action=&

Re: Global forwards and actions

2006-06-01 Thread Maya menon
ECTED]> wrote: The form action is the same as the action mapping in struts-config, plus the ".do", so if the form has: then the action mapping must be: On 6/1/06, Maya menon wrote: > > Ok, for delete.jsp I put action="delete.do" > form.action="Delete.do&

RE: Global forwards and actions

2006-06-01 Thread Maya menon
ion The request sent by the client was syntactically incorrect (Invalid path /jsp/Delete was requested). What am I missing here ? Maya menon <[EMAIL PROTECTED]> wrote: Manoj, Thanks. So, just 2 action entries r fine, thats what you think. [EMAIL PROTE

RE: Global forwards and actions

2006-06-01 Thread Maya menon
struts module Hope that helps Manoj -Original Message- From: Maya menon [mailto:cc] Sent: 01 June 2006 16:46 To: user@struts.apache.org Subject: Global forwards and actions All, I want to understand this better: Say, I have one form , addDetails.jsp and another deleteDetails.jsp

Global forwards and actions

2006-06-01 Thread Maya menon
I need in struts-config.xml for these to be forwarded to the correct action classes ? thanks Maya - Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min.

Re: Struts with Eclipse 3.1

2006-05-25 Thread Maya menon
el On 5/25/06, Maya menon wrote: > > No. It wont work. when I do that, it asks for a folder to import to. When > I type a new name in says, specified project doesnt exist and stops there... > > "Chaudhary, Harsh" wrote: Sounds like something > wrong with the import you di

RE: Struts with Eclipse 3.1

2006-05-25 Thread Maya menon
fresh import without creating a project first. Then when you import, it would prompt you to specify a project at which point, you can create a new project. Hopefully this will merge the two and generate a singular file structure. Harsh. -Original Message- From: Maya menon [mailto:[E

RE: Struts with Eclipse 3.1

2006-05-25 Thread Maya menon
at like: \struts-1.2.8-bin\struts-1.2.8-bin\webapps Its called struts-examples.war. Get that running and then you can reuse that code to get started. Harsh. -Original Message- From: Maya menon [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 10:31 AM To: Struts Users Mailing List Subjec

RE: Struts with Eclipse 3.1

2006-05-25 Thread Maya menon
s in struts-cofig.xml, an Action class, a Struts form and an HTML or JSP page. Harsh. -Original Message- From: Maya menon [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 10:17 AM To: Struts Users Mailing List Subject: RE: Struts with Eclipse 3.1 Ok Thanks. Can I just import the z

RE: Struts with Eclipse 3.1

2006-05-25 Thread Maya menon
Ok Thanks. Can I just import the zip file to my project and start using it ? Maya "Chaudhary, Harsh" <[EMAIL PROTECTED]> wrote: Sure you can. Just include the Struts lib files in your project. If you are talking about IDE support for Struts, then I wou

Struts with Eclipse 3.1

2006-05-25 Thread Maya menon
All, Is it possible to use struts with Eclipse 3.1 ? If yes, how. Can anyone please help. Thanks. - Feel free to call! Free PC-to-PC calls. Low rates on PC-to-Phone. Get Yahoo! Messenger with Voice

Re: Hi-New to this group

2005-07-21 Thread Maya menon
same for hibernate and spring. Rokibul Islam Khan <[EMAIL PROTECTED]> wrote:whats about hibernate and spring ? On 7/22/05, Maya menon wrote: > For us, struts is the company wide standard, so we take it. > > The rest [ibatis] is not a company standard, so I guess we cannot use i

Re: Hi-New to this group

2005-07-21 Thread Maya menon
For us, struts is the company wide standard, so we take it. The rest [ibatis] is not a company standard, so I guess we cannot use it. Michael Rasmussen <[EMAIL PROTECTED]> wrote: Well, As they were posed the requirements had Struts. Assuming that that wasn't a hard requirement then it would be

Re: Hi-New to this group

2005-07-20 Thread Maya menon
If any one has any sample implementations using ibatis / hibernate, please send them to me. It would be really helpful Rick Reumann <[EMAIL PROTECTED]> wrote:[EMAIL PROTECTED] wrote the following on 7/20/2005 3:44 PM: > Another camp would tell you to just use something like a business > delegat

Re: Hi-New to this group

2005-07-20 Thread Maya menon
Hi, I am pretty new to Hibernate, [no idea at all] can anyone send me a sample implementation ? Thanks Dave Newton <[EMAIL PROTECTED]> wrote: [EMAIL PROTECTED] wrote: >I don't understand Dave's concern. Perhaps he would elaborate on why he says >to avoid Session beans. > > Anything EJB-re

Re: Hi-New to this group

2005-07-20 Thread Maya menon
siness delegate + >iBatis or Hibernate. I cannot comment as I have not used that approach. >Personally, I like to write all my own SQL (along with everything else you can >write). > >Erik > > >-Original Message- >From: Maya menon >Sent: Jul 20, 2005 3:35 PM >To

Re: Hi-New to this group

2005-07-20 Thread Maya menon
. Maya Dave Newton <[EMAIL PROTECTED]> wrote: Maya menon wrote: >Now, back end I am thinking about session ejbs which reads database tables. > Unless there's a requirement or Very Compelling Reason to use EJB I'd sure try to avoid them. >Now, what should I use

Hi-New to this group

2005-07-20 Thread Maya menon
Hi all, I am designing a web app/ Its supposed to have 500 concurrent users. 1. Module- Login The users login using their uid/password and see the stuff in their database I am planning to use Struts,jsp,action classes in the front end Now, back end I am thinking about session ejbs which reads da