I use the html:options tag :
Just create a Collection (here gender of the Databaseentries (f,m) and
pass as a bean to the page
with the form.
html:select name=yourForm property=gender
html:options collection=gender property=id
labelProperty=description/
/html:select
If you need more
Hi,
Is it possible to create a String variable out of a message resource
defined in the resources files?
bean:message doesn't seem to help.
Thanks,
Suresh
**Disclaimer
Information contained in this E-MAIL being proprietary to Wipro
You mean like this?
bean:define id=myVar
bean:message key=someKey/
/bean:define
--
James Mitchell
Software Engineer / Struts Evangelist
http://www.struts-atlanta.org
678.910.8017
AIM:jmitchtx
-Original Message-
From: Suresh Addagalla [mailto:[EMAIL PROTECTED]
Sent: Friday,
Yep,
Use one of the getMessae methods on the MessageResources class.
http://jakarta.apache.org/struts/api/org/apache/struts/util/MessageResou
rces.html
The locale is fetched from a session attribute. Here is an example:
Locale locale = (Locale) session.getAttribute( Action.LOCALE_KEY );
Hi,
I have a table with data suppose with 100 rows,
I have change some text in 5 rows,
I want to save these 5 rows back in database,
Does Struts has support for multiple row save , and if yes how it's done? (hidden
multibox or s.m.th like that)
Thanks in advance
Hi Saul,
to try to narrow this down a little, is the problem javascript or
server-side, or both?
One thing it might be is where you specified your
ApplicationResources.properties. It should be something like this in
struts-config.xml :
message-resources
Hi,
Having a wired problem here. On some of my pages, the
request.getContextPath() works great, but on other pages, it doesn't
seem to work, it only gets the webapp. Eg.
page is in
http://192.168.1.111:8080/PostGraduate/admission/application/listProfile
Setup
I have to many programs in my applicaiton ,
to call each program, url syntax is /program.do?page=default
also most of my programs has more than one page ,
most of programs store some part of data in session for security reasons,
what I need is I must clear user stored session data when the
And theres a 3rd option: in a filter, though overriding the RequestProcessor
should serve just as well in this case.
(Forget the ActionServlet option unless your using struts 1.0.2)
-Original Message-
From: Seyhan BASMACI (Internet Yazilimlari Yetkilisi)
[mailto:[EMAIL PROTECTED]
Sent:
Hi,
I posted a question earlier as to whether it was possible to have a
module based web-app with each module having its own tiles defs
configuration. The tiles-documentation web app is a working example of
this. So that answers my first question. On looking at the details of
the webapp
I have written my own RequestProcessor class (MyRequestProcessor.java) by
extending the STRUTS provided RequesrProcessor class. I have overridden the
processPreprocess() method as below. Also I have defined the
java.lang.NullPointerException in the global-exceptions of
struts-config.xml as shown
Hello,
I am using Struts 1.1 and facing a peculiar problem. In my application I am deleting
adding records and I want to show on the JSP as Popup Window with the message like
Deleted Successfully or Added successfully.
In struts it comes on the top of the page. Is there any way where I can
Afaik, the global-exceptions only traps exceptions thrown up from your
actions (not from the RP or the JSPs)
(I could be wrong about this though!)
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Friday, 5 September 2003 16:50
To: [EMAIL PROTECTED]
Subject:
Basically what I wanted to do in the processPreprocess() method of
MyRequestProcessor class was Check if there were any User related
credentials in the session, if yes let the process continute. If not then
throw the Logon page. Is there any otherway I can achieve this so that the
application
not sure if struts handles exceptions thrown from RequestProcessor.
|-Original Message-
|From: [EMAIL PROTECTED]
|[mailto:[EMAIL PROTECTED]
|Sent: Friday, September 05, 2003 2:20 PM
|To: [EMAIL PROTECTED]
|Subject: Probelm with global-exceptions routing.
|
|
|I have written my own
Hi Mark,
I found why its working at your end.
You have given a tabindex to hmtl:img tag,
What i am doing is
html:link page=/NewContact.do tabindex=30Create new/html:link
Using the tabindex in the html:link tag only.
Thanks and Regards
Deepak .
-Original Message-
From: Mark Lowe
When i have a number as a key in properties file, tag bean:message key=10007 /
gives me some wired error.
I am using this tag in javascripts.
Deepak.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
U can add a Servlet in your web.xml which will check for User credential
Regards
Rohit
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, September 05, 2003 3:17 PM
To: Struts Users Mailing List
Cc: Struts Users Mailing List
Subject: RE: Probelm with
All the best for your future endeavour
Regards
Rohit
-Original Message-
From: Mehta, Chirag (IT) [mailto:[EMAIL PROTECTED]
Sent: Friday, September 05, 2003 3:29 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Thanks
Hello guys,
My internship had finished and I would just like to
but this your contextPath. so, request returns that string that you set.
Is PostGraduate.war your file name?
or in server.xml you have set contextPath=/PostGraduate.
navjot
|-Original Message-
|From: Mohd Amin Mohd Din [mailto:[EMAIL PROTECTED]
|Sent: Friday, September 05, 2003 1:44 PM
Sorry My mistake .
Wrong properties file. Had put value in double quotes.
like
10007=error;
-Original Message-
From: deepaksawdekar
Sent: Friday, September 05, 2003 3:43 PM
To: Struts Users Mailing List
Subject: bean:message problem
When i have a number as a key in properties
Look into using a Filter for this.
robert
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Friday, September 05, 2003 5:47 AM
To: Struts Users Mailing List
Cc: Struts Users Mailing List
Subject: RE: Probelm with global-exceptions routing.
Basically
I have installed clickstream into my portal and it works. I tested it on many
computers and works ok.
But in one computer I get message below. This computer was connected to Internet
through modem to one company.
Then I connect with my computer to the Internet through modem to the same company
+1
-Original Message-
From: Rohit Aeron [mailto:[EMAIL PROTECTED]
Sent: Friday, 5 September 2003 18:16
To: Struts Users Mailing List
Subject: RE: Thanks
All the best for your future endeavour
Regards
Rohit
-Original Message-
From: Mehta, Chirag (IT) [mailto:[EMAIL PROTECTED]
I have gotten two html:forms two work in a limited fashion with struts.
Note that your always visible form, doesn't have to be connected with a
struts action so the problems with actions wouldn't apply. Also, the rules
for forms are different if you are using tiles since each tile has an action
Is there a way to make Struts print out more messages to standard out ? Like
when it loads the form-bean and resets form values into the jsp ?
Thanks
-- pady
[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Okay. After looking at PropertyUtils I determined that this sort of syntax
is not allowed when accessing an object from an ArrayList of ArrayLists.
You have to wrap the child lists in an object which provides some type of
accessor/mutator. So in my case I have an ArrayList of ListWrapper objects.
http://jakarta.apache.org/struts/userGuide/building_controller.html#logg
ing
-Original Message-
From: Pady Srinivasan [mailto:[EMAIL PROTECTED]
Sent: Friday, September 05, 2003 8:11 AM
To: [EMAIL PROTECTED]
Subject: debug level of struts...
Is there a way to make Struts print
Hi Pady,
You might try adding this to your action servlet in web.xml:
init-parm
param-namedebug/param-name
param-value99/param-value
/init-param
Let me know if this works for you,
Peter
--
Peter Smith
Software Engineer
InfoNow Corporation
From: Pady Srinivasan [EMAIL PROTECTED]
Robert,
Damn, I was just replying to your original note when you posted ;-). I'll
include my response below in case the two-step idea appeals to you:
Not sure if you've moved on from this, but I think you're either gonna have to
change the structure of your data or access it in multiple steps.
Say I have a form formFoo which manages some noun Foo. It has
two different actions, newFoo and editFoo. Each has specific logic
depending on whether or not Foo exists. I am experiencing a problem where
users create Foo, but then (either by bookmark or the back button) users are
quick dirty way :-)
In you jdk installation dir..look out for logging.properties
and append the following line in the end
org.apache.struts = FINE
navjot
|-Original Message-
|From: Pady Srinivasan [mailto:[EMAIL PROTECTED]
|Sent: Friday, September 05, 2003 5:41 PM
|To: [EMAIL
Thanks for the reply Kris.
My problem wasn't really accessing the data on the page, it was
rather Struts accessing a property in an object buried in an ArrayList
of ArrayLists when the page was being rendered.
I was trying to keep my question as simple and to
the point as possible and therefore
Hello ...
I'd like to have two submit buttons on a page. Pressing no. 1 should run
through validation, pressing no. 2 should avoid this. How am I able to this in a
good way?
I'm using Struts 1.01 thus validate method is in the form bean.
Any hints would be welcomed,
Andre Michel
--
Yep. That did it. Thanks.
I couldn't find any documentation that stated that the html form name and
the form-bean definition name in struts-config.xml have to match. Maybe it
is so obvious...
Thanks
-- pady
[EMAIL PROTECTED]
-Original Message-
From: David Friedman [mailto:[EMAIL
You can't unless you move the validation to the Action class.
Mark
-Original Message-
From: Andre Michel [mailto:[EMAIL PROTECTED]
Sent: Friday, September 05, 2003 8:36 AM
To: [EMAIL PROTECTED]
Subject: Avoid Validate After Submit
Hello ...
I'd like to have two submit buttons on a
I don't know if this works in 1.01 but I tried in 1.1.
You can use the HttpServletRequest passed into the validate method to find
out which button was pressed ( getParameter(Button2) ), and return an
empty ActionErrors.
Thanks
-- pady
[EMAIL PROTECTED]
-Original Message-
From:
A tourist walked into a pet shop and was looking at the animals on
display.
While he was there, another customer walked in and said to the
shopkeeper, I'll have a C monkey please. The shopkeeper nodded, went
over to a cage at the side of the shop and took out a monkey. He fit
a collar and
Using this method could you not do this in a servlet set in web.xml with
load-on-startup?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 01 September 2003 11:58
To: Struts Users Mailing List
Subject: RE: [OT] Scheduling
Yes, I have done that. But, now
Hey Folks !
I tried This configuration, and it seams that it dont change
anything to me... any ideias ?
José Gustavo Zagato Rosa
System Analyst - Atos Origin
[EMAIL PROTECTED]
-Original Message-
From: Peter Smith [mailto:[EMAIL PROTECTED]
Sent: sexta-feira, 5 de setembro
I am using the same jsp for create and modify techonolgy. Due to this i am facing some
problems, like for that i need to set the action in the javascript. But for that i
have to give the full path of action including base folder. which i think its
hardcoding, which i want to avoid.
Is there
Or:
Implement the PlugIn interface add the appropriate reference to your class
in yoir struts-config.xml
-Original Message-
From: Hue Holleran [mailto:[EMAIL PROTECTED]
Sent: Monday, 1 September 2003 19:41
To: Struts Users Mailing List
Subject: RE: [OT] Scheduling
Using this method
Hi,
I am using the following input tag in my html:form.
html:input type=image src=mapSource property= /
How can I populate this input image in the associated Action Form? I am
using the following method, but it is not working.
public void setMapSource() {
this.mapSource =
Does any one have validation rule to match two fileds. Like PASSWORD, CONFIRM PASSWORD
on the form. If both are not the same display error.
Thanks
Raj
-
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
Hi Adam,
The problem happens to both client side (javascript) and serverside.
Below are the codes for each file:
Struts-config.xml:
!-- form beans --
form-bean name=messageForm
type=com.mmi.ratt.emailmanager.message.form.MessageForm /
!-- action mapping --
action
A tourist walked into a pet shop and was looking at the animals on
display.
While he was there, another customer walked in and said to the
shopkeeper, I'll have a C monkey please. The shopkeeper nodded, went
over to a cage at the side of the shop and took out a monkey. He fit
a collar and
Hi,
i'm new to Struts and have some minor questions which haven't been answered by Dr.
Google, book or tutorial i've found and done so
far, so maybe someone here can give me a fast answer.
I've started working on a small application, where i nearly try to use everything
Struts offers me,
Edgar P Dollin [EMAIL PROTECTED] wrote:
I have gotten two html:forms two work in a limited fashion with struts.
Anything usable you'd like to be specific about? :)
I still have no clue how I can get a reference to a second form-bean.
Note that your always visible form, doesn't have to be
I just know Mark loves flash stuff ;-)
This should take your mind off dealing with validator quirks for a while.
(Sorry mate - couldnt find any lisp to go with it!)
http://www.freshsensation.com/samorost.swf
-
To
JBuilder seems to translate/compile every jsp in current project everytime
you run the project ( it uses Tomcat for running the web app ). I couldn't
find a setting to make JB only translate/compile JSP pages that have changed
since the last build. It gets real slow when there are many JSP pages.
This did not work for me also. And looking at ActionServlet code, I am not
even sure if this is used anywhere. Also this is deprecated.
Also Navjot had suggested to set
org.apache.struts = FINE in jre/lib/logging.properties.
This didn't work. But when I set
Somebody else asked that last week - check the archives, I don't have it
off the top of my head.
Actually it might be in the apachewiki - and if it isn't, it should be.
Adam
On 09/05/2003 03:44 PM Raj Atchutuni wrote:
Does any one have validation rule to match two fileds. Like PASSWORD,
A golden oldie!
On 09/05/2003 03:12 PM Mark Galbreath wrote:
A tourist walked into a pet shop and was looking at the animals on
display.
While he was there, another customer walked in and said to the
shopkeeper, I'll have a C monkey please. The shopkeeper nodded, went
over to a cage at the side
Sorry I have not been able to send!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I didn't get it.. can you try it again?
-Original Message-
From: Stephan [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 04, 2003 4:26 PM
To: [EMAIL PROTECTED]
Subject: [OT] Test
Sorry I have not been able to send!
That was neat.
-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]
Sent: Friday, September 05, 2003 10:21 AM
To: Struts
Subject: [FRIDAY] Some flash fun
I just know Mark loves flash stuff ;-)
This should take your mind off dealing with validator quirks for a
while.
I can hardly believe I am saying this, but the aardvark keeps eating my
pixie.
On 09/05/2003 05:28 PM Bradley Handy wrote:
That was neat.
-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]
Sent: Friday, September 05, 2003 10:21 AM
To: Struts
Subject: [FRIDAY] Some flash fun
Hi all,
Can someone please tell me if someone outthere is maintaining property
files containing all country names and their translations in different
languages? I need them for a webapp I'm creating.
thanks and regards,
Jeroen
--
X-Hive Corporation
e-mail: [EMAIL PROTECTED]
I see you're validating manually in the action. Have you tried doing it
automatically with validate=true in the mapping?
I'm not saying you have to do it like that, but it should work that way.
You should specify the input attribute in the mapping as well.
On 09/05/2003 03:49 PM Yuan, Saul
Distract him with some tasty ants. Mmmm. Ants.
Adam Hardy [EMAIL PROTECTED] wrote:I can hardly believe I am saying this, but the
aardvark keeps eating my
pixie.
On 09/05/2003 05:28 PM Bradley Handy wrote:
That was neat.
-Original Message-
From: Andrew Hill [mailto:[EMAIL
Raj Atchutuni [EMAIL PROTECTED] wrote:
Does any one have validation rule to match two fileds. Like PASSWORD,
CONFIRM PASSWORD on the form. If both are not the same display error.
http://jakarta.apache.org/struts/userGuide/dev_validator.html#plugs
Scroll to Comparing Two Fields
I thought those were spiders
-Original Message-
From: Michael Ruppin [mailto:[EMAIL PROTECTED]
Sent: Friday, September 05, 2003 12:10 PM
To: Struts Users Mailing List
Subject: Re: [FRIDAY] Some flash fun
Distract him with some tasty ants. Mmmm. Ants.
Adam Hardy [EMAIL PROTECTED]
As part of localizing a site, I'm trying to set the content type of the response. Now
I now I can do this within the JSP (%@ page contentType=text/html; charset=UTF-8 %
).
But I'd rather do this globally. I found out that you can set this as a parameter of
the controller in struts. This would
Hey Yann Lebreton !
I have the same doubt as you, but for time constraints we decide
to use the encode at the JSP.
I have some questions about Internationalizations and maybe you
/ someone else could give me a more clear perspective on this subject...
I' am developing a
Hi,
I'm using debian with Tomcat4. I copied all struts *.war-files into the
tomcat webapp-directory and they are listed in the manager. But running
the applications throws Exceptions like:
struts-example:
javax.servlet.ServletException: org/apache/jasper/runtime/JspException
at
Well, problem solved!!!
As a last resort, I updated all my jar files (struts.jar,
struts-validator.jar etc dated at 06/19/03) with the ones (dated at
06/29/03) from a fresh download of the Struts1.1 binary release. And
like a magic, the problem disappeared.
Thank you all for the suggestions,
Dear Sreekant,
When I programmed my RequestProcessor a about 2 weeks ago, I found
processRoles() throws exceptions which are absolutely not catchable by any
Exceptions listings in struts-config.xml. So, I wrote better Java code to
catch things like null pointers. Or (pardon the thick sarcasm),
All,
I have a Struts1.1.3 based application running on Jrun4 and Iplanet Enterprise 5
servers. I was wondering if there were any guidelines, faq's, or help in any of the
Struts books on how to improve application performance. Any help is appreciated.
Pete Serafin
HealthCare Recruiters
did you set the character encoding on the request before getting the data to the db ?
if you don't the input may be interpreted using the default JVM's encoding.
-Original Message-
From: José Gustavo Zagato [mailto:[EMAIL PROTECTED]
Sent: Friday, September 05, 2003 9:53 AM
To: 'Struts
I am using the html library from struts, otherwise use JSTL libraries for
my other requirements. I was curious if anybody uses both these tag
libraries together ? If so, which ones do you use from which library and why
? Also, is there any document/article comparing the 2 tag libraries ?
Pady -- generally, there is very little overlap between JSTL and the Struts HTML tags.
There are no JSTL tags that do the work that the Struts html tags do ... that being
said, I
encourage you to use the html-el library (basically the Struts html tags which support
EL)
so you have the full
pady this has been discussed many many times before in this list.
please search the archives.
-Original Message-
From: Pady Srinivasan [mailto:[EMAIL PROTECTED]
Sent: Friday, September 05, 2003 1:58 PM
To: [EMAIL PROTECTED]
Subject: Combining struts and JSTL tags...
I am using the
I am using the html library from struts, otherwise use JSTL
libraries for my other requirements. I was curious if anybody
uses both these tag libraries together ? If so, which ones do
you use from which library and why ? Also, is there any
document/article comparing the 2 tag libraries ?
--- Pete Serafin [EMAIL PROTECTED] wrote:
All,
I have a Struts1.1.3 based application running on Jrun4 and Iplanet
Enterprise 5 servers. I was wondering if there were any guidelines,
faq's, or help in any of the Struts books on how to improve application
performance. Any help is
I am using the html library from struts, otherwise use JSTL
libraries for my other requirements. I was curious if anybody
uses both these tag libraries together ? If so, which ones do
you use from which library and why ? Also, is there any
document/article comparing the 2 tag
fmt:message
-Original Message-
From: Paananen, Tero [mailto:[EMAIL PROTECTED]
Sent: Friday, September 05, 2003 1:07 PM
To: 'Struts Users Mailing List'
Subject: RE: Combining struts and JSTL tags...
I am using the html library from struts, otherwise use JSTL
libraries for
Hi Folks !
Does anyone here know if is possible to start a background
process ( like a daemon/service) using an action ? I need this feature
because the user will input a few parameters and a schedule date then
the system generate the user specific information.
Im using struts
I thought so. Although Google didn't return any thing. I will look in the
Struts archives.
Thanks
-- pady
[EMAIL PROTECTED]
-Original Message-
From: Chen, Gin [mailto:[EMAIL PROTECTED]
Sent: Friday, September 05, 2003 1:58 PM
To: 'Struts Users Mailing List'
Subject: RE: Combining
fmt:message
It does not use MessageResources, from what I can gather.
Or does it?
-TPP
-
This email may contain confidential and privileged material for the sole use of the
intended recipient(s). Any review, use,
Hi,
Is it possible to set the src URL of an input image tag in the action form?
For example, how can I assign a URL dynamically to the src attribute of an
input tag of type image?
html:form ..
html:image src=??? /
/html:form
Thanks
fmt:message
It does not use MessageResources, from what I can gather.
Or does it?
Never mind, found the way to do that:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg49508.html
-TPP
-
This email may contain
I tried it and still form is not retaining the value
this is the select i declared in my jsp
html:select size=6 property=s2 multiple=5 style=width: 80px
/html:select
there were another issue in the function which map the fields to the form
till date my dynaaction form were
I tried it and still form is not retaining the value
this is the select i declared in my jsp
html:select size=6 property=s2 multiple=5 style=width: 80px
/html:select
there were another issue in the function which map the fields to the form
till date my dynaaction form were
That was the answer I was looking for.
Thanks
-- pady
[EMAIL PROTECTED]
-Original Message-
From: Slattery, Tim - BLS [mailto:[EMAIL PROTECTED]
Sent: Friday, September 05, 2003 1:58 PM
To: 'Struts Users Mailing List'
Subject: RE: Combining struts and JSTL tags...
I am using the
Well, fancy scheduling API's aside, the action could launch a process via
the JDK's Runtime.exec() method. You can pass that parms and properties.
-Original Message-
From: José Gustavo Zagato [mailto:[EMAIL PROTECTED]
Sent: Friday, September 05, 2003 1:11 PM
To: 'Struts Users Mailing
Sure,
html:image src='%= formBean.url %'/
or wi html-el
html:image src=${formBean.url}'/
I haven't used the html-el lib so I'm guessing on that last one
-Original Message-
From: Das, Amar [mailto:[EMAIL PROTECTED]
Sent: Friday, September 05, 2003 2:24 PM
To: [EMAIL PROTECTED]
Hi,
We are using the Struts Upload support in our application, and it's working
in our development and test enviromnent, but not in our production
enviromnent. The exception is very strange and ambigous :
java.io.IOException: The operation completed successfully.
I have looked for permissions
Did you try list[index][index].property?
It is too late for me to test (1:34am - going to bed)
Robert Taylor wrote:
Okay. After looking at PropertyUtils I determined that this sort of syntax
is not allowed when accessing an object from an ArrayList of ArrayLists.
You have to wrap the child lists
Hi,
If I have a go button like this:
html:submitbean:message
key=button.go/html:submit
once I click on this button, I want it to go to
another jsp page sample.jsp. How can I do that? Is it
possible to use html:link to do the job?
regards,
__
Do you Yahoo!?
José,
This is really a system design question rather than a Struts
specific question so I've add the [OT] to the subject. I've seen an
implementation similar to what you're asking about. I'm not sure if what I
can contribute will help you with your situation.
Something to keep
Hi All,
I need to set the cache = true for all my pages using struts-config, how
can we do this? any ideas?
Thanks,
Anand
_
Tired of spam? Get advanced junk mail protection with MSN 8.
http://join.msn.com/?page=features/junkmail
input type=button value=Click Me
onclick=document.location='html:rewrite page=sample.jsp /'
-Original Message-
From: Rick Col [mailto:[EMAIL PROTECTED]
Sent: Friday, September 05, 2003 2:43 PM
To: [EMAIL PROTECTED]
Subject: How to click on a button to link to a page?
Hi,
If I
Basically, any of the struts tags that are struts-aware were not eliminated from
Struts-EL -- specifically, the bean:message tag was not eliminated because it
specifically looks in the application resources as specified in struts-config. The
fmt:message can be made to look into that bundle but
Here's how I do it in Struts 1.1. I'm not sure how 1.1 is different from
1.01 in the validation area so your mileage may very.
First I have a base class for all my ActionForm's called ExtendedActionBase.
Among other things, this class defines some standard button name for next,
back, cancel, and
Thanks,
Sorry, I did not make it clear. I actually need to
retrieve form data after I click go button. So,
basically, it has to go to action path specified in
struts-config.xml after clicking on the button.
Can I simply replace sample.jsp with action path
specified in struts-config.xml in your
Thanks. But it is not working.
In my form bean (MapForm) I am setting the following variable
public class MapForm extends ActionForm {
/* Map Source*/
private String
mapSource=http://geo.tpmc.com/output/dqs_GEO2056217212.jpg;;
.
public MapForm(){
try {
I was wondering why Struts doesn't put closing tags on the html generated.
Like html:text property=name /
Generates
input type=text name=name value=
Where is the / or /input ? Is there a reason for not generating this ?
Thanks
-- pady
[EMAIL PROTECTED]
you would need to create a mapping the for the sample.jsp suppose you call
it sample
in the action that will be processing your request when you ready to
redirect to sample.jsp just state
return mapping.findForward (sample);
Unless I misunderstood again, but this is just a regular way to do the
Lilian Maria Ramos Lima wrote:
Hi,
We are using the Struts Upload support in our application, and it's working
in our development and test enviromnent, but not in our production
enviromnent. The exception is very strange and ambigous :
java.io.IOException: The operation completed successfully.
Place html:xhtml/ at the top of your page.
David
--- Pady Srinivasan [EMAIL PROTECTED] wrote:
I was wondering why Struts doesn't put closing tags on the html
generated.
Like html:text property=name /
Generates
input type=text name=name value=
Where is the / or /input ? Is
1 - 100 of 122 matches
Mail list logo