I have a JSP file,and I use in this page,but it raise error,my
code is follows:
<%@ taglib uri="/WEB-INF/struts-form.tld" prefix="html" %>
and my Form is follows:
..
public ActionErrors validate(ActionMapping mapping,HttpServletRequest
request) {
ActionErrors errors = new ActionError
These are the lines in run.bat
here %JAVA_OPTS% indicates the need information that needs to be set. Should
I still remove rem
rem Setup JBoss specific properties
set JAVA_OPTIONS=-Xdebug-Xnoagent -Djava.compiler=none
-Xrunjdwp:server=y,transport=dt_socket,address=8000,suspend=n
set JAVA_OPTS=%
Quick question --
The JAVA_OPTS line you have below starts with "rem" which indicates a
remark in batch files. That would indicate that the line isn't getting
executed. If you remove the "rem," does that help?
Chris
-Original Message-
From: Max Cooper [mailto:[EMAIL PROTECTED]
Sent: We
You can use whatever port you want, just make sure the port number in
the script that starts JBoss matches the port that you have in your
Eclipse debug configuration.
I suppose the "default" port for JBoss is whatever it is set to in the
comment in the run script (8787?). The default in the maven-
Hi Chandra
I am using Jboss with Eclipse and the operating system I am using is
windows XP. In jboss/bin/run.bat file the java options are specified as
rem set JAVA_OPTS=-classic -Xdebug -Xnoagent -Djava.compiler=NONE
-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y %JAVA_OPTS%
but
you can add delete functionality with display tag by assigning an
actionmapping to delete a particular record based on parameters passed.
though i tried using it on extremecomponents. though same concept applies
with display tag.
On 2/23/06, Lixin Chu <[EMAIL PROTECTED]> wrote:
>
> why displayta
why displaytag does not meet your requirements ?
On 2/22/06, Narayanan, Shiva <[EMAIL PROTECTED]> wrote:
>
> Hello All,
>
> What is the best way to sort and page search results, (with delete button
> for each row) using Struts? Are there are any open source tag libraries to
> achieve this?
>
>
>
>
Hi All,
Appologies for the off topic posting. Does anyone Know how I can access a
bean property that takes a parameter using EL.
For example if in a bean I have define a name property with public String
getName(){return name;}
I can access this with EL
${mybean.name}
But suppose in my bea
OK, thanks. I'll look at that.
- Brendan
-Original Message-
From: Gary VanMatre [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 22, 2006 4:55 PM
To: Struts Users Mailing List
Subject: RE: Re: [SHALE] Using the Test Framework
>From: "CONNER, BRENDAN (SBCSI)" <[EMAIL PROTECTED]>
>
>From: "CONNER, BRENDAN (SBCSI)" <[EMAIL PROTECTED]>
>
> If you are using the shale test framework with simple junit tests, the
> test framework doesn't digest your faces-confg.xml anyway. You have to
> do that kind of setup in the test cases.
>
> The isolated code you want to test in the mana
Disabling keys in the browser is a bad idea for regular users, a disabling idea
for the vision-impaired, and for many organisations technically against the law
since you're deliberately doing something out of the norm which makes it
inaccesible to disabled people.
--
"His comrades fought be
>From: "Ryan Wynn" <[EMAIL PROTECTED]>
>
> I think it may be beneficial to extend the clay dtd to add extra
> elements for documentation. Just like the component element in the
> faces-config.xml has a description sub-element. I say this only
> because I am trying to document all of my clay con
If you are using the shale test framework with simple junit tests, the
test framework doesn't digest your faces-confg.xml anyway. You have to
do that kind of setup in the test cases.
The isolated code you want to test in the managed beans would just use a
indirect reference (the managed bean name
I think it may be beneficial to extend the clay dtd to add extra
elements for documentation. Just like the component element in the
faces-config.xml has a description sub-element. I say this only
because I am trying to document all of my clay config definitions and
it would really be nice if I co
>From: "CONNER, BRENDAN (SBCSI)" <[EMAIL PROTECTED]>
>
> Well, the thing that's nice about my approach is that all the
> configuration and testing changes take place completely outside of the
> application. Our application code (including the faces-config.xml and
> web.xml files) are under sour
Sorry, ignore that last paragraph. ;-)
- Brendan
-Original Message-
From: CONNER, BRENDAN (SBCSI)
Sent: Wednesday, February 22, 2006 3:47 PM
To: Struts Users Mailing List
Subject: RE: Re: [SHALE] Using the Test Framework
Well, the thing that's nice about my approach is that all the
co
Well, the thing that's nice about my approach is that all the
configuration and testing changes take place completely outside of the
application. Our application code (including the faces-config.xml and
web.xml files) are under source control, and we don't want to modify any
of that just to test t
>From: "CONNER, BRENDAN (SBCSI)" <[EMAIL PROTECTED]>
>
> Are you saying I should register my delegates as JSF managed beans?
>
Sure, why not? The faces IoC container is not spring but you could still have
some of the same benefits. In fact, you could snap in Spring down the road
using the S
Thank you for reading my post.
My struts application works in my own PC but it does not works on Host
that i purchased.
it return 404 error.
should i add a new MIME type for .do ?
if so , What kind of MIME it should be ?
Thank you
--
Are you saying I should register my delegates as JSF managed beans?
- Brendan
-Original Message-
From: Gary VanMatre [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 22, 2006 2:49 PM
To: Struts Users Mailing List
Subject: RE: Re: [SHALE] Using the Test Framework
>From: "CONNER, BREN
>From: "CONNER, BRENDAN (SBCSI)" <[EMAIL PROTECTED]>
>
> In case anyone else was in the same boat I was in trying to run the Shale
> Test
> Framework "in isolation" on the Web Tier of a 3-tier application, I did come
> up
> with a technique that doesn't depend upon Spring. This is in the conte
Yes.
--
James Mitchell
EdgeTech, Inc.
http://edgetechservices.net/
678.910.8017
Skype: jmitchtx
On Feb 22, 2006, at 3:16 PM, Juergen Schmailzl wrote:
Hi,
is it possible to validate indexeded properties with Struts
validator (struts 1.2.7)
-
Hi,
is it possible to validate indexeded properties with Struts validator (struts
1.2.7)
The first thing that jumps out is that you have the html:select and the
html:options tags bound to the same form bean property (eng_name).
That's almost certainly not what you want to do, although I don't think
it explains the problem you're asking about.
What's the 'action' attribute set to f
Shasirekha Engala wrote:
Hi,
I want some information regarding the difference between DynaActionforms
and ActionForms and advantages of DynaActionforms over ActionForms. I need
the code of subclassing the dynaforms and using it. For example, I am having
a BaseForm with the variables pageno(
Try looking at your web servers custom error pages. Once the container is
unavailable the web server is the only one that can process a request. Once
the server goes down you will need to go with Laurie's said (good advice for
any shop)
Bryan LaPlante
-- Original Message ---
From:
Jay Burgess wrote:
Our app currently throws a custom UnavailableException from a couple of places
inside our Action handlers when the app is "offline" doing end-of-day
processing. We thought we had this situation covered from the UI perspective, as
we'd configured the following mapping in our web
Well it looks like I've found the cause of the problem.
The ServletResponse object passed into my Controller's execute is
wrapped inside of ServletResponseWrapperInclude, which wraps an
instance of org.apache.catalina.core.ApplicationHttpResponse. In that
class, the addCookie() method is overidden
[EMAIL PROTECTED] wrote:
Hi:
I am trying to put in editable checkbox inside HTML table, but it
doesn't seem to work.
any ideas where am going wrong ?
Thanks in adv.
Digant
varStatus="status2">
Dear Colleagues, I use struts 1.2.8 I have an application with two message
resource bundles: ApplicationResources.properties and
ApplicationResources_es.properties. ApplicationResources.properties is written
for the English language, and my intention is to use the english as the default
lenguag
On 2/22/06, Fali <[EMAIL PROTECTED]> wrote:
> Moosbauer, I use MappingDispatchActions and they work fine for me. I enter
> the name of the method in the actual Action definition in the
> struts-config.xml using the attribute called "parameter" ... ... Once in the
> mapped method, I know what bu
Moosbauer, I use MappingDispatchActions and they work fine for me. I enter the
name of the method in the actual Action definition in the struts-config.xml
using the attribute called "parameter" ... ... Once in the mapped method, I
know what button of the form that was clicked by the user because
I knew something was weird... I have basically the exact same code in one
app on every page in response to onLoad:
onLoad="document.onkeydown=function(e){if(event.srcElement.type=='text'||event.srcElement.type=='textarea'){return
true;}else{return false;}};"
Now, at least in IE, that seems to blo
http://www.catb.org/~esr/faqs/smart-questions.html#beprecise
http://www.catb.org/~esr/faqs/smart-questions.html#volume
On 2/22/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hi:
> I am trying to put in editable checkbox inside HTML table, but it
> doesn't seem to work.
> any i
Hi:
I am trying to put in editable checkbox inside HTML table, but it
doesn't seem to work.
any ideas where am going wrong ?
Thanks in adv.
Digant
In case anyone else was in the same boat I was in trying to run the Shale Test
Framework "in isolation" on the Web Tier of a 3-tier application, I did come up
with a technique that doesn't depend upon Spring. This is in the context of
using IBM's RSA IDE, but I imagine a similar technique would
see intermixed
> -Original Message-
> From: Ian Roughley [mailto:[EMAIL PROTECTED]
====
>
>
> The ww:action is not used for AJAX interactions with the
> server. There
Ok that is cool to know.
> are several UI widgets that can be AJAX enabled - the one you
> would be
> looking
This problem is as old as the web browsers are, at the beginning browsers
and http were just there to display static pages, not for building
applications with it, so the back button was not a problem.
But you get serious problems with that when building applications.
But as Frank and Josh pointed,
hemant kumar ha scritto:
hi ahmed i need struts 1.1.zip file. if u hv it then send it.
Seriously :-P , you can download Struts 1.1 files from the archive site:
http://archive.apache.org/dist/struts/struts-1.1/
Ciao
P.S.: Please do not ask anyone to send you through e-mail things you can
fin
What if Javascript is turned off? BTW, I use Alt+Left all the time on
websites with disabled navigation buttons.
On 2/22/06, Eickvonder Bjoern <[EMAIL PROTECTED]> wrote:
> Just add
>
> document.onkeydown = function(e) {
> if (document.all) {
> if (event.srcElement.t
Doesn't stop me from clicking my mouse wheel, which is mapped to Back :)
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM: fzammetti
Yahoo: fzammetti
MSN: [EMAIL PROTECTED]
On Wed, February 22, 2006 11:09 am, Eickvonder Bjoern said:
> Just
Is it Friday already?
-Dennis
hemant kumar <[EMAIL PROTECTED]>
02/22/2006 11:19 AM
Please respond to
"Struts Users Mailing List"
To
user@struts.apache.org
cc
Subject
need some files..
hi frnds..i m very much new to struts programing...so i need some help..
i need 13 .jar files..
Antonio Petrelli wrote:
> hemant kumar ha scritto:
>> hi frnds..i m very much new to struts programing...so i need some help..
>> i need 13 .jar files..to place them in my lib folder..plus the .tld
>> files..
>> plz it would be very helpful if nebody send them to...
>> [EMAIL PROTECTED] .
hi ahmed i need struts 1.1.zip file. if u hv it then send it.
Ahmed Hashim <[EMAIL PROTECTED]> wrote: What do you mean by 13 .jar file?
Do you mean the struts lib's and tag lib's?
You can easily download them from the website.
On 2/22/06, hemant kumar wrote:
>
>
>
> hi frnds..i m very much new
hemant kumar ha scritto:
hi frnds..i m very much new to struts programing...so i need some help..
i need 13 .jar files..to place them in my lib folder..plus the .tld files..
plz it would be very helpful if nebody send them to... [EMAIL PROTECTED] .
thnks in advance..
And a cu
RTFM ?
2006/2/22, hemant kumar <[EMAIL PROTECTED]>:
>
>
>
> hi frnds..i m very much new to struts programing...so i need some help..
> i need 13 .jar files..to place them in my lib folder..plus the .tld
> files..
> plz it would be very helpful if nebody send them to...
> [EMAIL PROTECTED] .
>
>
What do you mean by 13 .jar file?
Do you mean the struts lib's and tag lib's?
You can easily download them from the website.
On 2/22/06, hemant kumar <[EMAIL PROTECTED]> wrote:
>
>
>
> hi frnds..i m very much new to struts programing...so i need some help..
> i need 13 .jar files..to place them
hi frnds..i m very much new to struts programing...so i need some help..
i need 13 .jar files..to place them in my lib folder..plus the .tld files..
plz it would be very helpful if nebody send them to... [EMAIL PROTECTED] .
thnks in advance..
--
Just add
document.onkeydown = function(e) {
if (document.all) {
if (event.srcElement.type=="text" ||
event.srcElement.type=="textarea") return true;
else return false;
}
else {
if (e.target.type=="text" || e.target.ty
Hi,
normally we are getting the properties them in the normal Struts-way
with the help of the request or bean:message , but for the purpose of some
test classes it would be useful to access them
within a main class or a plain java class. I tried this but I didn't find a
solution.
Is there any pos
Try this first: http://wiki.apache.org/struts/StrutsWidgets
On 2/22/06, PC Leung <[EMAIL PROTECTED]> wrote:
>
>
> The above line returns blank. Where goes wrong?
>
> In previous page as below, the combo box has values.
>
>
>
> property="eng_name
Hi,
Thanks for your pointers.
It turns out that on *all* forms the enctype="multipart/form-data" was set
even though no file upload was taking place. This caused the commons
multipart request handler to allocate huge amounts of memory (256K for
each field on the form) for each form which never g
I am using eclipse/MyEclipse for my application development. I never did
such complex setting for debugging.
For me it always works fine with tomcat 4, tomcat 5 and Weblogic 8.1.
Do these setting really needs to debug the application.
Nitin M. Mandolkar.
On 2/22/06, [EMAIL PROTECTED] <[EMAIL PR
Is your server(i.e tomcat or Jboss or whatever) running and listening
for debugging connections?
here is how I use Tomcat, JBoss and Eclipse to build and debug
applications.
Which ever platform you are using (tomcat or JBoss) you need to start
them with the JPDA debugging enabled. For tomcat thi
The above line returns blank. Where goes wrong?
In previous page as below, the combo box has values.
struts-config.xml is
Can you please check eclipse log file at same. You will get more details.
Nitin M. Mandolkar.
On 2/22/06, Shasirekha Engala <[EMAIL PROTECTED]> wrote:
>
> Hi
>
> I have some problem related to eclipse. When I am trying to debug my
> struts
> application I am getting the error as "Failed to conne
Thanks Jim, that information is valuable for me, i have no access to the
iplanet machine, and i can´t change any configuration. The same war is
working on Sun One 6.1 and tomcat, i tried changing the configuration
from struts-config to web.xml, and same results. I'll try to get a copy
of the sa
The ww:action is not used for AJAX interactions with the server. There
are several UI widgets that can be AJAX enabled - the one you would be
looking for is the remote DIV. But, this would be most helpful in a
webwork application to make it portlet-like, not sure how it would help
when deploy
See intermixed
> -Original Message-
> From: Michael Jouravlev [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, February 21, 2006 7:02 PM
> To: Struts Users Mailing List
> Subject: Re: Action Oriented Framework Rendering Mode
>
>
> On 2/21/06, Pilgrim, Peter <[EMAIL PROTECTED]> wrote:
> > > >I
Hi
I have some problem related to eclipse. When I am trying to debug my struts
application I am getting the error as "Failed to connect to remote VM".
Can I get solution to this problem.
Regards
Shasi
-
To unsubscribe, e-mail
Hello group,
i have a problem with the logic:iterate tag ... i want to show a list of
objects (which habe attributes with values of 0 or 1 or 2)
I want to show them in a list of radio-elements
OBJECT 1 0 1 20 1 20 1 2
OBJECT 20 1 20 1 20 1 2
...
where 0,
[EMAIL PROTECTED] ha scritto:
Hi All
I have used tiles in while this week and when I look at Tiles user
guide, it says "If you are using Struts 1.2.x you will need to also
make sure you are using the
|org.apache.struts.tiles.TilesRequestProcessor| or a
|RequestProcessor| class that extends i
62 matches
Mail list logo