Hi Patrick
Do you want to Map the to a Beanproperty of type CHAR.?
Regards
Amanpreet
-Original Message-
From: Patrick Cheng [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 31, 2003 8:26 AM
To: Struts Users Mailing List
Subject: Primitive type bean property
Hi All,
A quick ques
Yes!! Exactly. Is it Possible?
Rgds,
Patrick.
-Original Message-
From: Amanpreet [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 31, 2002 3:33 PM
To: 'Struts Users Mailing List'
Subject: RE: Primitive type bean property
Hi Patrick
Do you want to Map the to a Beanproperty of type CH
Hi jim
Javaworld gives a good example of using tiles in struts
http://www.javaworld.com/javaworld/jw-01-2002/jw-0104-tilestrut.html
I guess it will solve the purpose.
Regards.
A
Subject: need some sample Tiles definitions usage
I've taken the Login example from "Struts in Action" and converted
I have similar concerns and needs. I would like to start using Struts 1.2 (mainly for
the validwhen validation), but would rather wait for an official beta. I asked the
same question a few weeks ago, but had no answer.
TIA, Fabio.
> -Messaggio originale-
> Da: John McGrath [mailto:[EMAI
Hi ,
As pointed out by Mohan, Action chainning is not a good design practice...
You can forward from one action to another but they should eb performing completely
independent units of work.If two actions are used to complete only bits of work to
complete one logical response, then it is a bad de
MyEclipse works well. It dose cost $30.00, but seems well worth it based on
the features and ease of use and no I am not associated with the company.
For more information look at:
http://www.myeclipseide.com
Hope that helps.
Regards,
Todd
-Original Message-
From: Ashish Kulkarni [mai
Can you post the naughty class source code and the stack trace so we can
check the problem better?
Regards,
Domingo A. Rodriguez S.
--- [EMAIL PROTECTED] escribió: > Hi,
>
>
>
> I have a problem with action chaining. My action tag
>
>
> type="com.epolicy.arch.brokerage.web.agen
Hi,
I am writing a custom tag: MyLinkTag that extends the
org.apache.struts.taglib.html.LinkTag.
MyLinkTag has two fields. They are
showAlways : Boolean & alternateLink : String.
The functionality of the MyLinkTag is captured in the following code
snippet:
*
Hi,
I was trying one struts example. In that example, it has created one class
whcih extends ActionMapping class. I was just wondering why we need to
create this class and when is it used and whether we define this class in
struts-config or web.xml?
Regards
Deepak Saini
___
Place your code in doStartTag as it can return SKIP_BODY to exclude body from
resulting HTML.
return EVAL_BODY_INCLUDE if you want the body to be included
Nico.
> Hi,
>
> I am writing a custom tag: MyLinkTag that extends the
> org.apache.struts.taglib.html.LinkTag.
>
> MyLinkTag has two field
Todd G. Nist wrote:
MyEclipse works well. It dose cost $30.00, but seems well worth it based on
the features and ease of use and no I am not associated with the company.
For more information look at:
I'm using MyEclipse as well and I'm really happy with it. I tried several
Eclipse plugins but all
Sometime we need to add some info to struts mappings, and for this we use a class that
extends ActionMapping. As an
example, we need for a webapp to add a "description" to any mapping to build some
stats.
DescActionMapping defines a "description" attribute.
every action-mapping in struts-config
I remember that this is done to use custom properties in your action mapping
in the struts-config.xml file.
You can access them in your action.
Mohan
-Original Message-
From: deepak saini [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 31, 2003 6:08 PM
To: [EMAIL
All,
I recently brought my struts application to a relatively stable point (no
problems whatsoever).
However, I split apart my struts-config.xml file into 6 sub struts xml
files. I updated the web.xml file, but it gives me the following error
when trying to parse the resource paths.
[ERROR]
Straight from Craig McClanahan
"splitting struts-config.xml":
]>
&part1;
&part2;
&part3;
-Martin
- Original Message -
From: "Harrison, Joseph" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, Decembe
Try inserting a leading "/" in your paths. For example:
/WEB-INF/struts-arrest.xml. Also ensure that each of the config files is valid
with respect to the Struts 1.1 config DTD.
Quoting "Harrison, Joseph" <[EMAIL PROTECTED]>:
> All,
>
>
>
> I recently brought my struts application to a relati
Patrick,
Probabily you'll have problems with null values.
Paulo
- Original Message -
From: "Patrick Cheng" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, December 31, 2003 12:55 AM
Subject: Primitive type bean property
Hi All,
A quick questi
I added the "/" and have ensured that my sub config files are Struts 1.1
config DTD compliant. I am using tiles and am using the definition names in
lieu of the jsp page for my paths. Would this be a problem?
-Original Message-
From: Kris Schneider [mailto:[EMAIL PROTECTED]
Sent: Wednes
Have you tried running the app outside of JDeveloper to make sure it's not an
IDE config issue? Although I'm not that familiar with Tiles, I don't think
that's your problem.
Quoting "Harrison, Joseph" <[EMAIL PROTECTED]>:
> I added the "/" and have ensured that my sub config files are Struts 1.1
Title: Key words in struts-config.xml
Hi,
I have to specify a URL in the path for an action mapping in struts-config.xml.
The URL has a key word “context” and on server start up the xml file could not be loaded.
How to overcome the same?
Regards,
Swaminathan Rajagopalan,
Ph : (8520261)
I have a Struts action that is trying to show all of the errors that might occur from
either or both of two subordinate methods. The
code looks like:
...
ActionErrors errors = new ActionErrors();
ActionErrors errors1 = null;
ActionErrors errors2 = null;
Obj1 obj1 = new Obj1();
Obj2 o
I don't know what is causing the exact error from your code snippet, but a
ConcurrentModificationException is thrown when you try to modify a list on which you
have an iterator.
See here:
http://java.sun.com/j2se/1.4.1/docs/api/java/util/ConcurrentModificationException.html
Paul
-
Paul,
Thanks I had seen the exception javadoc. An in one of my subordinate methods I do have
a logging snippet that uses an Iterator to
display ALL of the contents of the ActionErrors. And I imagine that my subsequent use
of the ActionErrors.add(ActionErrors) method
also uses an Iterator to enum
It almost sounds like your code isn't handling errors1 and/or errors2 in a
thread-safe manner. ConcurrentModificationException will be thrown if one thread
is in the proces of iterating over a collection and another thread modifies that
collection. ActionMessages.add(ActionMessages) will iterate ov
Are you using basic auth, or form auth? I would use form auth, but I
don't know that it would make a difference.
You may have to secure the entire application with a role that all users
will be guaranteed to have.
> -Original Message-
> From: Daniel Massie [mailto:[EMAIL PROTECTED]
> Se
Could you show the implementation(s) of your ObjX.getErrors() methods. I'm
guessing there's probably a better way to do what you're trying to do.
It probably has something to do with the implementation of:
http://jakarta.apache.org/struts/api/org/apache/struts/action/ActionMessages.html#add(org.
So is it a bad design if you have
Action1 -> add CollectionOfObject1 to request
Action2 -> add Object2 request
And then chain them together to produce two request attributes? I have
some pages which display a list of Object1, and other pages which
require the Collection to populate a select. So
Ben,
The implementation is a pretty simple "getter". The ActionErrors object is built by
the call to obj1.method1().
/**
* Get ActionErrors object
*/
public ActionErrors getErrors() {
return errors;
}
The actual code for obj1 is very large (1900 lines) and of cou
Kris,
Thanks - I do not think I have multiple threads involved, but certaily multiple
Iterators may be hanging around that are not GC'd
yet.
And yes that was a typo. Because the real code is so huge, I created a simple example
to paste in and obviously did not compile it
:)
- Richard
-Or
I am using the Struts Workflow Extension in a sequence of pages, with one
workflow per page, to prevent users from navigating with the browser buttons,
and this works very well.
I would however like to have my own back button on some pages so that the user
can go back to a page with attributes et
When using the custom Ant definitions for the
Tomcat Manager web application, the instructions are normally to place the
catalina-ant.jar file in the ant/lib directory. Within which JDeveloper
directory should this jar file be placed when using the Ant 1.5 support in the
JDeveloper 9.0.5 pr
Although it's possible to generate that exception from within the same thread,
it's usually triggered by multiple threads accessing the same collection. In
general, if you grab an iterator, then modify the underlying collection, and
then call iter.next(), you'll see that exception. Having multiple
Could you provide your struts-config.xml file as well as any output from
your servlet container indicating what errors happen when you try to
load the application?
Kirk Wylie
M7 Corporation
Swaminathan Rajagopalan wrote:
Hi,
I have to specify a URL in the path for an action mapping in
struts-
On Wed, 31 Dec 2003 12:36:33 -0500, Tim Lucia wrote:
> So is it a bad design if you have
>
>
> Action1 -> add CollectionOfObject1 to request
> Action2 -> add Object2 request
>
>
> And then chain them together to produce two request attributes? I
> have some pages which display a list of Object1, a
I am using form based authentication. If I was to secure the entire
application how can I assign a role to user's who have not logged in?
Karr, David wrote:
Are you using basic auth, or form auth? I would use form auth, but I
don't know that it would make a difference.
You may have to secure th
I'd love to serve up a specific tile based on a role, but it doesn't
seem like it's currently possible in the Tiles Framework. Basically, I
want to do the following:
In this example, users with role "admin" get the userProfile.jsp, while
users wi
Role based tiles is possible in the Tiles framework by putting your own
controller before the tile definition.
The pdf document,
http://www.lifl.fr/~dumoulin/tiles/tilesAdvancedFeatures.pdf gives an
example of how to do this at Cedric Dumoulin's site,
http://www.lifl.fr/~dumoulin/tiles/
Happy Ne
On Tue, 30 Dec 2003 15:52:03 -0500, John McGrath wrote:
> we've been using a nightly build of 1.2, in order to be be able to
> more easily put ActionMessages into the session object. we're a
> little leery of putting it into production, though, until there's
> at least an official beta... any idea
I followed the MVC design. I give the data access
activity (insertThread) to the ThreadHandler class.
And a bean is passed as a parameter of the
insertThread method. However, I got compilation error
saying that
insertThread(java.lang.String, java.lang.String, ... ,
java.sql.Timastamp, int, ...
39 matches
Mail list logo