Hi all,
Please help me.
I am using this code in one of my action classes(dispatch actions)
if(returnvalue==1) //return value is the value returned by the dao method
after inserting the record into the database.
{
ActionForward fwd=new ActionForward();
fwd.setpath(/App/BidPackageDashboard.do"?cod
Hello,
On Wed, 2006-04-19 at 18:22 -0700, Michael Jouravlev wrote:
> Dave, thanks for explanation. Now, can you explain this: how URLs are
> mapped to actionbeans in WebWork? Looking at the example [1] on
> OpenSymphony website, I see the same pattern as in SAF1:
>
>
> ...
>
>
> The above me
The use of Java 5 is clearly because he is not interested in trying to deal
with the committers. I think he has made that clear in a nice way.
On 4/19/06, Niall Pemberton <[EMAIL PROTECTED]> wrote:
>
> On 4/18/06, Jonathan Revusky <[EMAIL PROTECTED]> wrote:
> > I would venture to guess, just as a
Can someone suggest a site for struts modulisation, with a small example.
You are just wrong about this, Alexandre. Check out the archives before you
embarrass yourself. However, as usual this is a non-starter. This
discussion is as important as answer the other questions. You just don't
understand how things work.
On 4/19/06, Alexandre Poitras <[EMAIL PROTECTED]> w
This is a very, very strange attitude, Alexandre. I don't think there is
bugging going on. I really enjoy Jonathan's posts. If you don't, just
don't read them for crying out loud. Don't be so damned controlling about
things you don't like.
On 4/19/06, Alexandre Poitras <[EMAIL PROTECTED]> wrot
Let's hope not. I did not mean how easy it would have been on this list, or
on Struts. I meant how easy it was, period.
On 4/19/06, Jonathan Revusky <[EMAIL PROTECTED]> wrote:
>
> Dakota Jack wrote:
> > Good work, by the way, Phil. Lord, how easy the developers on Struts
> could
> > have done s
>From: "Alexandre Poitras" <[EMAIL PROTECTED]>
>
> Yeah definitely seems like a bug to me.
>
It might be. I guess I never thought about an http response code. Clay reads
in these template files using the URL object and parses the html. It catches
the exception and logs that it could not fin
On 4/20/06, Chris Loschen <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I'd like to start learning more about JSF. I've had a recommendation for
> _Core Java Server Faces_ -- do people here agree that would be a good choice?
> Any other recommendations?
Some other opnions:
http://www.mail-archive.co
I'm afraid I have to +1 Niall's comment. I got
more from most online tutorials that I found than
I did from that book. I would recommend plenty of
the articles at the jsftutorial site:
http://www.jsftutorials.net
Regards,
David
-Original Message-
From: Niall Pemberton [mailto:[EMAIL PRO
That and JSF in Action by Kito Mann (from Manning) are the best I've read.
I haven't read Jonas Jacobi's book from Apress yet, but I have bought it.
Chris Loschen wrote:
Hi all,
I'd like to start learning more about JSF. I've had a recommendation for _Core
Java Server Faces_ -- do people here a
On 4/20/06, Chris Loschen <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I'd like to start learning more about JSF. I've had a recommendation for
> _Core Java Server Faces_ -- do people here agree that would be a good choice?
> Any other recommendations?
Personally I didn't like it as I found it reall
Hi all,
I'd like to start learning more about JSF. I've had a recommendation for _Core
Java Server Faces_ -- do people here agree that would be a good choice? Any
other recommendations?
Thanks!
Chris
-
To unsubscribe, e-mail
On 4/18/06, Jonathan Revusky <[EMAIL PROTECTED]> wrote:
> I would venture to guess, just as an outside observer, that if the
> author of Strecks is not given commit access to Struts itself, then he
> may run into limitations in the Struts codebase and end up making
> modifications to support things
Dave, thanks for explanation. Now, can you explain this: how URLs are
mapped to actionbeans in WebWork? Looking at the example [1] on
OpenSymphony website, I see the same pattern as in SAF1:
...
The above means, that http://somesite/helloWorld.action will be
dispatched to HelloWorld actionbea
On Tue, 2006-04-18 at 13:23 -0500, Eric Rank wrote:
> Thanks Rick,
> Thanks for your feedback! I'm curious about this chaining and
> interceptor business too. What's it all about?
>
> Eric Rank
I'm just getting started with Webwork and so am no expert, but here's a brief
description of the inte
On 4/19/06, Jonathan Revusky <[EMAIL PROTECTED]> wrote:
> Alexandre Poitras wrote:
> > On 4/19/06, Jonathan Revusky <[EMAIL PROTECTED]> wrote:
> >
> >>Dave Newton wrote:
> >>
> >>>Jonathan Revusky wrote:
> >>>
> >>>
> [...] rather than trying to modernize/refactor it forward
> >>>
> >>>
> >>>Fr
Dave Newton wrote:
Jonathan Revusky wrote:
Dave Newton wrote:
If it _didn't_ make somebody shudder I'd seriously question their
overall programming knowledge... at some point you have to start over.
Well, that's one assessment. OTOH, it is problematic to think that if
somebody disagrees wit
Yeah definitely seems like a bug to me.
On 4/19/06, Richard Wallace <[EMAIL PROTECTED]> wrote:
> If it was a subview I would agree. But this is the root view which is
> why I'm surprised by the behaviour.
>
> Rich
>
> Alexandre Poitras wrote:
> > Well if it isn't the root view and just an include
If it was a subview I would agree. But this is the root view which is
why I'm surprised by the behaviour.
Rich
Alexandre Poitras wrote:
Well if it isn't the root view and just an included subview, I would
expect this behavior but Gary would be the best person to answer this
question.
On 4/19
Alexandre Poitras wrote:
On 4/19/06, Jonathan Revusky <[EMAIL PROTECTED]> wrote:
Dave Newton wrote:
Jonathan Revusky wrote:
[...] rather than trying to modernize/refactor it forward
From a developer's standpoint I'm not even sure how I'd go about
refactoring the existing Struts 1.x code
For menuing, you might want to take a look at Struts Menu.
* http://struts-menu.sourceforge.net/
Though, I'm not sure if it would be compatible with the approach you
are trying now.
If you are just getting started with Apache Struts, be sure to read
the latest FAQs, to be sure you get started "o
Well if it isn't the root view and just an included subview, I would
expect this behavior but Gary would be the best person to answer this
question.
On 4/19/06, Richard Wallace <[EMAIL PROTECTED]> wrote:
> When trying to access a file that doesn't exist, Clay is throwing a
> RuntimeException that
On 4/19/06, Dave Newton <[EMAIL PROTECTED]> wrote:
> Jonathan Revusky wrote:
> > Dave Newton wrote:
> >> If it _didn't_ make somebody shudder I'd seriously question their
> >> overall programming knowledge... at some point you have to start over.
> >
> > Well, that's one assessment. OTOH, it is pro
That's doing it. Thank you!
-Original Message-
From: Richard Wallace [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 19, 2006 3:17 PM
To: Struts Users Mailing List
Subject: Re: [Shale/JSF] Can I redirect/forward in the init() method?
James Reynolds wrote:
> I want to test a value in
On 4/19/06, Jonathan Revusky <[EMAIL PROTECTED]> wrote:
> Dave Newton wrote:
> > Jonathan Revusky wrote:
> >
> >>[...] rather than trying to modernize/refactor it forward
> >
> >
> > From a developer's standpoint I'm not even sure how I'd go about
> > refactoring the existing Struts 1.x codebase...
Jonathan Revusky wrote:
> Dave Newton wrote:
>> If it _didn't_ make somebody shudder I'd seriously question their
>> overall programming knowledge... at some point you have to start over.
>
> Well, that's one assessment. OTOH, it is problematic to think that if
> somebody disagrees with you on this
When trying to access a file that doesn't exist, Clay is throwing a
RuntimeException that is causing my 500 error page to be displayed
rather than a 404 error page. Here's the offending exception:
java.lang.RuntimeException: Unable to find file /for_parents.html.
at
org.apache.shale.cl
Many thanks for those that have replied to my earlier emails for
help... Hopefully once I get this one figured out I'll be on the way
to getting my perl to Struts conversion complete... FYI... I've taken
the time to migrate from Struts v1.1 to v1.2.9 so this issue is
based on that code bas
James Reynolds wrote:
I want to test a value in session, then redirect or forward to a
different view based on the result. I tried using
getExternalContext().redirect("/theOtherPage.jsp"); but I received an
exception stating that I cannot redirect after the request is committed.
What's the prope
I want to test a value in session, then redirect or forward to a
different view based on the result. I tried using
getExternalContext().redirect("/theOtherPage.jsp"); but I received an
exception stating that I cannot redirect after the request is committed.
What's the proper way to do this?
Than
On 4/19/06, Phil Zoio <[EMAIL PROTECTED]> wrote:
> One thing which would help greatly would be one or two
> links from the Struts sites so that Struts 1.x users who haven't read
> the TSS article or these posts would still have a way of finding out
> about it
Done.
Of course, we've also carried t
> > It makes sense that going from step 1 to step 2 is going to yield a
> > new sessionID, because a new window is being opened.
>
> Not really (makes sense, I mean).
It's likely that the user has closed the browser down between sessions.
Also, a new window being opened in IE will have a new ses
Jonathan Revusky wrote:
Dave Newton wrote:
Jonathan Revusky wrote:
Well, there [are] all these issues, and yeah, I guess they could make
you and other people shudder.
If it _didn't_ make somebody shudder I'd seriously question their
overall programming knowledge... at some point you h
>From: <[EMAIL PROTECTED]>
>
> Hi.
>
> We are trying to integrate Struts and JSF. Is it possible to populate a JSF
> Managed Java Bean from a Struts Action class?
> If so, is there an example somewhere?
>
This can be done when you run both struts action and faces servlet controllers.
You
Hi.
We are trying to integrate Struts and JSF. Is it possible to populate a JSF
Managed Java Bean from a Struts Action class?
If so, is there an example somewhere?
Thanks in advance,
--Brad Simonin.
-
To unsubscribe, e-mail:
Hi
You have use following code in jsp
RequestDispatcher dispatcher = request.getRequestDispatcher(servlet path);
dispatcher.forward(request, response);
On 4/19/06, Sony Thomas <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I have a struts application. From one of the jsp pages I have to forward
> t
Dave Newton wrote:
Jonathan Revusky wrote:
Well, there [are] all these issues, and yeah, I guess they could make
you and other people shudder.
If it _didn't_ make somebody shudder I'd seriously question their
overall programming knowledge... at some point you have to start over.
Well, tha
Hi,
I have a struts application. From one of the jsp pages I have to forward
to a servlet when I submit the jsp. Can anyone help me to find a
solution for this problem. I have two buttons in my JSP. When I click
one of the buttons it should go to the action class. When I click the
other butt
>From: "Ian.Priest" <[EMAIL PROTECTED]>
>
> Hi,
>
> I think i may have found a bug in the test-framework:
>
> I'm have a ViewController that calls setValue() as part of it's
> set-up...
>
>
> public class SignupViewController extends AbstractViewController {
>
> private static final Stri
Jonathan Revusky wrote:
> Well, there [are] all these issues, and yeah, I guess they could make
> you and other people shudder.
If it _didn't_ make somebody shudder I'd seriously question their
overall programming knowledge... at some point you have to start over.
> But the real key point I am w
Dave Newton wrote:
Jonathan Revusky wrote:
[...] rather than trying to modernize/refactor it forward
From a developer's standpoint I'm not even sure how I'd go about
refactoring the existing Struts 1.x codebase...
As an example, I've always been pissy about the Action being tightly
coupled
Dakota Jack wrote:
Good work, by the way, Phil. Lord, how easy the developers on Struts could
have done something similar.
Well, IMO the real underlying issue goes further than that. It's not a
question of the fact that the Struts developers could have done
"something similar" themselves.
Daniel Blumenthal wrote:
> I'm having a very strange problem with sessionIDs getting dropped.
__Dropped__?!
> 1) The user creates an account on the Register page, and a verification
> email is sent to the user. (sessionID 1) So far, so good.
>
> 2) The user clicks on the link in the email, an
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
netsql wrote:
> the reviews on o/s tibet are great.
> I can't figure out how to download it?
>
> Can someone help a noob download?
Can you provide a link? I don't know what you are talking about, but i
heard ajax so i would like to see what is so gre
Raghuveer wrote:
> I am getting below error.
>
I'm baffled as to why you'd creating your logger like that, but that's a
different issue--like Adam said, check out the docs on the Log4J site;
the "Quick Start" should be enough to get you going.
Bottom line is you need a Log4J config file on you
Should have said I'm using Shale!
-Original Message-
From: Ian.Priest [mailto:[EMAIL PROTECTED]
Sent: 19 April 2006 15:59
To: user@struts.apache.org
Subject: setValue() and test-framework
Hi,
I think i may have found a bug in the test-framework:
I'm have a ViewController that calls s
Hi,
I think i may have found a bug in the test-framework:
I'm have a ViewController that calls setValue() as part of it's
set-up...
public class SignupViewController extends AbstractViewController {
private static final String DIALOG_DATA = "#{dialog.data}";
public
Hi all...
First, i´m a new one in the list, from brazil, rio de janeiro, sorry for my
english, i know it´s poor, :)
Ok, but i have a problem. I want to use a dynamic menu using tiles. In my
aplication, i have the menu definied in a .xml, but i want this to be updated
with the user permissions. T
You might also look at jsecurity. It is free/lgpl.
http://www.jsecurity.org/
--
James Mitchell
On Apr 19, 2006, at 8:40 AM, C. Grobmeier wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
This has been recommended on this list before a while:
http://www.acegisecurity.org/
A. Lotfi wro
Bye! :-P
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
This has been recommended on this list before a while:
http://www.acegisecurity.org/
A. Lotfi wrote:
> Hi, I looked for a struts that different categorie of users login and got
> forwarded to different pages, please help me if you have a tutorial or
Hi,
This message and any attachments are confidential and intended solely for the
addressee. If you have received this message in error, please notify Discovery
immediately, telephone number +27 11 529 2888. Any unauthorised use; alteration
or dissemination of the contents of this email is
If the "tmscode" is a property on the ActionForm, and Action A and
Action B both use an ActionForm with a "tmscode" property, then the
property will be available to Action B too.
Changing "tmscode" in Action A and then having the change available to
Action B can be problematic, since each Action a
The reset method and reset buttons are two separate things.
If you are using a session-scoped ActionForm with a boolean property
that is represented by a checkbox, you can use reset to set the
boolean property to false prior to autopopulation. Otherwise, given
the way radio controls work, there is
Are you trying to do a server side reset..? Generally it is a client
side reset.
I think this should be some thing like this...
mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 19, 2006 4:03 PM
To: 'Struts Users Mailing List'
Subject: Reset the Action Form
Hi ye,
I have an action form with su
hi;
actually i dont know much about struts, but you can define a starter servlet
with no mapping in your web.xml file like
StarterServlet
sanegui.base.GuiStarter
when your application starts up, it will initialize sanegui.base.GuiStarter
servlet.
-O
do i need to overide actionservlet for this ?
-Original Message-
From: abdurrahman sahin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 19, 2006 3:40 PM
To: 'Struts Users Mailing List'; [EMAIL PROTECTED]
Subject: RE: log 4 j error in struts 1.2.8
hi;
you may try initializing logger in
Hi ye,
I have an action form with submit & reset buttons.
In the form been class, I do declare the reset method to clear up all the
text fields.
Here is the situation, after filling in some data into some text field, I
select the Reset button. The reset method is called, but those text fields
does
Please see my comments below:
Jonathan Revusky wrote:
Ted Husted wrote:
On 4/18/06, Phil Zoio <[EMAIL PROTECTED]> wrote:
I'd be happy to pass Strecks on to Struts itself if the community
really
wanted it, but I don't see that as essential to its existence in any
way.
What we look for i
hi;
you may try initializing logger in a servlet like below;
public void init(ServletConfig config) throws ServletException {
super.init(config);
try {
doLoggingSettings(config);
s_logger.info("Initializing Gui Starter
Hi Raghuveer,
this means that you have either not configured a logger in
log4j.properties / log4j.xml, or that java is not finding the file.
Your logger name which you are getting with getLogger(cal.getTime) is
highly unusual! Such an approach would be virtually impossible to
configure prope
Hi Dan,
there would only be a new session id created for the user in step 2 if
the user closes the browser after step 1, or if the browser has been
configured to start a new session in new windows.
Adam
Daniel Blumenthal on 19/04/06 06:34, wrote:
I'm having a very strange problem with sess
Chaitanya Parkhi on 19/04/06 05:59, wrote:
hi guys,i m facing a problem tha javascript is not working in mozilla
firefox 1.0 ,i came to know about a java file which has 2 b added in src
of struts framework & a tab in javascript file,i m not getting yhat can
anybody pls tell me about it!!!
--- Vinny <[EMAIL PROTECTED]> wrote:
> Like how xdoclet should die? Heh, I'm still using
> xdoclet 1.x
> (will never go to xdoclet2 ) until an @Annotations
> based replacement
> shows itself
It's nice to hear that you value my work at XD1 and
are happy with it. There is nothing wrong with
exis
On 4/18/06, Asad Habib <[EMAIL PROTECTED]> wrote:
>
> Hello. The following statement in one of my views is generating an error
> at runtime:
>
> " />
>
> The error is as follows:
>
> org.apache.jasper.JasperException: /test.jsp(4,54) equal symbol expected
>
> Is it not possible to embedd tags in St
I am using struts1.2.8 with hibernate 3.
I am getting below error.
Is there any solution for this problem ?
private DailyRollingFileAppender cAeroAppender;
java.util.Calendar cal=java.util.Calendar.getInstance(); // getting
calendar inst
Thanks a lot for your response.
I have a tmscode in the request of action A. Now I would want this code to
be available in the request of action B. Would you please tell me how would
this tmscode be available to action B so that it can render the desired jsp
as per that tmscode.
Thanks & Regards,
68 matches
Mail list logo