Hi guys,
I want to check if a error for a certain property is present in the
Action Errors. How can I do that.
BTB, I am using struts 1.3.
Thanks and regards
Vishnu NV
Arun,
You can keep a string property on action form and map it to the xml field
so that the xml content is available here on page submit. In the action
class, then you will be able to get the string and parse it using any
available xml parser. I don't think Struts provides any shortcut for this
Actually, I am not uploading a file. I am creating XML from the data entered
into the form and sending it to the action controller in the POST request
body. In the action controller, I would like to parse the XML. How to do it
in Struts 1.3?
-- Arun Kumar Boppudi
On Thu, Jul 29, 2010 at 10:24 AM
Doesn't this link (http://struts.apache.org/2.0.14/docs/file-upload.html)
help you?
From:
Arun Kumar Boppudi
To:
Struts Users Mailing List
Date:
28-07-2010 22:09
Subject:
Reading input stream (xml)
If we send XML content in the POST/PUT request to Struts action
controller,
how to read th
On 7/29/10 12:02 AM, Franz Wong wrote:
http://localhost:8080/myApp/action/myAction/user/name/Peter).
I would like to map those parameters in the following way.
class MyAction {
private String searchType; // user
private String searchMethod; // name
private String searchData // Pe
Hi group,
Suppose I have an URL with parameters (e.g.
http://localhost:8080/myApp/action/myAction/user/name/Peter).
I would like to map those parameters in the following way.
class MyAction {
private String searchType; // user
private String searchMethod; // name
private String searc
Thanks!
On Wed, Jul 28, 2010 at 1:40 PM, Michal Ciasnocha wrote:
> Hi Ryan,
>
> for getting translated text as label of select tag (and other tags) use
> "key" attribute. Usage is same as .
>
>
> Best regards,
>
> Michal
>
> Ryan Beckes wrote on 28.7.2010 20:16:
>
> Hi All,
>>
>> I'm working m
Hi Ryan,
for getting translated text as label of select tag (and other tags) use
"key" attribute. Usage is same as .
Best regards,
Michal
Ryan Beckes wrote on 28.7.2010 20:16:
Hi All,
I'm working my way through properties and I'm kind of stuck. I have a
properties file (package.propertie
Hi All,
I'm working my way through properties and I'm kind of stuck. I have a
properties file (package.properties) with a "message" entry...
Index.message= Color
... I am able to pull this message via the s:text tag, so I know it's
available in the value stack, but when I try to pull the same me
If we send XML content in the POST/PUT request to Struts action controller,
how to read this content in the Action class?
-- AB
On Tue, 2010-07-27 at 21:45 +0200, Michal Ciasnocha wrote:
> Why don't use Struts tag s:date for date formatting?
>
> in Action:
>
> public GregorianCalendar getMyDate() {
>return new GregorianCalendar();
> }
>
> in jsp:
>
>
>
> Michal
>
> > Hi all,
> > i do it like that:
> > in my
I'm suffering from option overload and need advice on how best to accomplish
loading resources based on the User's current "skin." This would be something
the user could set through an Action, and would be stored on the HttpSession.
I'd like to have one set of templates and page resources norma
Hi,
i've simply followed this:
http://struts.apache.org/2.x/docs/jsf-plugin.html
and in the struts.xml:
Il giorno mar, 27/07/2010 alle 05.55
In that case you must use own converter like this:
public class DateTimeConverter extends StrutsTypeConverter {
@Override
public Object convertFromString(Map context, String[] values,
Class toClass) {
try {
return DateUtil.getConvertedDate(values[0],
DateUt
Michal,
I wanted the user to input his birth-date. Displaying the current date will
be of no use for it.
Hi all,
Disclosure: I am not a recruiter, but looking to increase a
development team that I lead. I sincerely apologize if this message
is against mailing list etiquette; I have not seen any guidelines
forbidding this.
We are looking to expand the development team based in Copenhagen,
Denmark.
16 matches
Mail list logo