Piero Sartini wrote:
--- code ---
">Register
--- code ---
This is form the doc of the s:url tag. With jspx this does not work (malformed
xml). How do I use it?
I need it for the css in the header, so s:a does not help me.
Register
would be one way.
L.
-
or maybe
At any rate, you need to use the 'value' attribute to specify the value :-)
L.
[EMAIL PROTECTED] wrote:
I wondered what is the struts tag equivalent of this JSTL to retrieve
the first element from an arrayList:
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"; %>
You could create the XML document by using SAX.
And read it with JDOM.
In the EE architecture you also have more abstract classes where SAX and
JDOM are derived from.
Content type would be as normal since your Java class generates the
output...
I suppose that would be the most convenient way b
Kandelwal Abhishek wrote:
Hi Guys,
I need a help regarding Ant scripts.
I have got a huge Java application. Each time I modify some files I have
to redeploy the EAR file. I don't want this.
I want to automate the deployment process using Ant Scripts But I don't
have any knowledge about the sam
Juan Espinosa wrote:
Hi to all, i need some help with a intenationalization. I have a file named
package.properties in the folder where i have located the actions.
The localization is not working in actionerrors, i have the following code
in the action:
addActionError("myapplication.registration
I created a quick prototype using plain old JSP pages
with some nested tabbedPanels, a div of which was
loaded via Ajax. That div contained an tag
that loaded another form. This all worked fine, and
there was much rejoicing.
*yay*
When I moved everthing into the *real* app where the
root page is
There should be a XSLT result type - using this result you can return
an XML document from an action. Is this what you are looking for?
/Ian
Quoting Jim Reynolds <[EMAIL PROTECTED]>:
I am implementing a "treeview" type of page to display categories in a
"treeview" type manner. The implemen
Hello, all.
I have built a custom jar which, in addition to classes, contains some
static javascript and css files. I'm deploying an exploded war to
tomcat 5.5 which has this jar in it's lib. I was hoping that my static
resource files within my jar would be loaded to allow jsps to reference
t
I am implementing a "treeview" type of page to display categories in a
"treeview" type manner. The implementation requires a XML file
displayed in the browser. So my idea would be to use the action to
create a dom, then put the dom into the request and have a JSP page
pull the dom from the request
http://www.apple.com/getamac/
... As seen on Comedy Central.
-Ted.
On 2/15/07, Greg Reddin <[EMAIL PROTECTED]> wrote:
I didn't see the Mac ad, but I saw several others. I guess they never
rolled around to it, probably because I'm on a Mac.
Greg
-
Hi All,
I'm trying to do an file upload using Struts 2.0.5 and the file is
always null. My actions are created using Spring 2 via Spring plugin.
If I disable Spring in my webapp (removing it's listener from web.xml)
and make Struts create it's actions, the same code work for the file
upload.
Doe
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Juan,
Juan Espinosa wrote:
> Dou you mean that i must put in every jsp page something like this
>
> <%@ page language="java" contentType="text/html; charset=UTF-8"
> pageEncoding="UTF-8"%>
My experience with JSP is very limited, but I think that you
I believe there was a previous problem with FilterDispatcher.doFilter()
Cheers!
-Original Message-
From: Karsten Voges [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 15, 2007 9:17 AM
To: Struts Users Mailing List
Subject: Re: Empty request parameters with enctype set to
"multipart/for
I started using the struts-blank.war file for my new project. I want to
Integrate the project with tiles. I am using RAD 7.
Here is what I see in the browser : Error 404: File not found:
/mainLayout
The application is working fine when I started using the jsp:include
tag.
Here are the steps foll
On 2/15/07, Ted Husted <[EMAIL PROTECTED]> wrote:
OK, it's not Friday, but this one made me LOL.
> In that case, security researchers noted a problem with
> Vista's improved speech-recognition system, which lets
> people speak commands to the computer. It turns out that
> sounds played over the
Thanks a lot. This definitly helped.
Just pasted in the following code into web.xml and the error disappeared:
struts-cleanup
org.apache.struts2.dispatcher.ActionContextCleanUp
struts-cleanup
/*
Strange that it needs this, but good to know that there is a fix for this.
Cheers,
Karsten.
And
On 2/15/07, Greg Reddin <[EMAIL PROTECTED]> wrote:
I would suspect that your problem lies in one of two areas:
1) Your web app is not configured correctly.
Sorry, I may not have been very clear about this. Your web app may likely
not be configured to match the build of Tiles you are using.
I would suspect that your problem lies in one of two areas:
1) Your web app is not configured correctly.
2) You're not using a build of Tiles 2 that is compatible with the version
of Struts.
I didn't see the exception you posted so it's hard to determine which. I'll
check the archives if I ge
You must call request.setCharacterEncoding *before* you read anything
from your request.
The most convenient way to do this is using a filter, like mr. Zheng suggested.
On 2/15/07, Juan Espinosa <[EMAIL PROTECTED]> wrote:
Dou you mean that i must put in every jsp page something like this
<%@ p
Juan is correct.
For myself, I just add the following line into every page:
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
And also, save all the page under UTF-8 mode. If you use Eclipse, you can
see the encode in file properties.
Regards,
Zheng Shuai
On 2/15/07, Jua
OK, it's not Friday, but this one made me LOL.
In that case, security researchers noted a problem with
Vista's improved speech-recognition system, which lets
people speak commands to the computer. It turns out that
sounds played over the PC's speakers - on a malicious Web
site configured for thi
Dou you mean that i must put in every jsp page something like this
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
Juan
-Mensaje original-
De: Christopher Schultz [mailto:[EMAIL PROTECTED]
Enviado el: jueves, 15 de febrero de 2007 11:09
Para: Stru
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Juan and Zheng,
Shuai Zheng wrote:
> Add the following line into your web.xml
It's only appropriate to use the CharacterEncodingFilter to force your
requests to be UTF-8 if all your pages are being /served/ in UTF-8.
Since you want to deal with "spe
Add the following line into your web.xml
SetCharacterEncoding
org.springframework.web.filter.CharacterEncodingFilter
encoding
UTF-8
SetCharacterEncoding
*.jsp
SetCharacterEncoding
*.action
BTW: spring.jar must in your class path.
Regards,
Zheng Shuai
On 2/15/07, Juan Esp
Hi, im having problems in my web application displaying spanish characters
Anyone knows what i have to configure to work this properly
For example if i put in a inputbox a Ñ character and submit that, then when
the action
returns to the "input" it show strange characters like ??? Or !!! in the
Hello,
http://www.archivum.info/user@struts.apache.org/2007-02/msg00012.html
Regards,
Andrew Stepanenko
On 2/15/07, Karsten Voges <[EMAIL PROTECTED]> wrote:
Hi list,
I downloaded Struts 2.0.5 (beta) and started developing of a small app
(simple form submit) on Tomcat 5.5.17 (JDK 1.5). Its wor
Hi list,
I downloaded Struts 2.0.5 (beta) and started developing of a small app
(simple form submit) on Tomcat 5.5.17 (JDK 1.5). Its working quite good
and I am happy with both the stability and the programming model.
Unfortunately I have a problem with some requests (form submitting)
sendin
Thank you for your interest in Google job opportunities. Our system uses
the email subject line to match applications with current openings.
Unfortunately, we were unable to determine a match for any of our current
openings based on your message.
If you are interested in a specific job, please res
28 matches
Mail list logo