When I rebuilded my classes, Tomcat throws error HTTP 500 with "Unable to
instantiate Action, test.Settings, defined for 'Settings' in namespace
'/'null - action...". Earlier, my app builds without errors... This error is
because I try to staticly instatiate the Account class?
My rebuilded classe
We have problem deploying Web application with
Tomcat5.5.7/Struts1.2.3 developed in Windows XP.
Everything works fine in several Window servers. When
deployed into Linux server Tomcat5.5.23, the index.jsp
forwards the request to Welcome.jsp like:
<%@ taglib uri="/tags/struts-logic" prefix="logic"
Is there a table tag lib suitable for use on a tab page?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hello,
I was wondering what is the best way to enable SSL connections in Struts
2? In Struts 1 we would use the secure tiles plugin but I'm unsure if
that's still an option and if it's the best one. Any information would
be appreciated since I couldn't find the subject in the guides or the
FA
you can also take the templates folder out of the jar, and by this way change
the respective .ftl to change the layout and behavior of your component. It
is quite simple, if you have this out of your .jar.
But if your change is really big, then you should extend the theme instead!
Good luck!
Fel
Hi Laurie,
>From your example I can see that the best way is to use the OGNL instead of
EL in Struts tags.
But, will OGNL work exactly as EL to get values from session, pageContext,
request and application?
I thought OGNL was only for Struts stack. I didn't realize that I could use
it as alternat
Thomson, Stewart wrote:
Hello
Is it possible while using the return answer;
}
In the jsp
some html
Yes, that should work. The obvious thing to do with a simple question
like this is to just try it.
L.
--
אלחנן מעין wrote:
hi...
i like double select tag, but i'm wondering a fiew things.
is a there an easy way to customize it's appearnce, for example, i would
like to set some spacing between the combos, or maybe have the 2nd combo
appear next to the first one, instead under it.
i would like to
jalal udeen wrote:
can any body tell how to display the session value in jsp using struts tag
i have set the session value in action class as
session.setAttribute("candidatename",request.getParameter
("name"));
i want to display this name in jsp page pls help me and send me example
As well as validation errors, there could still be conversion errors.
You said you don't have any conversions configured but remember that
Struts will apply default converters if you have any setters on the
action that take non-String arguments (assuming the request includes an
attribute that m
Well, as I said, the 'value' attribute is evaluated by OGNL, so what's
going to happen here is:
1. the container will evaluate the EL expression ${mapItem.value.id}
2. the result of 1. (e.g. int '99') will be passed into the custom action
3. Struts will attempt to evaluate the value '99' as a
piloupy GOTTAPIL wrote:
What I've done is stupid. I don't use the possibilities of the UTF-8
encoding by setting the charSet to "ISO-8859-15".
It's been nearly 2 days that I'm on a detail according to my manager.
I'm obliged to put the UTF-8 aside...
To answer you :
- The JSP directive <%@ page
adambomb wrote:
Hi, I have a jsp page which displays more than one drop down lists and is
being populated from the database. Now when I click on a submit button after
selecting the values from two dropdowns. it should go and search in the
table and retrieve a collection of rows of that table(base
We could do this on 2.1, locking the tabs so they cannot be selected is easy
(I just beforeSelectTabNotifyTopics/afterSelectTabNotifyTopics, where the
first one has a parameter, cancel, so you can set cancel.cancel = true on a
topic, preventing a tab from being selected), how could we visually "ma
Cezary,
First I'd say ditch the static references on your Account class. Also why are
you extending ActionSupport on the account class? It's an entity object.
Second, create a constructor for your Settings action class. In the constructor
check for nullity of each of the accounts, and if so the
Hi,
I`m noob to S2 so be patient ;)
I`m writting simple S2 webapp - I`d like to create 'money transfer bank
system'. Theory: i have 3 accounts, and I`d like to transfer money between
them.
This`s my "Account" class:
***
package test;
import com.opensymphony.xwork2.ActionSupport;
public
--- Martin Gainty <[EMAIL PROTECTED]> wrote:
> If the base class is [...] then the attributes are
> *supposed to be read* from the tld e.g. [...]
> Please confirm..
It doesn't really matter if the attribute is in the
TLD if the code to render it isn't in the template
that outputs the attributes.
Hello All-
If the base class is javax.servlet.jsp.tagext.TagAttributeInfo..is this
true?
then the attributes are *supposed to be read* from the tld e.g.
submit
org.apache.struts.taglib.html.SubmitTag
.snip..
disabled
true
true
.snip...
Please confirm..
Martin--
This email message and
Never mind, looks like it's already a known bug:
http://issues.apache.org/struts/browse/WW-1758;jsessionid=E06C1AD4BB270F9CD2BE0CE6B17B6A26?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
- Original Message
From: Shahak Nagiel <[EMAIL PROTECTED]>
To: Struts Users Mailin
Is there anybody who can help meee..
adambomb wrote:
>
> Can you tell me what do I have to do in the action class other than
> forwarding back to the form page.
> If I try to print the values from the action class, I do get the right
> values on the console. But
Is there anything special required to make the "disabled" attribute on a submit
button work (i.e. get generated in HTML)?
This simple line:
is generating the button fine, but it is not disabled in either Firefox or IE
(nor does the HTML give any indication of it being disabled).
Thanks in ad
Ahh, notifyTopics. Sweet, sweet, notifyTopics.
I guess the reason I did not use notifyTopics before
is that I did not understand it. I now have the
"before" working great, and as soon as I figure out
how to indicate success in the action (guess it is not
just return SUCCESS;) I am sure the "loa
2007/5/4, Antonio Petrelli <[EMAIL PROTECTED]>:
2007/5/4, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> - Support for Tiles
Which Tiles?
Don't bother, I noticed that you refer to Struts-Tiles :-(
Antonio
-
To unsubscribe, e-mail
2007/5/4, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
- Support for Tiles
Which Tiles?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi all,
New features included in this release:
- Support for Struts-EL
- Support for Tiles
- Support for Weblogic 8.1
- New configuration for start pages and error page (without web application
name).
You can have a look at: http://www.hdiv.org
We have created also a new mailing list tha
Depuis le 21 décembre 2006, Natexis Investor Servicing s'appelle Natixis
Investor Servicing. Les adresses mails des collaborateurs ayant changé, veillez
à la mise à jour de votre carnet d'adresses.
I've used the simple theme and it's working as I expected.
I'll try to write my own ...
Thank y
The thing is that in 2.0.6 some of the ajax tags had the wrong case in the
freemarker model names (should be all lower case). Try dateTimePicker.
https://issues.apache.org/struts/browse/WW-1757
musachy
On 5/4/07, Ron Chan <[EMAIL PROTECTED]> wrote:
on the same page I have
s.form
s.hidden
s.
I suggest you use the simple theme by specifying theme="simple" in your form
tag and then create your own labels and styling. Also, S2(WW) uses default
styles which you can override in your local style sheet. I'm pretty sure
these are the styles used for the default theme:
.label {font-style:itali
Hello
Is it possible while using the
some html
Thanks
--- Niall Pemberton <[EMAIL PROTECTED]> wrote:
> [...] except some guys made me go out drinking beer
> till late last night here at ApacheCon
Those darn guys! ;)
d.
We won't tell. Get more on shows you
Hi,
Had anyone work with ?
How
does the params "headers" work?
I try different options but it seems to not
produce any change
xxx
Thanks
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
ok, i got it !
i added the "web-inf/lib" path to the build.xml file like this:
and it worked, the lib folder had the struts jar files in it..
thanx again for the help dave!
vikas.
On 5/4/07, Dave Newton <[EMAIL PROTECTED]> wrote:
--- vikas rao <[EMAIL PROTECTED]> wrote:
>
>
destdir="[
> I would guess you're either redirecting to the wrong
> place or there is an exception preventing normal
> completion.
>
I bet that the view use a form in request scope.
So, on redirect it is lost ...
You have to redirect to a view that take in parameter somting like an
object id an place it i
On 5/4/07, Dave Newton <[EMAIL PROTECTED]> wrote:
Hey,
Just out of curiosity, when did you post this? I've
had some weird list timing things happening lately,
'cuz I posted that I had solved this yesterday (with
the getValidationKey solution :)
Yeah I was reading thru' in order and didn't see
Forgot to mention:
http://struts.apache.org/2.x/docs/type-conversion.html
at the very end ...
Am Fr, 4.05.2007, 12:14, schrieb Rene Gielen:
> On Thu, 3 May 2007 22:29:26 -0700 (PDT), Struts2 Fan
> <[EMAIL PROTECTED]> wrote:
>>
>> Yes I checked them. I didn't write any validation for these fields.
Hey,
Just out of curiosity, when did you post this? I've
had some weird list timing things happening lately,
'cuz I posted that I had solved this yesterday (with
the getValidationKey solution :)
Thanks,
d.
--- Niall Pemberton <[EMAIL PROTECTED]> wrote:
> On 5/3/07, Dave Newton <[EMAIL PROTECTED
Doh! Just replied to the other thread :)
Niall
On 5/3/07, Dave Newton <[EMAIL PROTECTED]> wrote:
Followup:
Overriding getValidationKey(...) fixed it.
--- Dave Newton <[EMAIL PROTECTED]> wrote:
> Hey,
>
> Working on an S1 app at the moment (shaddup, all a'
> ya').
>
> Things are set up a bit
--- jalal udeen <[EMAIL PROTECTED]> wrote:
> i have used also redirect. when i use redirect i
could
> not find anything i the page that page displayed as
> white empty
I would guess you're either redirecting to the wrong
place or there is an exception preventing normal
completion.
Normally I wo
Hi
Sorry for the off-topic post, but if anyone is likely to know the
answer they'll probably be here. In the same way that we have
Hibernate, Ibatis et al for mapping between RDBMS and Java objects,
does anyone know of a framework that will map between SAP R3 Remote
Function Calls and Java objec
On 5/3/07, Dave Newton <[EMAIL PROTECTED]> wrote:
Hey,
Working on an S1 app at the moment (shaddup, all a'
ya').
Things are set up a bit weird compared to what I'm
used to; in this case there's an action that uses an
ActionForm that isn't declared in struts-config, and
that ActionForm contains
On Thu, 3 May 2007 22:29:26 -0700 (PDT), Struts2 Fan <[EMAIL PROTECTED]> wrote:
>
> Yes I checked them. I didn't write any validation for these fields. Struts
> 2
> controls double, int, date fields and if they are not valid it writes the
> message "Invalid field value for field "property.intValue
--- vikas rao <[EMAIL PROTECTED]> wrote:
>
>
destdir="[...]\webapps\MyStruts\WEB-INF\classes\log"
> debug="true"
> includes="**/*.java"/>
>
>
> Should i include something else with my build.xml?
> like the path to the "lib" folder inside the
"WEB-INF"
> folder or so
Hi all
i have used also redirect. when i use redirect i could not find
anything i the page that page displayed as white empty
thanks
jalaludeen.h
On 5/3/07, Sandra Reichert <[EMAIL PROTECTED]> wrote:
Hi,
Our web application offers two ways for data input.
The first way is an html from. Here the user can enter record by record.
Validation works fine.
The second way is to import data from a .cvs file. I want to use the
same validation.xml f
This should do what your after
window.toolbar.visible = false;
window.menubar.visible = false;
Check out http://developer.mozilla.org/en/docs/DOM:window for more info.
Peter Neu wrote:
Hello,
I'm using Struts 1.x. Do you know how to disable the toolbars with dojo? Is
there a tutorial? I
Hi guys,
I am trying to build a sample struts application which verifies login
information.
Now the dilemma Ive run into is how to compile the "ActionBean" and
"Actionclass" inside the package?
So i decided to write a build.xml file for this purpose and it is like
below:
Now, I'm trying
hi...
i like double select tag, but i'm wondering a fiew things.
is a there an easy way to customize it's appearnce, for example, i would
like to set some spacing between the combos, or maybe have the 2nd combo
appear next to the first one, instead under it.
i would like to label the second c
--- jalal udeen <[EMAIL PROTECTED]> wrote:
> the problem is when i refresh the testpage .jsp the
> values registered again inserted into the Database
> what will be problem wat is way to clear it
Either post-redirect-get or tokens.
I'll let someone else answer the pagination question;
I wasn
2007/5/4, jalal udeen <[EMAIL PROTECTED]>:
the problem is when i refresh the
testpage .jsp the values registered again inserted into the Database
If I understood you well, this is the tipical problem of the "double
submit". To solve it, you should use the "redirect after post"
pattern:
http://
Hi.
Maybe with a redirect to your view, not only a forward.
The best is to use javascript : with document.location.replace(view),
the user will not be able to make "bak" the post ...
Mike
jalal udeen a écrit :
hi
im developing a application using struts in this there is a module
cal
Depuis le 21 décembre 2006, Natexis Investor Servicing s'appelle Natixis
Investor Servicing. Les adresses mails des collaborateurs ayant changé, veillez
à la mise à jour de votre carnet d'adresses.
Thank you for the url that you pointed me.
I've read and searched a lot in the themes topic. But
hi
im developing a application using struts in this there is a module
call candidate
here the candidate has to register his data after his registration
that will be forwarded to test page .jsp the problem is when i refresh the
testpage .jsp the values registered again inserted into th
Jmesa is more oriented ajax (you create your table with java code no taglib
available).
Whereas eXtreme table have a taglib (a using ajax is more complicated [1])
Perso, I swith recently to jmesa and it's fine.
--
Olivier
[1] :
http://extremecomponents.org/wiki/index.php/AJAX_enabled_eXtremeT
hi all
I have to use pagination in jsp so i did it with logic:iterate tag as
follows but when i use 2 links next and previous
but next link is not disspearinng when it reaces the last one can any help
me for this
the code follows
<%
String strOffset ="0";
if(request.getParameter("pa
hi all
I have to use pagination in jsp so i did it with logic:iterate tag as
follows but when i use 2 links next and previous
but next link is not disspearinng when it reaces the last one can any help
me for this
the code follows
<%
String strOffset ="0";
if(request.getParameter("pa
Yes, it looks great too ! For what I saw, the filter feature doesn't exist
with displaytag.
But I don't understand the difference between JMesa and eXtreme table. Can
you tell me more ?
2007/5/4, LAMY Olivier <[EMAIL PROTECTED]>:
Hi,
Have a look to this http://extremecomponents.org/extremesite/
Hi,
Have a look to this http://extremecomponents.org/extremesite/index.jsp
Nice too.
No problem using this with struts2.
--
Olivier
-Message d'origine-
De : Olivier THIERRY [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 4 mai 2007 09:25
À : Struts Users Mailing List
Objet : Re: CSS style
Thanks, displaytag looks more powerful so I will try to use it ;)
Olivier
2007/5/4, Musachy Barroso <[EMAIL PROTECTED]>:
Not taken as I'm recommending displaytags also :). Tom needed some tags
for
rendering tables using freemarker and that's Tabletags, I'm not sure where
he will take it from
What I've done is stupid. I don't use the possibilities of the UTF-8
encoding by setting the charSet to "ISO-8859-15".
It's been nearly 2 days that I'm on a detail according to my manager.
I'm obliged to put the UTF-8 aside...
To answer you :
- The JSP directive <%@ page contentType="text/html;
hi
can any body tell how to display the session value in jsp using struts tag
i have set the session value in action class as
session.setAttribute("candidatename",request.getParameter
("name"));
i want to display this name in jsp page pls help me and send me example code
its very ur
61 matches
Mail list logo