There's an "interesting" poll posted at About.com that asks Java web
developers: "Which framework would do you plan to use on your next
project?" By itself, it's an interesting question, but the poll
provides only five choices, and does not provide an "Other" choice.
The most interesting thing is t
Hi
Suppose i have entry text fields on a jsp, named ttype
and comment,
i want to add a validation saying that if ttype='2',
then comment cannot be blank, if ttype='3' or any
other value then comment can be blank,
what i am trying is following
test
(ttype==2) and (comm
On 11/1/05, Ashish Kulkarni <[EMAIL PROTECTED]> wrote:
> Hi
> Suppose i have entry text fields on a jsp, named ttype
> and comment,
> i want to add a validation saying that if ttype='2',
> then comment cannot be blank, if ttype='3' or any
> other value then comment can be blank,
>
> what i am tryin
I am trying to find what attributes or elements can be placed inside a
global-exceptions element tag. I am in a module, and would like to have the
exception be thrown outside the module, to an index.jsp page. Currently this
snippet throws me to a index.jsp page within my module, and that is not wha
>Gary, one more thing that would be nice would be if the parser allowed
>symbols and there values to be specified on the component and element xml
>elements.
>
> Would this be a difficult fix?
>For example,
>
>
>
>
>
>I noticed that the Builder adds symbols to target ComponentBeans based on
>whet
Jim Reynolds wrote:
I am trying to find what attributes or elements can be placed inside a
global-exceptions element tag.
Does
http://struts.apache.org/struts-doc-1.2.x/userGuide/building_controller.html#exception_handler
help?
Dave
--
That is what I was looking for, but for some reason, I still do not see how
to get out of a module?
I put module="" in my exception, and it works, but it is not listed in the
attributes list from the preceding link?
Is it acceptable to use module="" to get out of module? even though it is
not liste
Gary,
I like your first thought.
Simply because it mimics . I guess being exactly inline with
the html counterpart is not that important because attributes is currently
"not inline" as in . But I Iike the shared set
element evaluated in different contexts.
Ryan
On 11/1/05, Gary VanMatr
Thanks for the responses.
I will go with Michael's suggestion. In the future, the number of
collections may not stay constant, but if it comes to that, I will have
to look for an alternative solution.
Otmar Manuela
Michael Rasmussen wrote:
You could try putting all of your collections int
Jim Reynolds wrote:
I put module="" in my exception, and it works, but it is not listed in the
attributes list from the preceding link?
Is it acceptable to use module="" to get out of module? even though it is
not listed in atts list
Hrm. I'll have to defer to somebody that actually knows som
Hi,
I am getting this following error when i try to submit
the form that iterates over arraylist of objects.
Please help me with this error.
Nov 01 09:45:55 2005: Servlet action: unable to
service request: BeanUtils.populate
Nov 01 09:45:55 2005: javax.servlet.ServletException:
BeanUtils.populate
I'm getting the following error message upon shutdown of my web app:
11/01 10:07:15 error [axis] javax.servlet.UnavailableException: Cannot
initialize RequestProcessor of class
com.ncs.app06.servlet.CustomRequestProcessor:
java.lang.ClassNotFoundException:
com.ncs.app06.servlet.CustomRequestPro
Hi,
Please look at the following code:
studentEnrollment is a bean that I have attached to the DynaActionForm that
is configured. That bean has a Set called paymentDetails.
I intend to iterate over this HashSet and its just not working. Its not even
entering the loop.
A little hack that makes t
Are these tag libs seperate from what comes with Struts 1.2.7? For example I
am interested in using Struts to build a data grid application but I found a
datagrid library at:
http://jakarta.apache.org/taglibs/sandbox/doc/datagrid-doc/intro.html
Are datagrid capabilities not included in Struts
You need to tell your loop to use the key or the value from your set.
...
that should fix it up.
On 11/1/05, Raghu Kanchustambham <[EMAIL PROTECTED]> wrote:
> Hi,
> Please look at the following code:
> >
> studentEnrollment is a bean that I have attached to the DynaActionForm that
>
Hi Keith,
Thanks for responding.
However, How will this solve my problem? The problem is that the control is
not entering into the loop in the first place. And you have put additional
statements in the loop body. I have anyways tried it, and it did not work.
Regards,
Raghu
On 11/1/05, Keith Sad
http://struts.apache.org/struts-taglib/tagreference-struts-html.html
(1)
This is hardly readable:
=== cut here ==
base Render an HTML Element Renders an HTML
element with an href attribute pointing to the absolute location of
the enclosing JSP page
=== cut here ==
* Escaped tag an
They are not part of Struts, but based on what I see here:
http://jakarta.apache.org/taglibs/sandbox/doc/datagrid-doc/index.html
...then it should work fine with Struts.
--
James Mitchell
Software Engineer / Open Source Evangelist
Consulting / Mentoring / Freelance
EdgeTech, Inc.
http://www.edge
I have a question about using request scoped beans and validation with an
ActionForm.
Here is a example:
In a certain action, I go and create a Collection of objects for a select
list. I put the Collection into the request, and forward to a JSP page, and
I show the list.
From the JSP page, the us
Sorry, I was reading off of the cuff - my mistake. Let me look at this again...
On 11/1/05, Raghu Kanchustambham <[EMAIL PROTECTED]> wrote:
> Hi Keith,
> Thanks for responding.
> However, How will this solve my problem? The problem is that the control is
> not entering into the loop in the fir
The way I dealt with this was to point my "input" attribute to a setup
Action which would put the needed collection into request scope for
me. But that's just one approach. Another is to handle validation
yourself (which really is very easy). This is the approach
recommended by http://www.reuman
On 11/1/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Are these tag libs seperate from what comes with Struts 1.2.7? For example I
> am interested in using Struts to build a data grid application but I found a
> datagrid library at:
> http://jakarta.apache.org/taglibs/sandbox/doc/datagrid-
On 11/1/05, Keith Sader <[EMAIL PROTECTED]> wrote:
> Sorry, I was reading off of the cuff - my mistake. Let me look at this
> again...
>
> On 11/1/05, Raghu Kanchustambham <[EMAIL PROTECTED]> wrote:
> > Hi Keith,
> > Thanks for responding.
> > However, How will this solve my problem? The problem
Has anyone used the display tag library at http://displaytag.sourceforge.net/
in a Struts application?
If so what did you think of it?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECT
Hi All-
I have a problem with image display in Websphere environment. It works fine in
tomcat. I would appreciate if somebody could help me out here...
Details...
I am trying to call an action class and the forwarded jsp has
I have the images folder in the root directory. Th
> Has anyone used the display tag library at
> http://displaytag.sourceforge.net/ in a Struts
> application?
> If so what did you think of it?
Killer, rocks, awesome. I even made a new column decorator
for project I was working on. There should be some threads
about DisplayTag in the list arch
<[EMAIL PROTECTED]> wrote on 11/01/2005 03:17:20 PM:
>
> Has anyone used the display tag library at
http://displaytag.sourceforge.net/
> in a Struts application?
>
> If so what did you think of it?
I used in an old Struts app I worked on. It is really fantastic, has great
docs, plus is *so* e
MVC -- you will only be changing the view.
Instead of using the Struts tags in certain places, you'll be using displaytag.
You can also write your own decorators etc. to modify the content thats
displayed.
its pretty cool.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTE
What is ActionServlet mapped to? Based on the log output, ActionServlet
is being hit to serve the GIF... is this what you intend? I suspect not.
Although, even if I'm right, I can't explain why it works in Tomcat but
not WS...
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex T
On 11/1/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Has anyone used the display tag library at http://displaytag.sourceforge.net/
> in a Struts application?
>
> If so what did you think of it?
These two listings print out items in a pageable table and have links
for view, edit and delete
Thanks for the heads up. I am learning both libraries right now.
--Brad
-Original Message-
From: Michael Jouravlev [mailto:[EMAIL PROTECTED]
Sent: Tue 11/1/2005 2:32 PM
To: Struts Users Mailing List
Subject: Re: Question on http://displaytag.sourceforge.net/
On 11/1/05, [EMAIL PROTECT
Hi all
As long as I have been on this list I have never heard anybody discuss record
locking.
The scenario is very simple:
1. User A clicks an "edit" option to edit a record.
2. While user A is editing the record user B clicks the same "edit" option
3. Both users are now editing the same recor
For web applications, I tend to think that the more appropriate
approach is (what I know to be called) optimistic locking. When a
user edits a record, I keep track of the update timestamp (or even
better, an update sequence number) of the record selected. This value
gets sent back when the user a
This isn't a struts question so much as a persistence layer question.
There are several approaches you can use depending on your data and your
users.
For infrequently updated tables you can hope for the best and probably
be safe.
If you're in an EJB world the EBJ layer takes care of that (I th
I agree with Jason's assertion 100%.
Your best bet on the web is record versioning.
Larry
On 11/1/05, Jason King <[EMAIL PROTECTED]> wrote:
> This isn't a struts question so much as a persistence layer question.
> There are several approaches you can use depending on your data and your
> users.
Hi,
My dynaaction form has an array of bean objects. I am
trying to iterate through the list and accept some
values in my jsp page. But when i submit my jsp page
it does not have these values.
Can anyone tell if i should write my hidden in a
different form. Please help me.
Sujji
On 11/1/05, Murray Collingwood <[EMAIL PROTECTED]> wrote:
> The scenario is very simple:
>
> 1. User A clicks an "edit" option to edit a record.
> 2. While user A is editing the record user B clicks the same "edit" option
> 3. Both users are now editing the same record (or so they think)
> 4. User
David G. Friedman wrote the following on 11/1/2005 3:29 PM:
Killer, rocks, awesome. I even made a new column decorator
for project I was working on. There should be some threads
about DisplayTag in the list archives if you go searching.
That'll have more opinions plus some problems/solutions
t
Comain Chen wrote:
> Hi, I am new to struts and Java web development. I am looking forward
> some projects developped using struts,jsp, e-commerce,
> online-shopping, portal are more appreciated.
> I have found a project JspShop, but it used ejb technology which I
> donot get into right now.
>
> S
I couldn't agree more with Wendy. But, as with more things, it comes
down to your application.
I work at a large financial institution, so I deal with these types of
situations quite a bit. It all depends on what is being edited.
If we are talking about something like, say, a fund load fee
Sounds like you're not repacking the war file correctly. Compare the
result of 'jar -tf warfile.war' before and after you repack it.
L.
Mark Rehbein wrote:
The same problem occurs when I deploy the struts-examples.war, make a
change to a JSP page, repack the war and redeploy.
-Origin
sma3har wrote:
Hi,
My dynaaction form has an array of bean objects. I am
trying to iterate through the list and accept some
values in my jsp page. But when i submit my jsp page
it does not have these values.
Can anyone tell if i should write my hidden in a
different form. Please help me.
A
We'd need to see you JSP to give a more detailed answer, but it looks
like you're creating a request parameter named 'details' and your
ActionForm has a property named 'details' that's an ArrayList. Struts
doesn't know how to convert a string to an ArrayList, so you get an error.
Are you tryin
Brian Demers wrote:
Hey everyone,
This is a common problem with all of the web apps I have been working
on. I am looking for a clean way to solve this problem. I am using
an API that requires the base URL: "http://something:8080/myApp/";
The problem is if I go through a proxy this will change
Garner, Shawn wrote:
I'm getting the following error message upon shutdown of my web app:
11/01 10:07:15 error [axis] javax.servlet.UnavailableException: Cannot
initialize RequestProcessor of class
com.ncs.app06.servlet.CustomRequestProcessor:
java.lang.ClassNotFoundException:
com.ncs.app06.serv
Rick,
I am using it now. There's a big 1.1 release plan, but
I think with only one or two guys working on it, it
will take years to release -- even longer than the 18
month Struts release cycle :-) Anyway, they have
paging built-in for 1.1, but in the mean time, use the
ValueLiist tag which is bui
On 11/1/05, Laurie Harper <[EMAIL PROTECTED]> wrote:
> Comain Chen wrote:
> > Hi, I am new to struts and Java web development. I am looking forward
> > some projects developped using struts,jsp, e-commerce,
> > online-shopping, portal are more appreciated.
> > I have found a project JspShop, but it
Hello!
I'm using struts-1.2.7.
I have form that needs both file upload functionality as well as normal
form fields interspersed on the same HTML page. I'm using the built-in
struts file upload utilities, so I create the form:
enctype="multipart/form-data">
...
If there are no errors,
Paul,
You don't even want to know how long I was looking at displaytag, even
before using it, waiting for them to jump from a 0.8.6 version to release a
1.0 version. :) Thanks for the valuelist reminder, I'd totally forgotten
about that one.
Regards,
David
-Original Message-
From: Paul
In WS you need to specify the entire path of the image, as in,
//images/g.gif .. I faced this problem and it works fine if i
give the entire path
On 11/2/05, Jacob Wilson <[EMAIL PROTECTED]> wrote:
>
>
> Hi All-
>
>
>
> I have a problem with image display in Websphere environment. It works
> fin
50 matches
Mail list logo