you need to create an adaptor at both side (I meant a block of codes), say
at PHP site side:
there is a set of PHP codes that will check tokens passed from struts
application session.
For example, when user login to your struts application, you assign an
paramter "auth_id" which is "x", it
Hi,
I think I didn't explain the problem properly. We have developed a struts
based app, say, A. Now we have a client site X. Depending on some logic, we
need to go to the client site x from our application A. In the Client site
x, we have a link which should enable the login to our application A.
Raghu Kanchustambham wrote:
One thing I am just wondering right now is, whether I need to really run
this "alerting push" communication over HTTP ? Why not I have the applet
open a connection to another "plain-socket-listening-server" (not the same
HTTP server) which keeps the connection 'alive'
Agreed Frank that Applets pose these "security" restrictions. I forgot to
mention that part of the story .. may be got lost in my previous long rant!
:)
Let me take a different route now and see what you think about it.
The problems that we have been discussing all this while is because HTTP is
i
On 1/4/06, David Bowers <[EMAIL PROTECTED]> wrote:
>
> Unless I'm missing something big, the struts-faces library doesn't
> address the concern I was talking about.
> Struts-faces allows a jsp page that uses JSF components to post back
> to a Struts Action, and it allows events
> from JSF component
Unless I'm missing something big, the struts-faces library doesn't
address the concern I was talking about.
Struts-faces allows a jsp page that uses JSF components to post back
to a Struts Action, and it allows events
from JSF components to be handled by Struts actions (albeit very
awkwardly, since
On 1/4/06, Laurie Harper <[EMAIL PROTECTED]> wrote:
>
> Craig McClanahan wrote:
> > On 1/4/06, Garner, Shawn <[EMAIL PROTECTED]> wrote:
> >> How do you get access to one managed bean from within another managed
> >> bean?
> >>
> >> We have some business logic that depends on values in another manag
On 1/4/06, David Bowers <[EMAIL PROTECTED]> wrote:
>
> I'm trying to figure out a good way to start migrating from struts to JSF
> (w/o Shale at this point).
>
> I've been thinking that it would be very handy if I could do something
> like
> this:
>
> path="/something">
>
-David Bowers <[EMAIL PROTECTED]> wrote: -
> I'm trying to figure out a good way to start migrating from struts to JSF
> (w/o Shale at this point).
Hi David, have you looked at the struts-faces integration library? I
believe the intention for that library was to do just what you propose
Craig McClanahan wrote:
On 1/4/06, Garner, Shawn <[EMAIL PROTECTED]> wrote:
How do you get access to one managed bean from within another managed
bean?
We have some business logic that depends on values in another managed.
If you're trying to gain access from a class that extends AbstractFac
I'm trying to figure out a good way to start migrating from struts to JSF
(w/o Shale at this point).
I've been thinking that it would be very handy if I could do something like
this:
Then the expression that is forwarded to would be passed to the JSF
application an
On Tue, 2006-01-03 at 16:51 -0500, Michael P. Soulier wrote:
> On 13/12/05 Max Cooper did say:
>
> > It sounds like your main challenge is that you have requests to a web
> > server that look like http://web.domain.com/foo/bar/me mapped to an app
> > deployed on an app server that you might access
The easiest way imho is to submit to your proxy action, which submits
to external server, receives response and returns this response to
browser.
Michael.
On 1/4/06, Christopher Becker <[EMAIL PROTECTED]> wrote:
> Greetings all;
>
> I have a Struts app (v1.27) and wish to add a user form whose AC
Greetings all;
I have a Struts app (v1.27) and wish to add a user form whose ACTION is
a URL that is external to the application ( a remote servlet).
I want to provide a "message sent" confirmation page to the user, but
dont know how to do this with an external form submission. Is there a
way t
Yeah, that is what I was doing to try to get it but it occurred to me this
will probably not be the name of the jsp page.
Shawn
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper
Sent: Tuesday, December 27, 2005 11:42 PM
To: user@struts.apache.org
Subject:
On 1/4/06, Garner, Shawn <[EMAIL PROTECTED]> wrote:
>
> How do you get access to one managed bean from within another managed
> bean?
>
> We have some business logic that depends on values in another managed.
If you're trying to gain access from a class that extends AbstractFacesBean
or AbstractV
On 1/4/06, Rick Reumann <[EMAIL PROTECTED]> wrote:
>
> Since I've been working on a rich client .NET app for a while, I've been
> a bit out of the loop on all the latest 'goings on' in regard to
> frameworks. (I couldn't keep up with all the Struts/JSF/Shale/WebWork
> comments on the list a while a
How do you get access to one managed bean from within another managed bean?
We have some business logic that depends on values in another managed.
Shawn
This email may contain confidential material.
If you were no
fea jabi wrote the following on 1/4/2006 3:52 PM:
yes, that's right.
have a table in my jsp which used form2.
form1 properties are a row in a table.
Would like to create a list of DynaActionform objects which would be the
rows of my table.
Ok, that's what I thought. You only need one Form (n
Since I've been working on a rich client .NET app for a while, I've been
a bit out of the loop on all the latest 'goings on' in regard to
frameworks. (I couldn't keep up with all the Struts/JSF/Shale/WebWork
comments on the list a while a back.)
I'm actually quite happy with what Struts has to
yes, that's right.
have a table in my jsp which used form2.
form1 properties are a row in a table.
Would like to create a list of DynaActionform objects which would be the
rows of my table.
I hope I am clear this time.
From: Rick Reumann <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing
fea jabi wrote the following on 1/4/2006 3:33 PM:
In the Action of PrepareForm2
Would like to create an ArrayList of Form1.
When you say an ArrayList "OF" Form1 do you really mean a List of
ActionForm objects (in your case a List of DynaActionForm objects)?
Typically you will never need to
In struts-config
dynamic="true">
dynamic="true">
In the Action of PrepareForm2
Would like to create an ArrayList of Form1.
Is it possibel to do this? if so how to do this?
i.e can we instanciate a DynaActionfom?
thanks.
___
I am using hidden fields and multipart forms in a jsp, and it seems
that the tag is not detecting the hidden field as being
present when the multipart form is submitted.
In MyJsp I have
Myvar is present
etc
I h
Rick Reumann wrote:
Frank W. Zammetti wrote the following on 1/4/2006 2:41 PM:
There's nothing more fun than a couple of architects arguing! :)
You forgot to add that comment to Friday's, You might be a geek if...
post.
I'm still trying to parse the "might" bit... That implies a level of
Frank W. Zammetti wrote the following on 1/4/2006 2:41 PM:
There's nothing more fun than a couple of architects arguing! :)
You forgot to add that comment to Friday's, You might be a geek if... post.
--
Rick
http://www.tech.reumann.net
On Wed, January 4, 2006 1:03 pm, Raghu Kanchustambham said:
> I would disagree on your conclusion that pull is *the* way to achieve your
> 'push alert' on http.
No, I didn't say *the* way, I said it probably was the best option, all
things considered :)
> Some points on which you will base your d
Thanks a lot Niall.
I does work..We were displaying our errors in the jsp with
And assumed that, errors can only be displayed with GLOBAL_ERRORKEY.
Thanks,
Ganesh.
On 1/4/06, Niall Pemberton <[EMAIL PROTECTED]> wrote:
>
> OK, you need to associat
>the size refers to the displaying size in the generated html.
>
>like I have 3 jsps: header, content, footer. they join together into the
>final html page.
>
>now I want the header-page occupies 30%, while the content has 50% and the
>rest for footer page.
>
>
>Oh.
>Tables or CSS?
>So eith
> Is it possible to supply some parameter as expression for
> property getter in bean:write tag ? I'd like to write bean
> property supplying the result of other bean property as the
> input parameter in my JSP page. If it isn't, is there any way
> to do this?
There are a couple of ways to do
Or perhaps, as mentioned earlier in this thread, having an applet to which
the server could "push" information should do the trick.
I would disagree on your conclusion that pull is *the* way to achieve your
'push alert' on http.
Some points on which you will base your decision maybe as follows:
John Woo wrote:
the size refers to the displaying size in the generated html.
like I have 3 jsps: header, content, footer. they join together into the
final html page.
now I want the header-page occupies 30%, while the content has 50% and the
rest for footer page.
Oh.
Tables or CSS?
So e
the size refers to the displaying size in the generated html.
like I have 3 jsps: header, content, footer. they join together into the
final html page.
now I want the header-page occupies 30%, while the content has 50% and the
rest for footer page.
--
OK, you need to associate the message with the "lastName" property and not
ActionErrors.GLOBAL_ERROR, so something like...
if ((lastName == null) || (lastName.trim().length() == 0)) {
errors.add("lastName", new ActionMessage("
error.login.nolastname"));
}
Niall
- Original Messa
John Woo wrote:
Tile can combine couples of jsps into one html page, I'm wondering how to
set size for each jsp, can someone figure it out?
Size of what?
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional co
Hi,
Tile can combine couples of jsps into one html page, I'm wondering how to
set size for each jsp, can someone figure it out?
--
Thanks
John
Toroto
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Hi
Is it possible to supply some parameter as expression for property
getter in bean:write tag ? I'd like to write bean property supplying the
result of other bean property as the input parameter in my JSP page. If
it isn't, is there any way to do this?
Regards
--
Daniel Łaś <[EMAIL PROTECT
Niall,
I do the same thing you say, except that, Iam storing them as "
ActionErrors.GLOBAL_ERROR"
This is what, I have in the validate method
if ((lastName == null) || (lastName.trim().length() == 0)) {
errors.add("ActionErrors.GLOBAL_ERROR", new ActionMessage("
error.login.nola
"input" form is not an input form, it is an error form. Bad naming.
Michael.
On 1/4/06, PC Leung <[EMAIL PROTECTED]> wrote:
> If the user clicks the submit button, then configuration
> tells where "success" URL to go.
> But user has no chance to click the submit button,
> because the form does no
Iam not trying to rebuild the application.I just wanted to download the .war
file and deploy it.Your previous lessons(from older site) worked fine when i
did that way.
On 1/4/06, Rick Reumann <[EMAIL PROTECTED]> wrote:
>
> Srinivas Jadcharla wrote the following on 1/4/2006 9:58 AM:
> > Hi Rick,
>
Srinivas Jadcharla wrote the following on 1/4/2006 9:58 AM:
Hi Rick,
Iam getting the following problem
[image: Error]The EAR file could be corrupt and/or incomplete.
com.ibm.etools.archive.exception.DeploymentDescriptorLoadException:
WEB-INF/web.xml
while iam trying to deploy rr-struts-nested.
Saying "it doesn't work in ie5" doesn't really help alot - I don't have a
copy of ie5, so if you could specify the issue then it would be helpful.
Also what version of 1) Struts and 2) Commons Validator are you using? Can
you try upgrading to Commons Validator 1.2.0 and see if the issue still
occur
The method signature in the FieldChecks class for the validateRequired()
method doesn't match what you have defined in the validation-rules.xml.
You probably have a version of validation-rules.xml from an older version of
struts and need to drop in the validation-rules.xml file that is shipped
wit
Hello again
Good news,
I finally found the bug.
If you use struts modules and you want to use form-bean declared into
one struts module to one other, you must redeclare the form-bean
header.
Finally it's not a Tiles problem but a scoped form-bean problem with
struts modules.
Thanks.
2006/1/4,
Hi Rick,
Iam getting the following problem
[image: Error]The EAR file could be corrupt and/or incomplete.
com.ibm.etools.archive.exception.DeploymentDescriptorLoadException:
WEB-INF/web.xml
while iam trying to deploy rr-struts-nested.war
from http://www.reumann.net/tech/struts-nested.jsp on W
Thanks Ted,
I already spent some hours on that issue. I just wanted to
test the automatic form-validation - I'm a newbe and I performed
the validation in the FormBean methode before.
I just tried with the required-argument in the validation.xml ->
The strategy only allows one token at a time for the application,
because the token is always given the same name. I believe Shale is
using another strategy that gives the tokens different names for
different workflows. If the popups are using tokens too (because they
have forms?), then you would h
Usually, those are pages that used POST to submit data. The usual
technique is to redirect after making a POST, so that the data is not
resubmitted.
If that doesn't solve the problem, then you might want to look into a
wizard extension, like Struts Dialog
* http://struts.sourceforge.net/strutsdia
Try
* http://displaytag.sourceforge.net/11/
Also cool:
* http://struts.application-servers.com/
* http://struts-menu.sourceforge.net/
* http://www.rabago.net/struts/html2/
-- HTH, Ted.
http://www.husted.com/poe/
On 1/3/06, Raghuveer <[EMAIL PROTECTED]> wrote:
>
>
> Is there Any possiability o
In a situation like this, the best thing is to create a new
application that contains just enough code to expose the error. Most
often, in creating the application to expose the error, you will find
the problem that is causing the error. If not, you will have a
concise example to post, so that oth
The Action framework doesn't support browser detection
out-oif-the-box. But, you could check the HTTP request flags from the
Action to determine the browser, and then forward to another version
of the page that didn't use client-side validation or used custom
validation.
You might want to report
Hello again,
I found that the request data are still available into the second action.
I can get my parameter data from the request and not from the form
object into my execute method.
Instead of doing this in normal case :
ProListSelectionForm proListSelectionForm = (ProListSelectionForm)form;
I don't have a code sample handy right now, but, as compared to
creating any other dropdown, you would need to build the list of
languages by accessing the Message Resources from the Action class, so
as to build the list appropriate to the current language.
-- HTH, Ted.
http://www.husted.com/poe/
On 1/4/06, Meenakshi Singh <[EMAIL PROTECTED]> wrote:
> I want to forward to an external web site link http://
> How do I do that & where?
>
> I have tried giving the absolute path in the path attribute, however, it
> doesn't work...
>
> Any ideas/suggestions ...?
You can't *forward* to an ex
Hi
Use CSS with the media setting on your import of your stylesheet
(rel="stylesheet" type="text/css" media="print, screen").
and in your stylesheet define 2 blocks: @MEDIA print and @MEDIA screen where
you define your settings. For the stuff that you do not want to show on a
printout, add th
Hi,
I am facing a problem. i am having a JSP page which acts as an
Acknowledgement screen to users. The users need to take the print out of
this screen. I am providing a print button. but what i want is to change the
header gif for printing(since it is taking too much space on the page and
the end
Sandhya Lakshmi wrote:
Thanks, Wendy I was looking for the libraries which are in the
struts-el-1.3.0-dev.jar file.
Just as a point of distinction and to reiterate what Wendy said, those
aren't libraries; they're TLDs, which are descriptions _of_ the
libraries: Tag Library Descriptors.
Da
Hello,
I have 2 struts modules.
One for a list screen : proList
Other for the complete project module : pro
Both have separated struts config files.
Code samples :
---
struts module proList
---
.
-
struts mo
Hi all,
I want to forward to an external web site link http://
How do I do that & where?
I have tried giving the absolute path in the path attribute, however, it
doesn't work...
Any ideas/suggestions ...?
Thanks & Regards,
Meenakshi.
---
If the user clicks the submit button, then configuration
tells where "success" URL to go.
But user has no chance to click the submit button,
because the form does not display at all.
And it is forwarded to "success" URL automatically!
On 1/1/06, Laurie Harper <[EMAIL PROTECTED]> wrote:
> What do
60 matches
Mail list logo