hi,
Is there any drawbacks of having too many struts_config.xml files. Any
guidelines on this ?
Thanks Regds
Ashwani Kalra
This message contains information that may be privileged or confidential and
is the property of the Cap Gemini
hi,
I am working with Jdeveloper and Struts 1.1
When I try to run any page , its not able to find the core action class.
struts.jar is lying in lib dir
Error is
java.lang.NoClassDefFoundError: org/apache/struts/action/Action
java.lang.Class java.lang.ClassLoader.defineClass0(java.lang.String,
Yeah, they are already there. Without this I will not be able to compile my
files. and IMO ie for development.
-Original Message-
From: Adrien GEYMOND [mailto:[EMAIL PROTECTED]
Sent: Monday, December 29, 2003 4:30 PM
To: Struts Users Mailing List
Subject: Re: struts and JDeveloper 9.03
ResourceBundle resource =
ResourceBundle.getBundle(resources.application);
Else :
If you are in Action/Lookup Dispatch Action class
MessageResources resource = getResources(request);
-Original Message-
From: Kalra, Ashwani [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 23, 2003 2:24 AM
hi,
Is it possible to generate the formbeans from jsp or html. Is there any tool
available ?
Regds
Ashwani
This message contains information that may be privileged or confidential and
is the property of the Cap Gemini Ernst Young Group. It is
hi,
I want to directly access the keys and its values in applcation.properties (
default resource bundle file in struts). Can any body tell me which is the
class in struts(utility class) which helps me retrieve the values based on
the keys from this file.
/Ashwani
=
(org.apache.struts.util.PropertyMessageResources)application.ge
tAttribut
e(org.apache.struts.Globals.MESSAGES_KEY);
out.println(res.getMessage(KEYNAME));
Dhiraj
-Original Message-
From: Kalra, Ashwani [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 23, 2003 12:27 PM
To: Struts (E-mail)
Subject: retrieving values from
= getResources(request);
-Original Message-
From: Kalra, Ashwani [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 23, 2003 2:24 AM
To: Struts Users Mailing List
Subject: RE: retrieving values from application.properties file
hi,
One more thing to add is that I dont have access to request
Extending ActionServlet is discouraged in 1.1 . Which version are you on.
Extend RequestProcessor instead.
/Ashwani
-Original Message-
From: Sudhakar G [mailto:[EMAIL PROTECTED]
Sent: Monday, December 22, 2003 4:46 PM
To: [EMAIL PROTECTED]
Subject: sub classing Action Servlet
Hi,
from the code you sent , there doesnt seem to be any problem.
i don't use category class at all
then how come its showing errori don't get it...
Some classes internally still uses this class. They will finally be removed.
Check to see that Category class (org/apache/log4j/Category) is
, Log
regards
sathish
--- Kalra, Ashwani [EMAIL PROTECTED] wrote:
from the code you sent , there doesnt seem to be any
problem.
i don't use category class at all
then how come its showing errori don't get
it...
Some classes internally still uses this class. They
will finally
DynaValidator forms stores data in Hashmap internally if you dont want to
define norma action forms.
-Original Message-
From: Antony Paul [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 10, 2003 2:40 PM
To: struts
Subject: When HashMap will replace ActionForm ?
Hi,
Is there
hi,
Can any one point me to the above pattern documentation/usage used in
struts.
Thanks Regds
Ashwani Kalra
This message contains information that may be privileged or confidential and
is the property of the Cap Gemini Ernst Young Group.
Do you have log4j.jar in web-inf\lib dir ?
-Original Message-
From: Sathish Babu K R [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 10, 2003 12:16 PM
To: Struts Users Mailing List
Subject: Log4J
hi all
i m getting this error...
java.lang.NoClassDefFoundError:
hi,
I am adding a blank row in my jsp page by pressing the button and submitting
to the same page. The problem is that when user presses the referesh button,
It should not add a row. Is there any standard way of handling this problem
?
TIA
Ashwani Kalra
An
Struts (E-mail)
Kalra, Ashwani
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Kopie
08.12.2003 07:56
hi Caroline,
Redirect has problem that request parameters will be lost. But I think I
give it a try..
Thanks
Ashwani Kalra
http://www.geocities.com/ashwani_kalra
-Original Message-
From: Caroline Lauferon [mailto:[EMAIL PROTECTED]
Sent: Monday, December 08, 2003 2:59 PM
To: Struts
IMO Reloading is not possible for the classes in server classpath. eg beans
and other utility classes used by servlets or ejbs.
-Original Message-
From: Nick Faiz [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 02, 2003 12:31 PM
To: 'Struts Users Mailing List'
Subject: RE: Is it
its redirect(true or false) attribute in actionforward tag
-Original Message-
From: Antony Paul [mailto:[EMAIL PROTECTED]
Sent: Monday, December 01, 2003 5:41 PM
To: struts
Subject: redirecting insead of forward.
Hi,
Is it possible to tell the controller that redirect to
next page
hi,
I have the following flow.
Page A : Display some rows. These rows are not in DB.Initially there are
no rows. It contains add button
Page B : On clicking the add button of Page A, page B opens up the form
which user fills and forward back to page A.
Page A now displays new row along with
: RE: Need to retain the data of the previous page
You have to persist your data. If you declare your form in request
scope, then once user clicks on submit on page A, you have to save the
data to a Value Object stored in session.
Khalid
-Original Message-
From: Kalra, Ashwani [mailto
Hi,
Pls read this thread
http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=articlegroup=weblogic.develo
per.interest.jspitem=11050utag=
IMO not possible. However I have heard that there are IDE tools which do the
equivalent for you.
/Ashwani
-Original Message-
From: Shakti
Have you read other posts
You are storing and retrieving by different names.
/Ashwani
-Original Message-
From: Honza Spurný [mailto:[EMAIL PROTECTED]
Sent: Friday, November 28, 2003 5:15 PM
To: Struts Users Mailing List
Subject: Re: request.setAttribute
Shyam Krishnan wrote:
Why you
if you are working with servlets, or ejb and running weblogic in development
mode, then it will automatically pick the changes. However this is not true
if there is any change in utility classes like action and other formbean
classes. If you are not using ejb etc, I suggest use Tomcat for
Logging is not part of struts. You can configure any logging api with
struts. Struts doesnt assume any thing. For eg.
put your log4.properties/xml file in classpath and log4.jar and start using
the way you do it with other applications
/Ashwani
-Original Message-
From: [EMAIL
all inline
Hi all,
I am starting to learn Struts. On going throgh the
documentation I
have
some doubts.
1. Is a form bean is an ActionForm.?
Yes
2. It says that data is stored in JavaBeans. In the
presentation layer I
have to display several select boxes whose value is fetched
I will suggest IDEA editor. or more powere full is from exadel(not used)
Cheers
Ashwani Kalra
http://www.geocities.com/ashwani_kalra
-Original Message-
From: Meenakshi Dhawale [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 20, 2003 7:45 PM
To: [EMAIL PROTECTED]
Subject: STURT set
hi,
I have one link http://localhost:8080/controller?id=23
when user clicks it , a page is loaded, user fills in the details in the
form, and presses one button and the same page should be loaded . The
problem is that redirecting to the same page is done using forward, which
leaves the address
hi,
I tiles you have to maintain two pages. One that includes all the sections
like header, footer, variable content jsp, etc. and one jsp which contains
your code(varible part).
This doubles up the no of jsps ? Is it ok. any work around ?
TIA
Ashwani Kalra
http://www.geocities.com/ashwani_kalra
It also gives this error for various other problems,Which are difficult to
debug.For eg if the element obtained is null, then also it gives the same
error. So use logic:present before printing its value.
/Regds
Ashwani
-Original Message-
From: Thakur, Vikram [mailto:[EMAIL PROTECTED]
Struts in action by Ted is also considered one of the good books. I have
oreilly's book is also good. You can go to amazon site to read the reviews
and compare them.
Regds
Ashwani
-Original Message-
From: Brian Richards [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 08, 2003 8:32 AM
Hi,
I am not able to figure out what problem I face when I am not using this
tag. for eg. I am able to use the relative paths to the images from the
page whose url is http://localhost:8080/mystruts/logon.do
http://localhost:8080/mystruts/logon.do on the browser. Can someone give
an example on
as above, it would tell the
browser that the
base url for all relative urls in this page is
app1/mystruts/dir1 and not
app1/mystruts.
HTH
Vikram
- Original Message -
From: Kalra, Ashwani [EMAIL PROTECTED]
To: Struts (E-mail) [EMAIL PROTECTED]
Sent: Tuesday, September 23, 2003 4:11 PM
hi,
I could not understand the use of base tag from the example. Can any one
explain ?
Regds
Ashwani Kalra
http://www.geocities.com/ashwani_kalra
http://www.geocities.com/ashwani_kalra
This message contains information that may be
try here
[EMAIL PROTECTED]
e-mail to [EMAIL PROTECTED] and, in the text of
your message (not the subject line), write: SIGNOFF WEBSPHERE
* To join this list
e-mail to [EMAIL PROTECTED] and, in the text of
your message (not the subject line), write:
hi,
Sorry for the offtopic. But can any one using IDEA build 876 tell me how to
associate external java docs
Regds
Ashwani Kalra
This message contains information that may be privileged or confidential and
is the property of the Cap
Please ignore. I got it.
-Original Message-
From: Kalra, Ashwani [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 18, 2003 4:00 PM
To: Struts (E-mail)
Subject: offtopic idea 876 external javadoc
hi,
Sorry for the offtopic. But can any one using IDEA build 876
tell me how
It looks that you are sending output to the client before redirecting. Just
make sure that you are not writing any thing to the client(browser)
/Ashwani
-Original Message-
From: Adam Fisk [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 17, 2003 9:32 AM
To: [EMAIL PROTECTED]
Subject:
Hi,
I read in log4 manual
Calling the getLogger method with the same name will always return a
reference to the exact same logger object
It means when I say
getLogger(com.abc.class1)
getLogger(com.abc.class2)
Both classes are from the same package but name is different. So will it
return me
Hi,
There are various extension points including the one you have listed them.
The pros and cons, and reasons to extend is mentioned in the Oreilly book.
You can read that chapter(Forgot the chapter).
Cheers
Ashwani Kalra
http://www.geocities.com/ashwani_kalra
Tomcat, I am suffering and no luck yet. I hate it now.
Its easy with tomcat also. What ever you did for weblogic , its same as
that.
What problem you faced ?
Cheers
Ashwani Kalra
http://www.geocities.com/ashwani_kalra
Ha.. ha..
I can pin point so many problems in the existing so called perfect
software/frameworks. Why dont you just contribute for this feature lacking.
And I dont think there is not alternative available to what you want.
Instead you could have asked for the solution of your problem then finding
(form, new ExampleVO());
is shown.
Please suggest me whether this is good to use such mapping to get the
valueobject instance and also do they support all possible
datatypes and
different mappings.
Thanks.
-Original Message-
From: Kalra, Ashwani [mailto:[EMAIL PROTECTED]
Sent
This message contains information that may be privileged or confidential and
is the property of the Cap Gemini Ernst Young Group. It is intended only
for the person to whom it is addressed. If you are not the intended
recipient, you are not
hi,
Struts doesnt enforce or set any rules or guidelines for using ejbs. With
in your action classes you should use Business Delegate to hide the client's
dependency on any persistance layer ejb or DAO.
Cheers
Ashwani Kalra
http://www.geocities.com/ashwani_kalra/
-Original Message-
One drawback. ActionForm classes import classes from http packages. which
binds it to the particular layer.
Cheers
Ashwani Kalra
http://www.geocities.com/ashwani_kalra/
-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]
Sent: Friday, August 01, 2003 10:47 AM
To: Struts
46 matches
Mail list logo