You need to fix your Flash not your Struts. I call from Flash all the
time. The new ActionScript is rad.
Jack
On Fri, 26 Nov 2004 22:37:05 -0800, Fedor Smirnoff <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am trying to call an action from a Flash file. My applications are all
> called as such:
Hi,
I am trying to call an action from a Flash file. My applications are all
called as such:
Main.com/app1
Main.com/app2
The problem is that I want to keep flash script universal so I call action
as such:
/myAction.do
However, what happens is that Main.com/myAction.do is called
Hi,
I am trying to call an action from a Flash file. My applications are all
called as such:
Main.com/app1
Main.com/app2
The problem is that I want to keep flash script universal so I call action
as such:
/myAction.do
However, what happens is that Main.com/myAction.do is called
Peter,
I believe you are confusing frames, or possibly "inline" frames, with tiles.
The tile definition assembles the components of a page and hands that
completed page back to your client's browser. If your tiles defintion
includes parts such as a header, footer, navigation bar, and main (i.e.
"
Hi,
I am using tiles in my project using the classic layout
This is my "tiles-defs.xml "
How can I create a JSP that will keep the header, footer and menu while only
refreshing the body? I keep getting the entire login.jsp page instead of it
refeshin
On Tue, Nov 23, 2004 at 09:43:19AM -0600, Matt Bathje wrote:
> My only problem with doing it this way is it changes the mime-type of
> the file sometimes, which makes it harder for users to download.
> Depending on the userbase you may or may not have this problem.
The problem with usin
Sorry , I already see was my problem, so let me put the solution here:
All the problem was in the struts-config.xml in this line:
change to this:
and voilá!
Hope this works for someone
Adolfo
-
To unsubscribe, e-mail: [EMAIL PRO
Hi folks,
Let me describe my problem,
I am generating a PDF doc in the Action and all works fine, it could be
show in IE, in Netscape and in Firefox, when I try to showing it in a
new window (user requirement) using JS it works in NS and Firefox, but
IE shows a popup window asking if I want to
First off, Craig if you are reading this, how come no one has started a
jsf-users mailing list? I hate using web forums. yuk:) Seems like you
post more on this list here than on the JSF forum so figured I'd start
here with my question, plus I know there are many struts users dabbling
in JSF (as
Hello,
can i use dynabean inside a jsp using jstl ?
i'm using struts 1.2.4
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Thanks for the responses, Bill & Niall.
This is what I finally found out, and thought would be useful sharing.
Struts 1.1 calls the 'initialize(ActionMapping)' method as part of
RequestUtils.createActionForm() .
Struts 1.2.4 does NOT seem to call the
DynaActionForm.initialize(ActionMapping
Hello,
Is there any way to post to an HTTPS URL in the html:form? It appears I cannot
use a relative URL or a fully qualified URL. I see the SSLEXT but I would like
a quicker and easier solution if possible. I am already at an HTTPS URL for the
current page.
Thank You,
Dave
It seems hard to believe that no one ran across this before, but
it appears that it's not possible to specify quotes in the criteria
used for validwhen. I tried to use a criteria that looks like this:
((somefield == "foo") or (*this* < 123))
However that caused javascript errors on the p
I don't like to let the exception go as is, since I need the stack trace.
Don't you wanna know what went wrong?
The following works wonderfully, -- I have :-
Note my key!
My system failure URL is mapped in web.xml to a simple JSP with customer
service tel#.
public class MyExceptionHan
OK
;-)
Niall Pemberton wrote:
I've added a Tutorials page on the wiki - feel free to update.
Niall
- Original Message -
From: "Sebastian Hennebrueder" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, November 26, 2004 5:50 PM
Subject: Re: Any good strut
Nathan,
I briefly looked into using jsp for email templating recently, and
decided that it was not the right fit for the task in my situation.
Instead I ended up building a basic template merge facility using
Velocity, and a mail sender facility based on JavaMail. I tied them
together with a t
In the applet, open the
URL("http://myserver/mywebapp/appletSupport.do?param1=x¶m2=y";);
And read the response.
Alternatively, you can URL("http://myserver";);
and write to the opened URL as :-
GET /mywebapp/appletSupport.do?param1=x¶m2=y
This works for HTTPS also I believe.
> -Origi
I've added a Tutorials page on the wiki - feel free to update.
Niall
- Original Message -
From: "Sebastian Hennebrueder" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, November 26, 2004 5:50 PM
Subject: Re: Any good struts tutorials online?
> I ma
use disabled instead of readonly.
IIRC , HTML rarely uses readonly -- its mostly disabled attribute everywhere.
It works just fine for me.
> -Original Message-
> From: Olivier Croisier [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 15, 2004 4:10 AM
> To: Struts Users Mailing List
>
I have never found any luck on google, but the top secret solution for such
things is whispered as :-
HTTP Headers
Now I honestly do not know how to set the **EXACT-SPECIFIC** HTTPRequest
headers.
In the header supposedly, you can specify something similar to the "target=..."
at
For simple use-n-throw (non-dynaforms?) forms, a much better *generic* solution
:-
At the VERY BOTTOM (please note the caps to get your attention ;-) ) of the JSP
that displays the form :-
<% MyForm frm = (MyForm) request.getAttribute("formname");
frm.reset();
%>
In scenarios wher
This pattern will reject some valid email addresses. The local part (the bit
bofore the @) is interpreted by the target email system and should not be
interpreted by source or intermediate systems. The meaning of it, including
what characters are legal, is entirely up to each email host. I cannot q
I made some tutorials using eclipse with myeclipse plugin.
There is one for
struts basic
struts
tiles
struts and ejb
www.laliluna.de/tutorials.html
It is best to try them to decide if your like them.
Regards Sebastian
Donie Kelly wrote:
Hi all
I've been given a half finished struts project to deve
Hey Richard,
Are you upgrading your Struts to 1.2.6 to make use of the DownloadAction, or
do you need something that works with your current Struts version?
Wiebe
-Original Message-
From: Richard [mailto:[EMAIL PROTECTED]
Sent: Friday, November 26, 2004 12:55 AM
To: Struts Users Mailing
Hi,
If you aren't using Validator, you might find these useful:
public static boolean isValidEmailAddress (String eMailAddress)
{
return eMailAddress.matches
("^[_A-Za-z0-9-]+(\\.[_A-Za-z0-9-]+)[EMAIL PROTECTED](\\.[A-Za-z0-9-]+)*(\\.[_
A-Za-z0-9-]+)");
}
public static boolean isValidURL
We do this using the jakarta taglibs. There is a tag called mailer. When
wrapped around the email body in a jsp will send an email.
I see that the example (mailer.jsp) is assisted by the request tag.
<%@ taglib uri="http://jakarta.apache.org/taglibs/mailer-1.1";
prefix="mt" %>
<%@ taglib uri="htt
Here are the relevant snippets from my XML configuration file:
All of our classes are located in the webmedx package, and logging
messages with a level greater than INFO are sent to
C:\test
What he said :)
It comes down to the browser recognizing what the server sends back as
the result of clicking a link or submitting a form. Normally, it
recognizes it as an HTML page and displays it (overwriting what's
already in the browser obviously).
In the case of downloading a file though,
It's also worth checking out Chainsaw as a Log4J viewer - It has
filtering capabilities that will probably work just as well for you as
separate log files
The settings would be (for instance)
# log4j.properties in /WEB-INF/classes
log4j.rootLogger=ERROR, Chainsaw
log4j.appender.Chainsaw=org.ap
The tag would _normally_ take you to a target location, but with
file download what usually happens is that the browser realises its a
file and either prompts you to choose somewhere to open it, or tries to
display it in the browser page (internet explod^Hrer will tend to try
this if it thinks
Chris,
many thanks for the info, I was actually looking for an xml config
example, having looked through the examples with log4j it is not so
obvious...
Cheerio,
Nic.
>>> [EMAIL PROTECTED] 26/11/2004 13:59:10 >>>
log4j.logger.com.myapp=DEBUG,A1
log4j.logger.org.apache.struts=FATAL,A2
where A1 a
log4j.logger.com.myapp=DEBUG,A1
log4j.logger.org.apache.struts=FATAL,A2
where A1 and A2 are different console or file appenders.
-Original Message-
From: Nicholas Hemley [mailto:[EMAIL PROTECTED]
Sent: 26 November 2004 12:29
To: [EMAIL PROTECTED]
Subject: Applicaton-specific logging in St
Hi, Frank,
Yes and no. Yes, because I can put your whole example together and
watch what happens and figure it out from there. And, no because I
would like to understand it so that I can do my own.
What I don't understand is how the file download works in relation to
the GUI. Where does the GU
Hello,
I have implemented a plugin to configure the logging for my application
but my application debug log is getting swamped by the struts debug
logging.
As I understand it, struts uses the common logging based on log4j but I
cannot find an example of how to separate struts logging from
applica
Did the sample app not help you Jack? What wasn't clear from it? Maybe
I can update it to be more helpful...
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
Dakota Jack wrote:
Anyone have an example of JSP code for DownloadAction? I am conf
I wasn't aware that Tomcat had any functionality related to running external
programs. I can tell you that I have successfully called external programs
(our own win32 commandline exes) from Tomcat and JBoss/Tomcat (using
Runtime.getRuntime().exec() as you do).
I think that, unfortunatly, it's down
Hi,
I get the same results when Tomcat is not run as a service. Does this mean
it must be the Tomcat security policy?
Cheers
Andy
_
Stay in touch with absent friends - get MSN Messenger
http://www.msn.co.uk/messenger
-
The attribute in org.apache.struts.taglib.html.BEAN is set by the
tag. This is how the other tags know which form bean
they are dealing with.
I'd be interested to know why the other html tags are made aware of the form
bean this way, rather than directly asking their enclosing form tag. Any
idea
Hi All,
If I declare my bean scope="session" (struts-config.xml) the same
instance of it turns up on both the request and the session:
Session key:
Request key: org.apache.struts.taglib.html.BEAN
If I then change the declaration to scope="request" the same bean turns
up twice on the request,
I'd start by getting things working running tomcat *not* as a service. Once
that is done switch to using a service.
If you look at the service Log On control panel you'll see a "Allow service
to interact with desktop" checkbox. This will need to be set for you to see
a program running on your des
Emmanouil Batsis writes:
> Hi,
>
> My jboss tries to resolve the DTDs for the validator plugin. Can
> anyone tell me how to avoid this?
Have it locally. See thread:
http://thread.gmane.org/gmane.comp.jakarta.struts.user/96922
--
Guillaume Cottenceau
-
Hi,
My jboss tries to resolve the DTDs for the validator plugin. Can anyone
tell me how to avoid this?
Thanks,
Manos
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
I have now set up the Tomcat service to run as administrator (temporarily)
but this doesn't resolve the problem.
I am now only trying to run notepad from the exec command:
Runtime runtime = Runtime.getRuntime();
Process proc = runtime.exec("C:\\WINDOWS\\system32\\notepad.exe");
This code work
right click on the service in services and go to properties.
go to the Logon tab, and there you can change the log on.
I don't know what user you'll need to run as, but if this is
a public server then an administrator is probably none too
sensible :-) I run mine as "NETWORK SERVICE" which you can
In the services control panel select the relevant service, choose
properties, and then choose the "Log On" tab. You can now decide which user
runs the service.
Paul
> -Original Message-
> From: andy wix [mailto:[EMAIL PROTECTED]
> Sent: 26 November 2004 09:25
> To: [EMAIL PROTECTED]
> Sub
Thanks for the input David.
It sounds like this must be the reason. I am running Xp with Tomcat 5.0.27
and Struts 1.1.
I run Tomcat as a service - how do I find out (or set up) the permissions?
Thanks,
Andy
_
Use MSN Messenger to se
OK I added something. to the wiki on Content Disposition, but yes thats how
it works.
Niall
- Original Message -
From: "Dakota Jack" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, November 26, 2004 8:29 AM
Subject: Re: Sending Binary Files from Acti
Dam, should pay more attention to the lists :-(
Anyway, I've add a link to it on that new wiki page. Thanks for pointing it
out. Listen if you have it working and theres stuff you learn from doing
it - feel free to update the wiki page.
Niall
- Original Message -
From: "Richard" <[EMAIL
David,
Many thanks.
-Miles
> -Original Message-
> From: David G. Friedman [mailto:[EMAIL PROTECTED]
> Sent: 25 November 2004 17:49
> To: Struts Users Mailing List
> Subject: RE: Client side validation broken when using
> DynaValidatorActionForm.
>
> Miles,
>
> Validation based on ac
Hi Niall,
Thank you very much. The thing is I have found a sample application
that uses the DownloadAction. Discussion is at
http://www.mail-archive.com/dev@struts.apache.org/msg04600.html while
the source codes are at http://www.omnytex.com/downloadapp.zip.
I think I have a working version now a
Good question, I do have live apps running with it, but performance isn't an
issue for me, its an internal app and I don't have zillions of users and my
boss just bought me a new big mother of a server (I kicked up a fuss after
he bought one for some app from the Evil Empire he was implementing)
T
Hello, Niall,
Nice addition. Let me suggest that you indicate how to apply the
content-disposition header with filename. That is where my knowledge
runs out at this time. The difference in the JSP page between inline
and attachment is what has me puzzled. I could just try various
options and s
Niall
Just a question on LazyDynaForm. I'm already sold on the benefits for
JSP folf to be able to knock out JSPs before ActionForms are written.
But how does the LazyDynaForm perform? When I experimented with
implementing MutableDynaClass few years ago I found it heavy going
(this was with java 1
Rather than answer you here, I've created a page on the wiki with
examples...
http://wiki.apache.org/struts/StrutsFileDownload
I haven't actually used DownloadAction myself - but I am doing the same sort
of thing in my application.
Niall
- Original Message -
From: "Richard" <[EMAIL PR
54 matches
Mail list logo