Check out the original implementation of the Token classes I submitted
in October. It was posted as an attachment to the struts-dev news group.
It has full javadocs. Basically it created the Token in a custom tag.
So this should work for you.
-Rob
"Nanduri, Amarnath" wrote:
>
> Hello all,
>
Are you sure you defined the form in the struts-config.xml file correctly?
That is the only reason I can think of why you would get a null pointer when
trying to access the variable 'form'.
The tag should be like:
,
and the tag (from the path denoted in the html form) should have
the attrib
Check out this link
http://www.mail-archive.com/struts-dev@jakarta.apache.org/msg00383.html
This works fine with the struts-test.war
Ravi
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 09, 2001 4:35 PM
To: [EMAIL PROTECTED]
Subject: Struts on W
Has anyone managed to get struts running under WebSphere 3.5.2? I have
trouble getting it to work, it blows up in the ActionServlet when it
tries to read action.xml (I'm using version 0.5). The servlet tries to
call getResourceAsStream on its ServletContext, which in my case always
returns null. M
It looks like one option is to modify the dtd and declare a different entity
that holds all the datasources - is there a less intrusive way/ is this
recommended/strongly discouraged?
thanks
pratima
> -Original Message-
> From: Gogineni, Pratima
> Sent: Friday, March 09, 2001 1
If someone wrote one, I would buy it and my company would probably want
one for each developer. I would buy the hardback, even! What about it
Craig?
Julia
Spencer Smith wrote:
> Don't I wish!
>
> - Original Message -
> From: "Marty Fisher" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
Don't I wish!
- Original Message -
From: "Marty Fisher" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 09, 2001 12:36 PM
Subject: Strut Books
> Hello,
>
> Are there any decent books on the market now that give you a detailed
> account of how to modify/extend/use the s
I'm very confused by the behavior of the reset() method.
We populate a page from an action form with request scope which works fine,
however unless a property is actually used on the form it does not get
repopulated after the reset() method.
for example:
If I don't use or the reset() sets
Hello,
Are there any decent books on the market now that give you a detailed
account of how to modify/extend/use the strut classes ?
Thanks,
Marty
Hi,
I was wondering if I could configure the action servlet to pick up the
datasources from a different file (not struts-config).
I am trying to auto-generate the struts app for different users - the thing
is the action mappings are the same for all of them so I would prefer to use
a constant s
I have tried to remove myself from this list using the known options -
but to no avail. How can i get off this list.
Wong Kok Wai wrote:
> I believe the patterns will be published as a book
> soon, hence no PDF download is available.
>
> --- Maya Muchnik <[EMAIL PROTECTED]> wrote:
> >
>
> __
I believe the patterns will be published as a book
soon, hence no PDF download is available.
--- Maya Muchnik <[EMAIL PROTECTED]> wrote:
>
__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/
I am working wth ActionForms, one of which contains
some list boxes and some checkboxes. In building my ActionForm class, I am
noticing in the docs (under "Form Construction Tags") warnings like the following:
WARNING: In order to correctly recognize unchecked checkboxes,
Is it possible to get the id CSS attribute generated within the html custom
tags available within struts? From what I can see you can only get the style
and class attributes generated using the style and styleClass attributes on
the html custom tags.
Thanks,
Scott
Scott Snyder
Flashpoint Techno
It is very easy to become a member. But nobody can distribute this document
(a license issue).
Maya
"Deadman, Hal" wrote:
Has
anyone found a place to download this pattern catalog? It would be nice
to have a local copy in either PDF or HTML. This
link has the on-line version but you need to be
Has
anyone found a place to download this pattern catalog? It would be nice to have
a local copy in either PDF or HTML.
This
link has the on-line version but you need to be logged in to JDC.
http://developer.java.sun.com/developer/restricted/patterns/J2EEPatternsAtAGlance.html
Hal
-
Maya,
I get your point :)
Amar..
-Original Message-
From: Maya Muchnik [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 09, 2001 10:37 AM
To: [EMAIL PROTECTED]
Subject: Re: user time-zone
Amar, (I am sorry for a mix up with your last name)
Maybe you are correct. My point is time
Amar, (I am sorry for a mix up with your last name)
Maybe you are correct. My point is time zone and offset are two different
measures. You cannot calculate a time zone if you know an offset. But you can
calculate the offset if you know the time zone.
Maya
"Nanduri, Amarnath" wrote:
> Maya,
>
Welcome a "board", John. We are all gratefully happy that we have Struts and
its developers / contributors.
Maya
John Wright wrote:
> Struts developers and other contributors,
>
> I have been working several months on a project and was really getting
> nowhere. I had implemented my own MVC fram
Maya,
It all depends on your design and the project you are working on. Let
me give you an example...
If lets say i have locations in different parts of the world and i
want to reserve tickets for those Locations. I already know the timezone the
Location is present (since a locati
Sorry folks, for this thread, because it does not "concerns" the struts
directly (some designing issue).
Nanduri,
You can not consider an offset as a correct reference to time zone. For
example, Cairo - has +2 hours from GMT, Helsinki - the same +2 hours, Israel -
+2 hours. They are all in diffe
Hi Anand,
Can you post an example of a Form Bean source code which supports all
the primitive types that you mentioned. The reason i asked this is...i want
to know if in the setter/getter methods i have to do the appropriate
conversions or not. Thanks.
cheers,
Amar..
-Original Messa
That did not work but thank you for reponding. I was still able to modify the input
data. Do you have a site that explains the style attribute and contains some examples ?
Thanks again
Marty
Kartik Sudarsan wrote:
> Hi,
>
> This is in response to Marty's query (part query that is), i t
Struts developers and other contributors,
I have been working several months on a project and was really getting
nowhere. I had implemented my own MVC framework based on some usely
assorted ideas mostly from JavaWorld articles. Then I found Struts
yesterday. It blew me away. I intuitively kne
Keep all the timezone offsets in a database. Send a hidden field to the
client which maps the region he/she is in (using Javascript ?). Depending on
the region, hit your database and get the time zone offset from your
database.
cheers,
Amar..
-Original Message-
From: Maya Muchnik [ma
Sachin,
Try using single quotes ('') instead of double quotes (" "). I have the
following working for me:
-Deep.
> yes I imported the file..i also tried the single
> quotes but it doesn't seem to work..
> --- Martin Cooper <[EMAIL PROTECTED]>
> wrote:
> > Did you import th
yes I imported the file..i also tried the single
quotes but it doesn't seem to work..
--- Martin Cooper <[EMAIL PROTECTED]>
wrote:
> Did you import the FormConstants class at the top of
> your JSP?
>
> --
> Martin Cooper
>
> - Original Message -
> From: "Sachin Tendulkar" <[EMAIL PROTEC
You can edit /usr\local\jdk1.2.2\bin\.java_wrapper (find correct path)
Then look at the end of the file for lines :
# Run.
if [ -x "$prog" ]
then
exec $DEBUG_PROG "$prog" "$@" >
/usr/local/jakarta-tomcat-3.2/logs/java.log
else
echo >&2 "$progname was not found in ${prog}"
exit 1
fi
Hi,
This is in response to Marty's query (part query that is), i think we can
disable input in the struts text tag by specifying it in the style attribute
in the following manner
i hope this solves your problem.
Regards,
Kartik Sudarsan
IT Cube India Pvt. Ltd,
Unit 1, 8th F
Hi,
Does anyone configure Tomcat to accept debugger connections? For
example, if I am using JBuilder, Forte or Visual Cafe that has a
built-in debugger, then how to do this?
Thanks in advance.
Maya
Hi,
I would like to ask a question additional to Marty Q. Is it possible with
"html:form" tag (I am not sure that it is correct tag) to disable change (input) in
some fields when data are restored and displayed in the form. The 2nd Q: is it
possible to display default values for some fields when
Ah, I did not see your "symbol" before!. A good place to work!!! I was there for a
study class. I think, the only way you can do this as to read a config file in each
package itself. Or overwrite ActionServlet to do this for each action.
Maya
Ratnadeep Bhattacharjee wrote:
> >
> > In struts-exa
It is my guess. Because your Tomcat installation is done in other computer
you do not know what permission are at Tomcat working directory
(tomcat/dist/tomcat/work) where the jasper compiler will put your "java"
and "class" files for your servlets - jsp files. Check permissions there
and other dir
Hi,
Because i want Database Objects to control them self completely (like Enity
beans)
I must have a way to get Transaction support and make sure that in on thread
the same connection is being used. For example:
class Person
{
private String name;
private Country country;
Maya Muchnik wrote:
>
> Hi,
> I think struts tag has a target attribute, right? Netscape uses
> a "_blank" target in anchor. And it "hide" a HREF itself from a
> user. But in IE it does not work (I can see HREF). Is this Netscape
> specific? How I can do similar in IE? (Sorry, Craig T., I do no
> Katarina Nelson wrote:
>
> Hi,
>
> I try on my jsp page iterate an indexed property.
> I get this exception:
> "javax.servlet.ServletException: Invalid indexed property
> 'routingData[<%=s%>]'"
>
> My code:
> <%
> int counter = 0;
> String s = null
> s.valueOf(counter);
> for (int i = 0; i <
Hello,
We would like to add a attribute to a form tag. In the case of the text tag, we
need to disable the form input from being editted yet display its value. We also
need a max length attribute on the text area tag.
Can someone direct me to some jsp/servlet examples to extending the strut ta
Hi,
I think that custom tag attribute value can be either
all string or all runtime expression:
all string:
all runtime expression:
but these two cannot be combined like
this
Best
Regards,SlawekSLAWEK
ZACHCIALHewlett-Packard FranceSoftware App
Hi,
I already did
this.
The same code works
perfectly when I hardcode like this:
'
but
I want use an int to iterate instaed hardcode on the jsp
page.
Somebody help
me,
Katarina
-Original Message-From: Hatinder Chawla
[mailto:[EMAIL PROTECTED]]Sent: den 9 mars 2001
00
Here's part of the struts-config.xml
Here's part of the JSP page
40 matches
Mail list logo