2008/4/29 balaji.m.cs <[EMAIL PROTECTED]>:
>i am using tiles 1.2 with struts 1.3.5
What? Why Tiles 1.2 with Struts 1.3.5?
Tiles 1.x and Struts 1.x must have the same version number.
Antonio
-
To unsubscribe, e-ma
2008/4/29 Musachy Barroso <[EMAIL PROTECTED]>:
> Does anyone know how to use nested tags in velocity, like building a
> url? I have tried many, many combinations of the form:
>
> #surl ...
> #sparam ... #end
> #end
>
> and can't seem to get it right. (and google is no giving me any love
> o
i have taken the tld version of struts-tiles which i have taken from
struts-blank.
Antonio Petrelli-3 wrote:
>
> 2008/4/29 balaji.m.cs <[EMAIL PROTECTED]>:
>>i am using tiles 1.2 with struts 1.3.5
>
> What? Why Tiles 1.2 with Struts 1.3.5?
> Tiles 1.x and Struts 1.x must hav
2008/4/29 balaji.m.cs <[EMAIL PROTECTED]>:
>
> i want to show an error page with a application error
> messages 2 the users when there is an technical error...
>i am using tiles 1.2 with struts 1.3.5 when there is an error
> in a jsp tile say a body part or a left
no i don want to show an error page made with tiles definition wat i need
is an error page say an simple jsp stating there is an application error
java.lang.Exception
/jsp/sample/error.jsp
if i add the above entry
2008/4/29 balaji.m.cs <[EMAIL PROTECTED]>:
>
> no i don want to show an error page made with tiles definition wat i need
> is an error page say an simple jsp stating there is an application error
>
>java.lang.Exception
> /jsp/sample/error.j
Hello and good day;
I'm trying to migrate an application that is made in Struts and hosted
"Tomcat/4.1.31" and works well.
Now I want to operate in a Tomcat 5 or 6 but when I try to make the migration
are errors such as:
- This error only appears in JSP with forms, whether it helps
Hello and good day;
I'm trying to migrate an application that is made in Struts and hosted
"Tomcat/4.1.31" and works well.
Now I want to operate in a Tomcat 5 or 6 but when I try to make the migration
are errors such as:
- This error only appears in JSP with forms, whether it helps.
[Servl
Hi,
I have the same problem once i place the
struts2-jfreechart-plugin-2.0.11.jar I have got the deployment error like
this
Apr 29, 2008 2:13:30 PM org.apache.catalina.core.StandardContext filterStart
SEVERE: Exception starting filter struts2
Class: gnu.xml.dom.DomElement
File: DomElement.jav
error jsp or the tiles jsps...with the layout.?
Antonio Petrelli-3 wrote:
>
> 2008/4/29 balaji.m.cs <[EMAIL PROTECTED]>:
>>
>> no i don want to show an error page made with tiles definition wat i
>> need
>> is an error page say an simple jsp stating there is an application error
>>
Clearly stating you
My application uses tiles for my view purpose in the normal flow if
every thing goes fine
if some exception raises @ jsp level
i will show a clean error jsp stating "sorry for the trouble u have
been met with an application error
. (while rendering into
2008/4/29 balaji.m.cs <[EMAIL PROTECTED]>:
>
> Clearly stating you
>
>My application uses tiles for my view purpose in the normal flow if
> every thing goes fine
>
> if some exception raises @ jsp level
>
> i will show a clean error jsp stating "sorry for the trouble u have
2008/4/29 balaji.m.cs <[EMAIL PROTECTED]>:
>
> error jsp or the tiles jsps...with the layout.?
Your "/jsp/sample/error.jsp" obviously.
Wait a moment: are you using Tiles tags in that JSP files? But you
told that you don't want to use Tiles.
I just don't get your point.
Antonio
-
its my /jsp/sample/error.jsp
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
<%@ page isErrorPage="true"%>
<%@ page import="java.io.PrintWriter,java.io.StringWriter"%>
http://www.w3.org/1999/xhtml";>
you have met with an application error sorry for the
trouble
2008/4/29 balaji.m.cs <[EMAIL PROTECTED]>:
>
> when there is an error
> in a jsp tile say a body part or a left part the error page is replaced @
> that particular tile
Oh finally I think that I understood :-)
You are saying that, when you have an error occurring in a "tile", you
see the error
finally u got it man.. its wat im sayin.. im using oracle app server 10 g. as
production server .locally im using jdevloper with oc4j embedded
server
Antonio Petrelli-3 wrote:
>
> 2008/4/29 balaji.m.cs <[EMAIL PROTECTED]>:
>>
>> when there is an error
>> in a jsp tile say a body part
I did something like src="<%=request.getContextPath()%>/images/header.gif"
On Tue, Apr 29, 2008 at 12:51 AM, Yellek <[EMAIL PROTECTED]> wrote:
>
> I am trying to write an image button of the form:
>
> name="search"/>
>
> where context-root is the configured context root of my web application.
>
2008/4/29 balaji.m.cs <[EMAIL PROTECTED]>:
>
> finally u got it man.. its wat im sayin.. im using oracle app server 10 g. as
> production server .locally im using jdevloper with oc4j embedded
> server
I think that this problem cannot be solved. This "bug" should be
visible even with sim
Does anyone know if it's possible to inject values into struts.xml
(something like PropertyConfigurer does in Spring)?
Thanks!
--
Alberto A. Flores
http://www.linkedin.com/in/aflores
-
To unsubscribe, e-mail: [EMAIL PROTECTE
No, that's not good :)
thanks Antonio
musachy
On Tue, Apr 29, 2008 at 4:00 AM, Antonio Petrelli
<[EMAIL PROTECTED]> wrote:
> 2008/4/29 Musachy Barroso <[EMAIL PROTECTED]>:
>
> > Does anyone know how to use nested tags in velocity, like building a
> > url? I have tried many, many combinations o
--- Sandy143 <[EMAIL PROTECTED]> wrote:
> It is a single application.
>
> when trying to access struts2 action ... it is unable to find the path.
> (Error: Invalid Specified Path ...)
>
> I have interceptors in struts.xml. I have plugin jar in web-inf/lib.
>
> I am not sure of what needs to be d
Getting the context path in jsp is something struts doesn't really
support--something I've had trouble with many times. One way to get around
the problem is scriptlet like Jim showed you. Recently, we used url tag for
the same purpose:
On Tue, Apr 29, 2008 at 3:22 PM, Jim Kiley <[EMAIL PROTECT
Hi,
I'm using struts ajax tag tabbedPanel inside a form. I have the following
problem: the tabbedpanel renders outside the form in generated html, even if
the tags are placed inside the form element in jsp, and thus the tabbedpanel
can't be used to submit data. Is there a way around this?
With this we will not have ... struts1 config file right
struts-config.xml would be completely modified to struts.xml. Am I on the
right path?
Thanks,
newton.dave wrote:
>
> --- Sandy143 <[EMAIL PROTECTED]> wrote:
>> It is a single application.
>>
>> when trying to access struts2 actio
--- Sandy143 <[EMAIL PROTECTED]> wrote:
> With this we will not have ... struts1 config file right
>
> struts-config.xml would be completely modified to struts.xml. Am I on the
> right path?
Are you trying to use the plugin, or are you trying to run in parallel?
The S1 plugin wraps S1 actio
It sounds like you are using Struts 2.0.11+ and if this is the case then EL
is not allowed in Struts tags.
Regards,
Randy Burgess
Sr. Web Applications Developer
Nuvox Communications
> From: xianwinwin <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List
> Date: Mon, 28 Apr 2008 16:40:19 -
"If you're not using the plugin, then you configure S1 and S2 completely
separately from each other."
Can I do this if I want to use both S1 and S2 in the same web app (single
web.xml)?
newton.dave wrote:
>
> --- Sandy143 <[EMAIL PROTECTED]> wrote:
>> With this we will not have ... struts1 c
Jukka Välimaa wrote:
Getting the context path in jsp is something struts doesn't really
support--something I've had trouble with many times. One way to get around
the problem is scriptlet like Jim showed you. Recently, we used url tag for
the same purpose:
I agree it's strange it's not
Hi there,
On Tue, Apr 29, 2008 at 3:46 AM, crappycrumpet <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I have a problem where I have a page (let's call it a.jsp) which calls an
> action using to actionA in namespaceA, using redirect-action, which display the name
> attribute in object a. (both impl
I'm not sure what you mean by that; setting it to 'none' means it will
not add any parameters from the current request to the generated URL.
You can explicitly add any parameters you want and obviously those will
go into the URL, it just wont *copy* any parameters from the current
request autom
Hello,
I'm new to Struts 2.
Assume that I'm on a JSP that has been rendered with a Struts2 Action.
Somehow I want to access the Action and its properties via a JSP tag,
something like this:
What is the correct way to do this? Is the Struts 2 Action placed on
the request using a specific
--- "Asleson, Ryan" <[EMAIL PROTECTED]> wrote:
> Assume that I'm on a JSP that has been rendered with a Struts2 Action.
> Somehow I want to access the Action and its properties via a JSP tag,
> something like this:
>
>
>
> What is the correct way to do this? Is the Struts 2 Action placed on
>
OK, so by just using:
${myValue}
The myValue property of the Action class will be accessed? I suppose
this works as long as there aren't other "myName" properties in the
other scopes, right?
I take it that Struts2 essentially exposes the action as another scope
to JSP EL?
Thank you!
-Or
--- "Asleson, Ryan" <[EMAIL PROTECTED]> wrote:
> OK, so by just using:
>
> ${myValue}
>
> The myValue property of the Action class will be accessed? I suppose
> this works as long as there aren't other "myName" properties in the
> other scopes, right?
The request wrapper searches the JSP conte
What is the bean under name beanSerie? Does it have a getCodigo()
method? Is it public? Is the class public? Without more info it's
impossible to diagnose definitively.
L.
Christian Villamizar wrote:
Hello and good day;
I'm trying to migrate an application that is made in Struts and hosted
Alberto A. Flores wrote:
Does anyone know if it's possible to inject values into struts.xml
(something like PropertyConfigurer does in Spring)?
I couldn't find a PropertyConfigurer class in Spring; perhaps you meant
PropertyPlaceholderConfigurer or PropertyOverrideConfigurer? In any
case, I'm
Yes. If you don't want to migrate any of your existing Struts 1 JSPs,
you can just add Struts 2 to the application, leaving everything else as
it is. Later, you can add the Struts 1 plugin to help with migrating
existing (Struts 1) views to Struts 2.
L.
Sandy143 wrote:
"If you're not using t
> <- Start JSP ->
> id="selectKeyword" name="selectKeyword" list="selectKeyword"
> multiple="true">
> <- End JSP ->
You've specified 'selectKeyword' for every attribute... Each of those
attributes has a different meaning, so this wont work.
You need two properties on your acti
--- Laurie Harper <[EMAIL PROTECTED]> wrote:
> Alberto A. Flores wrote:
> > Does anyone know if it's possible to inject values into struts.xml
> > (something like PropertyConfigurer does in Spring)?
>
> I couldn't find a PropertyConfigurer class in Spring; perhaps you meant
> PropertyPlaceholder
I have a problem that can be stripped down to the following: a jsp with a
form:
The action has a
private int[] formReturned;
with getters and setters.
If any of the two checkboxes are checked, formReturned will be a ve
Have you tried fieldValue="%{#attr.current.entityId}?
If you're using the displayTag, you could also have a check at an issue I
have:
http://www.nabble.com/No-result-defined-for-action-and-result-input-with-checkbox-to16966533.html
http://www.nabble.com/No-result-defined-for-action-and-result-inp
Thanks a lot.
On 4/28/08, Wes Wannemacher <[EMAIL PROTECTED]> wrote:
>
> Vinay,
>
> did you try -
>
> http://localhost:8080/mailreader/
>
> ?
>
>
> On Mon, 2008-04-28 at 17:46 -0700, Vinay Nagrik wrote:
> > Hello Group,
> >
> > In my server.xml the appbase is "webapps" and I have copied a
> mailre
Thanks for the replies and info.
nagrik
On 4/28/08, Wes Wannemacher <[EMAIL PROTECTED]> wrote:
>
> Vinay,
>
> You are talking about two different things... First off, in the java
> source file, the statement 'package tutorial;' relates to the following
>
> http://java.sun.com/docs/books/tutorial
I've run into a situation that I would like to get others opinions on.
The problem is with handling a form. Here is the scenario: I have a form
called form.jsp, this form needs data from the database so it has an
associated FormAction.java class. The struts.xml file looks like this:
/form.jsp
Hi,
I've got a s:textfield where I show an double value. But I wanted to
change the value to an currency (EUR).
But I only get the standard 100.00 instead of 100,00. When I only wants
to publish it in a website I use
with an format.currency property form
Hi
I am quite new to Struts 2 and have problems with StrutsTypeConverter I have
created my custom converter but i can see it is not fired when my
Action-conversion.properites contains more than 2 level property expression.
Example:
datePeriodFilterParameters.dateTo=MyConverter (works as exptected
Hi,
Today I've been presenting Struts2 to member of Warsaw JUG and I got such
question:
it is possible to exclude interceptor for given action?
As I know no, but maybe I'm wrong. The only way is to define interceptor for
each action and omit for given one.
Regards
--
Lukasz
http://www.linkedi
As soon as you define interceptors at the action level you are excluding all
other interceptors *except* the ones you specify for the action, so in this
way you can exclude interceptors on a per action basis. You could also roll
your own packages with the interceptors you want and exclude them that
Hi,
This page may help you:
http://www.roseindia.net/struts/struts2/struts-2-format.shtml
Regards.
On 4/29/08, Marc Ende <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I've got a s:textfield where I show an double value. But I wanted to
> change the value to an currency (EUR).
> But I only get the stan
This is the another page:
http://struts.apache.org/2.0.11/docs/how-to-format-dates-and-numbers.html
On 4/30/08, Okan Özeren <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> This page may help you:
> http://www.roseindia.net/struts/struts2/struts-2-format.shtml
>
> Regards.
>
Does the following work -
Also, is com.company.Constants.STATIC_CONSTANTS1 a String?
-Wes
On Tue, 2008-04-29 at 10:57 +0530, Ravichandra C wrote:
> Hi,
>
> This doesn't seem to be working. My main problem is that why is it not
> throwing any exceptions if its not the right way to display
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello struts freaks,
i would like to implement a rights management for my application.
Therefore I need to retrieve a list of actions configured in struts.xml.
Does anyone of you have an idea how to get this information ?
I can get a list of action
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello struts freaks,
i have quite an interesting problem again. In my struts.xml i have
defined a method to call for my action (method="save")
Every time execute() is called in my action class, the method validate()
is executed before.
The same a
Volker Karlmeier wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello struts freaks,
i have quite an interesting problem again. In my struts.xml i have
defined a method to call for my action (method="save")
Every time execute() is called in my action class, the method validate()
is ex
thank you Wild Oscar,
this is a good starting point for me.
what is the attr and current here?
%{#attr.current.entityId}?
I have this on the action:
private String[] userCheck;
private Long[] myid; which is a list of Longs {23,62,67,88,125}
those reflects all the entitieIDs
The list is E
They are attributes of the displaytag.
current is the id you give to each line in the table:
Check the displaytag's documentation for more info.
xianwinwin wrote:
>
> thank you Wild Oscar,
> this is a good starting point for me.
> what is the attr and current here?
>
> %{#attr.current.enti
hi all
i just get an idea to make one of my class a POJO will be recognized
globally inside S2 environment
so i get the values from this POJO, such as username, password all across
application
anyone can help, what is the best way to implement this?
F
Hi Ralf,
Ralf Fischer-2 wrote:
>
> Please tell us exactly what you want to do, as there might be a
> simpler solution to your problem.
>
Okay I don't have hibernate and this is what I'm sort of doing. Let's say
that I have a table of staffs, offices and things_assignment (which links
staffs a
Wow -- thanks for making that point. I think I had known that but hadn't
really seen it or thought about it. Excellent stuff, thank you.
jk
On Tue, Apr 29, 2008 at 5:12 PM, Randy Burgess <[EMAIL PROTECTED]> wrote:
> As soon as you define interceptors at the action level you are excluding
> all
Is this something you want to have accessible from your view pages, or just
from your action classes? For the most part you can deal with this in the
same way you'd deal with any other singleton or singleton-oid. Use the good
old static singleton pattern per Josh Bloch et al, or (preferably) use
On Wed, Apr 30, 2008 at 7:44 AM, Jim Kiley <[EMAIL PROTECTED]> wrote:
> Is this something you want to have accessible from your view pages, or
> just
> from your action classes? For the most part you can deal with this in the
> same way you'd deal with any other singleton or singleton-oid. Use t
Do you want one static copy of your POJO available everywhere, or do you
need a unique copy of your POJO for each request or session?
-Wes
On Tue, 2008-04-29 at 20:44 -0400, Jim Kiley wrote:
> Is this something you want to have accessible from your view pages, or just
> from your action classes?
On Wed, Apr 30, 2008 at 7:51 AM, Wes Wannemacher <[EMAIL PROTECTED]> wrote:
> Do you want one static copy of your POJO available everywhere, or do you
> need a unique copy of your POJO for each request or session?
>
i want this pojo available in my context (only inside current .war).
i have a g
On Wed, 2008-04-30 at 08:01 +0700, Frans Thamura wrote:
> On Wed, Apr 30, 2008 at 7:51 AM, Wes Wannemacher <[EMAIL PROTECTED]> wrote:
>
> > Do you want one static copy of your POJO available everywhere, or do you
> > need a unique copy of your POJO for each request or session?
> >
>
> i want thi
Jakub Milkiewicz wrote:
Hi
I am quite new to Struts 2 and have problems with StrutsTypeConverter I have
created my custom converter but i can see it is not fired when my
Action-conversion.properites contains more than 2 level property expression.
Example:
datePeriodFilterParameters.dateTo=MyConv
hi,
Does the following work -
Yes it does. But my requirement is more like i would import the class into
some bean/ variable (C) so that i can say C.staticconstant1 etc... but by
the approach mentioned above, i should repeat the @com.company.Constant
string always which reduces the readabil
hi,
When we had the data structure as: HashMap the following jsp
fragment was able to populate it:
but the same thing is not working with HashMap >
when we tried:
();
mapOfList.put("key", new ArrayList());
still no luck Using POJOs instead of hashmap would not fit to my
requirements.
any
Hi,
the examples are for output formatting in but this doesn't work
for .
This...
doesn't work... :(
Regards
Marc
Okan Özeren schrieb:
This is the another page:
http://struts.apache.org/2.0.11/docs/how-to-format-dates-and-numbers.html
On 4/30/08, Okan Özeren <[EMAIL PROTECTED]> wr
Did you try to import your Constants class?
<%@ page import="com.company.Constants" %>
As far as say C.staticconstant1, all I can really say is that the @
symbol is how you access static vars/methods in OGNL.
Another choice might be to use regular ol' EL expressions.
-Wes
On Tue, 2008-04-2
Maybe try:
(*Chris*)
On Tue, Apr 29, 2008 at 10:27 PM, Marc Ende <[EMAIL PROTECTED]> wrote:
> Hi,
>
> the examples are for output formatting in but this doesn't work
> for .
>
> This...
>
>
>
> doesn't work... :(
>
> Regards
>
Assuming you have appropriate getters and setters on your action for the
HashMap of ArrayLists, you should be able to set them using indexing
like this -
or
(where "i" is an integer representing the index where you want the
String set)
http://www.ognl.org/2.6.9/Documentation/html/LanguageGui
Chris,
now I can format my output to the forms. But why is it this strange way.
I had expected that the formatting is
much easier for the textfields...
thank you very much
Marc
Chris Pratt schrieb:
Maybe try:
(*Chris*)
On Tue, Apr 2
I'm not crazy about the tag libraries that are included with Struts 2,
I've just learned ways to make them work. In this case, what the
work-around is doing is formatting the value and storing it on the
value stack, then referencing it from the textfield for it's value.
It works, but like you say,
Ignore this. The problem was caused by an unbalanced div tag elsewhere in
the form.
On Tue, Apr 29, 2008 at 5:27 PM, Jukka Välimaa <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> I'm using struts ajax tag tabbedPanel inside a form. I have the following
> problem: the tabbedpanel renders outside the form in
Hi
I ve checked all required getters and setters million times but still
nothing.
If i just remove following line from Action-conversion.properites
datePeriodFilterParameters.cos.dateFrom=MyConverter
and change datatype of dateFrom property to String binding is succesfull
and inside execute metho
Is there a way to do this programmatically rather than declaratively?
Thanks!
76 matches
Mail list logo