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,
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
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
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
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
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
> 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
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:
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
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
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
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
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
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
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
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
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
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
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
let me know.
Thanks,Maya
-
Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.
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.
>
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
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
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
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
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
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
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
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
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
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..
-
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
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
.
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
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
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
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
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
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
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
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
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
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
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
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 "
<[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/
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'
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
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
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
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,
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:
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
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
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
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
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
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
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
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=&
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&
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
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
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.
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
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
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
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
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
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
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
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
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
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
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
.
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 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
77 matches
Mail list logo