Which version of Struts 2 are you using? 2.0.11.1 works fine for me in the
same situation. Are you using the i18n interceptor? Also, how did you name
your resource files?
On Wed, May 7, 2008 at 11:30 AM, Jukka Välimaa <[EMAIL PROTECTED]>
wrote:
> Hi everyone,
>
> I have the following lines in m
hi there
i just success make a struts2/hibernate/spring programming using a standard
Java Project (source java and class).
this is the tutorial
http://www.blueoxygen.org/wiki/index.php/Cimande:Getting_Started
several my outstanding is
1. make all the result action to annoation
2. make all the
Hi,
I was trying to use the and invoke it with *some *parameters
using .
i.e.,
*
*
However, the parameters don't seem to be getting through to the
HttpServletRequest object
when interrogated inside the Action.
I know I can use the instead, but I preferred the .
I'm implementing Ser
Guys:
I have one question about log request and response time from filter.
We use jsp, filter, struts 1.2.
We have one PerfermaceFilter class which implements filter.
We calculate the time between FilterChain.doFilter and log that with request
URL.
Because sometimes when user do one click fr
john lee wrote:
Any expert can tell me why for the following?
i have an flash file (.swf), it is running fine under regular apache server.
But, it hang forever after i put it under tomcat/struts home directory.
What do you mean by 'hang forever'? Do you mean the browser locks up?
The OP wrote:
>> we are trying to use file upload in Struts 2...
Martin wrote:
Struts 1.2.9
Doh!
org.apache.struts.chain.servlet.validateActionForm
where the validate method is declared as
protected ActionErrors validate(Context context,
ActionConfig actio
Rubbinio wrote:
Hi,
we are trying to use file upload in Struts 2 and run into the following
problem.
We have a form with multiple fields among which one is a file input field.
The user must complete the form and then select a file to upload. If the
file size is larger than what we specify in th
Arpan Debroy wrote:
Hi,
Can anyone successfully implemented "optiontransferselet" tag.
Suppose I want to capture the RightSideDropDown box in action class.
How can I capture that in action class.Is it will be a collection field or
array or something else...
It should be an array or collection
Struts Two wrote:
I have deployed the two blank war files for struts 2.0.11 and struts 2.1.2.
While struts 2.0.11 works perfectly fine, I have the following problem with
struts 2.1.2.
Whenever I type a url as follows:
https://localhost:9445/struts2.1.2/example/HelloWorld.action
I get "page not
None of the JSP code made it out of your mail client into the message
I'm afraid. Try re-posting with your mail program set for plain text
instead of multipart/mime.
L.
houser wrote:
Hi All,
I am in very strange situation, and stuck! please help, I have found one
thread that much more or les
Struts 1.2.9
org.apache.struts.chain.servlet.validateActionForm
where the validate method is declared as
protected ActionErrors validate(Context context,
ActionConfig actionConfig,
ActionForm actionForm)
//reference the actionF
Hi,
Any expert can tell me why for the following?
i have an flash file (.swf), it is running fine under regular apache server.
But, it hang forever after i put it under tomcat/struts home directory.
tks in advance
john
-
Be a be
Hi,
we are trying to use file upload in Struts 2 and run into the following
problem.
We have a form with multiple fields among which one is a file input field.
The user must complete the form and then select a file to upload. If the
file size is larger than what we specify in the struts.properti
> are using html in java code because the JSP changes at run time
according to
> the user inputs.
But that's exactly what the Logic tags are for: a JSP that produces
different output according to inputs. For example:
If, in your Java code, you have:
if (reqType == A)
sb.append ("User made
Oops Sorry I meant UnknownHandler
On Wed, May 7, 2008 at 11:16 AM, kal stevens <[EMAIL PROTECTED]> wrote:
> I am not very familiar with struts2, but I need to implement an Unknown
> Action.
>
> I could not find any examples on the internet.
>
> I think that for handleUnknownAction, I just wanted
Thanks for the prompt reply. Its a late 90's huge application in which now
i cannot start using Strus 2 as iam the only developer working on this. We
are using html in java code because the JSP changes at run time according to
the user inputs . Yeah , i agree that coz of diff environment we face
I am not very familiar with struts2, but I need to implement an Unknown
Action.
I could not find any examples on the internet.
I think that for handleUnknownAction, I just wanted to go to the
with failure, for now and then we might change the behavior.
This happens when a user types in a bogus
A couple of things strike me as really odd about this.
First: why are you creating HTML using strings in Java code? The whole
point of JSPs was to avoid doing exactly that. You should either make
use of .jsp files and the logic tags in Struts [1] or just use regular
servlets if you really want to
Hi,
I have a problem with my application where actionServlet becomes null in
UNIX environment and works fine in windows XP system. While saving data on
test environment (UNIX) I am getting action servlet as null in My Action
class. The jsp is built dynamically in as below
*JSP code:*
if (newGuide
On Wed, May 7, 2008 at 6:10 PM, Arpan Debroy <[EMAIL PROTECTED]> wrote:
>
> But nothing is displaying in my drop down box when I put listkey and
> listvalue.
>
> If it's working without using listKey and listValue, then make sure you
have defined getters and setters for "id" and "name" attributes
I have a JPA query like that
Query query = em.createQuery("*SELECT c.name, c.id FROM Group c ORDER BY
c.name*");
List resultList = query.getResultList();
In Action class I have *resultList *and *GroupId *declared with getter and
setters
private List resultList ;
private long GroupId;
In
Hi,
Can anyone successfully implemented "optiontransferselet" tag.
Suppose I want to capture the RightSideDropDown box in action class.
How can I capture that in action class.Is it will be a collection field or
array or something else...
Thanks
Also make sure that you download and build xwork (needs to be on the
same folder as struts). Following the steps (in the link), and adding
-Dmaven.test.skip=true to maven commands should be enough.
musachy
On Wed, May 7, 2008 at 10:48 AM, Graham Leggett <[EMAIL PROTECTED]> wrote:
> Hans-Georg wro
Hans-Georg wrote:
Thanks for the link - I already found it but it doesn't help me.
Is there anyone else who is able to build struts from the source?
Can anyone tell what he did to set up the "development" environment?
After correctly installing a recent copy of maven2, make sure you have
an
Thanks for the link - I already found it but it doesn't help me.
Is there anyone else who is able to build struts from the source?
Can anyone tell what he did to set up the "development" environment?
Musachy Barroso wrote:
>
> This link could help:
>
> http://struts.apache.org/2.x/docs/buildi
I will be out of the office starting 05/07/2008 and will not return until
05/13/2008.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I have deployed the two blank war files for struts 2.0.11 and struts 2.1.2.
While struts 2.0.11 works perfectly fine, I have the following problem with
struts 2.1.2.
Whenever I type a url as follows:
https://localhost:9445/struts2.1.2/example/HelloWorld.action
I get "page not found" error. Howeve
This link could help:
http://struts.apache.org/2.x/docs/building-with-maven.html
musachy
On Wed, May 7, 2008 at 4:39 AM, Hans-Georg Kruse
<[EMAIL PROTECTED]> wrote:
> Hello,
>
> I wan't to build Struts 2.0.11.1 - to get more into the code and maybe try
> to patch something.
>
> I have install
Hello,
I wan't to build Struts 2.0.11.1 - to get more into the code and maybe try to
patch something.
I have installed Maven under:
C:\Program Files\Java\apache-maven-2.0.9
Java Version used: java version "1.5.0_09"
Checktout Struts from:
https://svn.apache.org/repos/asf/struts/struts2/tags/ST
Hi All,
I am in very strange situation, and stuck! please help, I have found one
thread that much more or less but does not help..
http://www.nabble.com/Check-a-multibox-dynamically-to6630704.html#a6630704
http://www.nabble.com/Check-a-multibox-dynamically-to6630704.html#a6630704
I have alread
Hi everyone,
I have the following lines in my jsp file:
Of these two, using text tag gives me the internalization that has been
selected as internationalization for the application. Using getText for
select label gives me internalization in Finnish, no matter what is the
selected international
31 matches
Mail list logo