Where is your struts.xml placed How you are invoking the action
from your jsp ???
Regards,
Rajagopal Y (Raj)
HCU-Consulting & Enterprise Solutions.
Phone: (C) +91-9986584084 / (W)+91-80-6658 3685.
-Original Message-
From: kushi [mailto:[EMAIL PROTECTED]
Sent: Friday, November 23, 200
Hello
i am beginner,i have just make a small hello program .when i run my program
i fine this error.
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it
from fulfilling this request.
exception
There is no Action mapped fo
Hi,
When i am trying to add "String" in "int" field, struts2 gives me following
message.
"invalid field value for field xyz".
Now i want to change this message to my custome message.
Then i have to create file ClassName.properties and in that if i will put
something like this
invalid.fieldvalue.fi
Hello
I am new to struts and started building a sample application . I would like
to know how a css file should be included in struts2 . and where should I
include the file exactly (in which folder).
Could any one please help
thanks
Unnikrishnan
--
View this message in context:
http://www.nab
I'm using struts 2.0.9.
I have a bean in a action.
The setter of the bean will throw a RuntimeException when the value is not a
legal value.
But when I submitted the form with the illegal value, and the
RuntimeException was thrown.
Nothing happens to struts 2 container. The exception disappeared an
Hi there,
I'm using Struts 2.1.1 with the new dojo plugin library and I stumpled over
the following problem for which I couldn't find any solution yet even after
hours of searching the net.
The application I'm building is a small calendar application that shows your
absences in a monthly view. W
hi all,
I have lot of trouble importing any css as it will most likely clash and
screw the dojo widgets. I was wondering whether there is a configuration
setting in Struts that would yield the same effect as e.g.
displaytag.property "css.table" i.e. provide a different css namespace
and avoid
Is it rendering properly? (I'm actually a little
surprised you don't have to use the "#" character, eg.
href="#url"--I thought you did.)
--- slideharmony <[EMAIL PROTECTED]> wrote:
>
> hi,
> I'm using the following code in my jsp:
>
>
>
>
> Link
>
>the following code for my action
hi,
I'm using the following code in my jsp:
Link
the following code for my action:
package prova.actions;
import java.util.Iterator;
import java.util.Map;
import java.util.Set;
public class Test extends ActionSupport {
public String execute() throws Exception {
return
Hello,
For anyone interested...
After several searches (and some sleeping too :-)), I've finally found a
possible solution - to use the freemarker "r" (raw) prefix:
<@s.set name="entityTypeList" value=r'#{"CST":"Customer",
"SPL":"Supplier" }' />
<@s.select name="entity.entityType" value="%{e
Yes, ok, right, thats a point.
But I still cannot see a clear alternative to handle it at all, not in
the xml way and even less in the annotation way (which would be our
preferred realization approach)
In a model driven action I have to handle in model, or?
Ok I could specify it direct on action
--- Giovanni Azua <[EMAIL PROTECTED]> wrote:
> I have put together all issues I have encountered
> while migrating my application from Struts 2.0.x
> to 2.1.x under the following link:
Thanks :)
> redirect-action
Redirect action is still supported; the result type is
"redirectAction".
d.
--
That's great!! Thanx a lot!!!
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 22, 2007 6:18 PM
To: Struts Users Mailing List
Subject: Re: using in struts2..
Well, only iterates over a single
array--it has no idea about any other arrays you're
dea
2007/11/22, Giovanni Azua <[EMAIL PROTECTED]>:
>
> I have put together all issues I have encountered while migrating my
> application from Struts 2.0.x to 2.1.x under the following link:
>
>
> http://cwiki.apache.org/confluence/display/S2WIKI/Migrating+From+Struts+2.0.x+to+2.1.x
Nice work Giovan
Well, only iterates over a single
array--it has no idea about any other arrays you're
dealing with.
If your action has, say, three arrays of equal
length...
public String[] getArr1() {...
public String[] getArr2() {...
public String[] getArr3() {...
... then...
... will iterate ove
hi!
I have put together all issues I have encountered while migrating my
application from Struts 2.0.x to 2.1.x under the following link:
http://cwiki.apache.org/confluence/display/S2WIKI/Migrating+From+Struts+2.0.x+to+2.1.x
My knowledge of Struts 2 is very shallow and at Users level so don't
If you're doing validation differently based on the
action then trying to do validation based on the model
doesn't seem like a good idea: you're not trying to
validate the model the same way for every action.
--- lbastil <[EMAIL PROTECTED]> wrote:
>
> Could someone please state whether I have er
hi wicketshafi,
You may also want to consider buying "WebWork in Action" I found it to
be a great reference for Struts 2.
HTH,
regards,
Giovanni
wicketshafi wrote:
Hello,,
is there any book on struts2 in the market...
if it is there please send a message.
regards
-Shafi
Thank for your feedback,
But that release is used in my active project and I don't want to
upgrade it now. So have you ever get that error? is it be because of
struts version?
Thanks,
Van
On Nov 22, 2007 6:07 PM, Alexis Pigeon <[EMAIL PROTECTED]> wrote:
> Hi Van,
>
> On 22/11/2007, Le Van <[EMAIL P
Hi everybody!
I have the following question - I have several String[] objects of the
same size. I have to render them on the jsp. First I thought that this
way is correct:
2007/11/22, wicketshafi <[EMAIL PROTECTED]>:
>
>
> Hello,,
>
> is there any book on struts2 in the market...
>
> if it is there please send a message.
http://struts.apache.org/2.x/docs/home.html
See the "books" section.
Antonio
I set this in web.xml
404
/error404.jsp
but the output doesnt come with the site template (using sitemesh)
anyone know why and how to solve this??
btw, any chance to make error 404 to call an action ?
like
404
/custom.action
seems tomcat on
Hi Van,
On 22/11/2007, Le Van <[EMAIL PROTECTED]> wrote:
> Hi all,
> I'm using Struts 2 (2.04) and running it on Tomcat 5.5.20 (*Nix
> machine). When I trace the log, I get this
2.0.4 never qualified as a GA release :
< http://struts.apache.org/downloads.html#PriorReleases >
The first GA release
Hello,,
is there any book on struts2 in the market...
if it is there please send a message.
regards
-Shafi
--
View this message in context:
http://www.nabble.com/is-there-any-book-on-struts-2--in-the-market.-tf4855723.html#a13894838
Sent from the Struts - User mailing
Hi all,
I'm using Struts 2 (2.04) and running it on Tomcat 5.5.20 (*Nix
machine). When I trace the log, I get this
2007-11-22 10:13:40,158 - ERROR
org.apache.struts2.dispatcher.multipart.MultiPartRequest(JakartaMultiPartRequest.java:130)
- org.apache.commons.fileupload.FileUploadException: Process
Hi,
Sorry i replied to the mail you have sent to the dev list which is used
by the struts developers to communicate about struts, sorry dev list guys :)
As you have included the struts tag inside a .js file it will not be
recognize as an jsp tag. therefore you need to include this inside the
.jsp
Could someone please state whether I have error in reasoning here or not?
... even a "I would think its not possible with build in features yet" would
help me.
Thank you a lot,
Basti
lbastil wrote:
>
> OK, sorry, I may have to describe it a little more in detail or I did not
> understand the
Hi friends I need your help
<<< Application.properties >>>
pa.filter.show=Show
<<< *.jsp >>>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%> <%@ taglib uri="/WEB-INF/struts-bean.tld"
prefix="bean"%>
<%@ taglib uri="/WEB-INF/struts-html.tld"
Hi everybody!
I am developing WEBApp now and there is a problem... Well actually - 2
problems...
My application should be bilingual. So I have 2 bundle files -
locale_ru_Ru.properties and locale_en_Us.properties. As I understand
struts2 tag automatically detect the user locale setting and
c
2007/11/21, Slattery, Tim - BLS <[EMAIL PROTECTED]>:
>
> > I saw many examples on the net with the normal logic:equal
> > tag and the el
> > statement:
> > >
> > So I thought I don't need
> You can use EL without the EL libraries if your servlet container
> supports J2EE version 2.4. If you have
Hi all,
I'm new to this list. I started to use Struts2 for a new project. I like
it quite a lot compared to the frameworks I used before.
Are there any additional component/tag libraries available for Struts2?
Thanks a lot,
Joachim
-
31 matches
Mail list logo