hi
i impressed from yui
i like to do work with it
now i want something like that when yui widget highlight on the screen other
area of my page will be shows in dark shadow ,it means remain unactive
how i can achieve it
please help me
--
View this message in context:
http://www.nabble.com/abo
aj2r wrote:
>
>
> Can you put here your decorators.xml?
>
i have putted decoraters.xml at web-inf folder
--
View this message in context:
http://www.nabble.com/sitemesh-problem-tp15759026p15820667.html
Sent from the Struts - User mailing list archive at Nabble.com.
---
Here's the error:
JSP Processing Error
HTTP Error Code: 500
Error Message:
JSPG0047E: Unable to locate tag library for uri
http://struts.apache.org/tags-html
Root Cause:
com.ibm.ws.jsp.JspCoreException: JSPG0047E: Unable to locate tag library for
uri http://struts.apache.org
Antonio,
I'm sorry I couldn't get back to you last night as I got too sleepy to
continue. You gave me some ideas that something was wrong with the jar
files. I realized that I was working with the individual components and when
I imported the war file it ran fine which answers my original ques
This will get you started..
1st) Struts v1 take a look at legacy mapping in web.xml which maps *.do to
action and action to ActionServlet as seen here
action
*.do
action
org.apache.struts.action.ActionServlet
config
/WEB-INF/struts-config.xml
1
Sorry I figured it out.
It was combination of modjk and an apache rewrite rule.
Sorry for being so vague :)
Thanks
Kal
On Mon, Mar 3, 2008 at 5:54 PM, Dave Newton <[EMAIL PROTECTED]> wrote:
> --- kal stevens <[EMAIL PROTECTED]> wrote:
> > The JSP loads properly, but any actions do not respond.
>
config-browser doesn't deserve to be exposed to the binary mess I have
created! I have refactored this Struts 2 application into oblivion. If
package D extends packages A, B, and C and package A has a custom
default-interceptor defined, shouldn't package D inherit this stack? I am
having to dupl
On Mon, Mar 3, 2008 at 5:37 PM, Martin Gainty <[EMAIL PROTECTED]> wrote:
> construct a public Map in your Action class and insert the key,value
> pairings e.g.
> public Map getDefaultFavouriteCartoonCharacters() {
> Map m = new LinkedHashMap();
> m.put("heMan", "He-Man");
>
--- kal stevens <[EMAIL PROTECTED]> wrote:
> The JSP loads properly, but any actions do not respond.
You haven't provided much information to go on.
Have you changed the extension to ".do"? Is the filter in your web.xml? Have
you used the config browser to see how the system thinks your app is
co
My company is in the process of converting our application from struts1 to
struts2.
The JSP loads properly, but any actions do not respond.
Not Found
The requested URL /member/signin.do was not found on this server.
I put the log4j log level to ALL, and it looks like tomcat is loading the
acti
Scott,
Would it help if you dropped the config-browser into the app and saw how
badly you have it mangled ;)
-Wes
On Mon, 2008-03-03 at 18:58 -0600, [EMAIL PROTECTED] wrote:
> I am knee deep in a problem where I have looked at it so long that I am
> nearly wrapped around the axle. Before I get
construct a public Map in your Action class and insert the key,value
pairings e.g.
public Map getDefaultFavouriteCartoonCharacters() {
Map m = new LinkedHashMap();
m.put("heMan", "He-Man");
m.put("popeye", "Popeye");
m.put("mockeyMouse", "Mickey Mouse");
Dave Newton wrote:
--- Chris Pratt <[EMAIL PROTECTED]> wrote:
Is it possible to place the data for the list attribute of an
tag in a resource bundle (so that it can be
internationalized)? I have tried adding the data to my
application.properties file:
gender.map='FEMALE':'Female','MALE':'M
--- Chris Pratt <[EMAIL PROTECTED]> wrote:
> Is it possible to place the data for the list attribute of an
> tag in a resource bundle (so that it can be
> internationalized)? I have tried adding the data to my
> application.properties file:
>
> gender.map='FEMALE':'Female','MALE':'Male'
>
> The
Is it possible to place the data for the list attribute of an
tag in a resource bundle (so that it can be
internationalized)? I have tried adding the data to my
application.properties file:
gender.map='FEMALE':'Female','MALE':'Male'
Then referencing it in the JSP as:
But this produces, the f
I am knee deep in a problem where I have looked at it so long that I am
nearly wrapped around the axle. Before I get into the gory details, what
does a package extend when it specifies the extends attribute followed by
multiple coma separated packages? I am chiefly interested in a
default-interce
How bad is it?
It the problem that:
users in Poland see question marks but you don't them when you access
their server; or
you see question marks when you access their server but they don't; or
you and they see question marks when you access the server?
The issue is either:
the pages inclu
oscar perez wrote:
I see what you're trying to do; you're asking OGNL to evaluate
companyType first, and use the string result in the outer expression to
evaluate.
The %{} notation won't do this for you. According to the OGNL guide you
should use parentheses to evaluate part of the
Hi!
I am having a very strange problem with struts 2. I am newbie to Struts 2
so maybe it is a simple thing I misunderstood.
I have an abstract class (enterprise) and 4 subclasses. I want to perform
CRUD operations on them and since all the properties are common to all the
subclasses I've decided
We used to be able to send "cancel" messages, but teh intarwebs are way too
fast for them to have much effect anymore.
--- Nils-Helge Garli Hegvik <[EMAIL PROTECTED]> wrote:
> At one company I did consulting, they had an ancient mail system where
> this was possible. The rumours had it that they
At one company I did consulting, they had an ancient mail system where
this was possible. The rumours had it that they were betting on
sending insults to their boss, and then betting on who could wait the
longest before hitting the "unsend" button :)
Nils-H
On Mon, Mar 3, 2008 at 9:43 PM, <[EMAI
Why is there no UnSend button?
On Mon, Mar 3, 2008 at 2:40 PM, Nils-Helge Garli Hegvik <[EMAIL PROTECTED]>
wrote:
> Posted what? :)
>
> On Mon, Mar 3, 2008 at 9:38 PM, <[EMAIL PROTECTED]> wrote:
> > Doh! Can we pretend I didn't post this?
> >
> >
> >
> >
> > On Mon, Mar 3, 2008 at 11:49 AM, Da
Posted what? :)
On Mon, Mar 3, 2008 at 9:38 PM, <[EMAIL PROTECTED]> wrote:
> Doh! Can we pretend I didn't post this?
>
>
>
>
> On Mon, Mar 3, 2008 at 11:49 AM, Daniel Baldes <[EMAIL PROTECTED]> wrote:
>
> >
> > [EMAIL PROTECTED] wrote:
> > > which resolves to be:
> > >
> > >
> >
> > Th
Thanks Wes! I had a bald moment.
On Mon, Mar 3, 2008 at 2:38 PM, <[EMAIL PROTECTED]> wrote:
> Doh! Can we pretend I didn't post this?
>
>
>
> On Mon, Mar 3, 2008 at 11:49 AM, Daniel Baldes <[EMAIL PROTECTED]> wrote:
>
> >
> > [EMAIL PROTECTED] wrote:
> > > which resolves to be:
> > >
> > >
>
Doh! Can we pretend I didn't post this?
On Mon, Mar 3, 2008 at 11:49 AM, Daniel Baldes <[EMAIL PROTECTED]> wrote:
>
> [EMAIL PROTECTED] wrote:
> > which resolves to be:
> >
> >
>
> The namespace is "/charts", but you use "charts".
>
>
>
I wonder what mojoRising is thrying to achieve.
As Dave Newton said "setting something to session from the JSP is a little
suspicious" because tipically you want things the other way around( from
action to jsp) and if you need to send some data to the action, you have to
use parameters (in the url
Oops, I misunderstood the question.
Musachy's correct, though; setting something to session from the JSP is a
little suspicious.
Dave
--- Musachy Barroso <[EMAIL PROTECTED]> wrote:
> That would be to set the value on your action. On your jsp, use the
> "set" tag, and set the "scope" attribute to
That would be to set the value on your action. On your jsp, use the
"set" tag, and set the "scope" attribute to session:
http://struts.apache.org/2.x/docs/set.html
btw, if you are setting something on the session in your jsp and using
it on the actions, there is a good chance that you are doing s
--- mojoRising <[EMAIL PROTECTED]> wrote:
> Hi, I want to set a parameter in the session from my JSP, and then access
> it from my action class. I am not sure what the correct syntax is for this.
> Could someone please explain? Thanks!
http://struts.apache.org/2.x/docs/how-do-we-get-access-to-the-
Hi, I want to set a parameter in the session from my JSP, and then access it
from my action class. I am not sure what the correct syntax is for this.
Could someone please explain? Thanks!
--
View this message in context:
http://www.nabble.com/how-to-access-a-session-variable-in-an-action-class--
Hi,
Does anyone have any experience using Struts 2 to implement a web app
that provides faceted search? (Using Lucene/LARQ etc.)
I'm wondering what the best approach is, using SiteMesh/Tiles ie, when
it comes to the architecture/design of the web app.
The basic idea is to provide the user with a
hns wrote:
>
> hi
> i have one default namespace / and another /webmail
> css applied to decorator is worked in / but it can not work at /webmail
> what is problem?
>
Can you put here your decorators.xml?
--
View this message in context:
http://www.nabble.com/sitemesh-problem-tp15759026p1581
slideharmony wrote:
>
> Hello,
> anybody knows how can I get the client machine's Locale from my action
> struts 2?
> any help would be apprecciated.
> Riccardo
>
Your action must extend com.opensymphony.xwork2.ActionSupport and then you
can use getLocale()
--
View this message in context:
h
The questionChart action exists in a different namespace than the JSP.
Try -
namespace="/charts"
The leading / is significant.
-Wes
On 3/3/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> How can this JSP code
>
>
> "/>
>
> which resolves to be:
>
>
>
>
> be generating this exceptio
[EMAIL PROTECTED] wrote:
which resolves to be:
The namespace is "/charts", but you use "charts".
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
How can this JSP code
"/>
which resolves to be:
be generating this exception?
11:28:45,271 ERROR org.apache.struts2.dispatcher.Dispatcher.serviceAction():512
- Could not find action or result
There is no Action mapped for namespace */quiz* and action name
questionChart. - [unknown locatio
smart acer wrote:
Unfortunately only apache opensource is allowed for us so we cant use this.
I'm glad I don't have to deal with policies like this one.
I think I can investigate putting the redirect in interceptor, and if that
doesnt work then servlet filter? I thought ActionMapper does some
The URL is actually derived from namespace, not context. (eg: context is
"StrutsBlankWeb", package namespace "/example"). And for whatever reason it
didnt occur to me that I could create a directory example inside Web Content
and put the welcome file! I am all set now, thanks!
On 3/3/08, Dave New
You could also just use a welcome file with a redirect.
--- smart acer <[EMAIL PROTECTED]> wrote:
> thanks, yes to some extent this is what I am looking for but not the
> complete features as mod_rewrite. Unfortunately only apache opensource is
> allowed for us so we cant use this.
>
> I think I
Hi Dale,
thanks, yes to some extent this is what I am looking for but not the
complete features as mod_rewrite. Unfortunately only apache opensource is
allowed for us so we cant use this.
I think I can investigate putting the redirect in interceptor, and if that
doesnt work then servlet filter? I
smart acer wrote:
Could anyone please guide me how to setup/use ActionMapper ---
I would like the URL http://localhost:9080/StrutsBlankWeb/example/ to
redirect to http://localhost:9080/StrutsBlankWeb/example/HelloWorld.action
Sounds like you are looking for http://tuckey.org/urlrewrite/
-Dale
Could anyone please guide me how to setup/use ActionMapper ---
I would like the URL http://localhost:9080/StrutsBlankWeb/example/ to
redirect to http://localhost:9080/StrutsBlankWeb/example/HelloWorld.action
Thanks!
can u post the code?
cple of qns before that. Is the variable that holds the search list in
session scope? try .. it could help.
ravi
Venkat Guru wrote:
>
> Hi,
>This is Venkat. Iam new to struts2 framework. Iam struck up with a
> small problem using tag.
>
> I have a page which con
workflow interceptor was missing, this was the problem.
newton.dave wrote:
>
> --- mteccles <[EMAIL PROTECTED]> wrote:
>> I am trying to validate a form so that field 'username' is 3 characters
>> or
>> more. I have tried both xml configuration and annotations but seem to be
>> missing somethi
--- mteccles <[EMAIL PROTECTED]> wrote:
> I am trying to validate a form so that field 'username' is 3 characters or
> more. I have tried both xml configuration and annotations but seem to be
> missing something on how it works. The form is working perfectly, ie all
> properties on the class are be
Hi,
This is Venkat. Iam new to struts2 framework. Iam struck up with a
small problem using tag.
I have a page which contains a select tag . on page load i will populate its
list values from server. Its a search form. when i perform the search the
results are displayed in the same page.
I have deployed a struts web application on Windows 2003 Server in Poland
and India.
Application needs to display Polish language coming from SAP.
This is working in India on Windows 2003 Servers.
But Messages are coming Question marks from Similar Configuration
Server(language is polish)
I am working on i18n application that needs to be worked in English and
Polish language.
This application is working on Tomcat Servers on windows system In India,
But getting Question Marks Polish language in Poland Windows System.
Is there anything that needs to be handled in "web.xml" and
hns wrote:
InputStream is = getClass().getResourceAsStream("/db.properties");
Don't include a leading slash unless you really mean the root directory
(which you shouldn't do in a webapp).
Instead, this line:
InputStream is = getClass().getResourceAsStream("db.properties");
will
i got one file dbconnmannager.java for pooling but it has some error
i know its nt an s2 question but still wait 4 ans
i put in one package connpool
it gives error at specific point
it can not load properties file
--
2008/3/3, Jerry Gustanski <[EMAIL PROTECTED]>:
>
> [3/3/08 1:17:00:062 PST] 001b jsp E com.ibm.ws.jsp.taglib.TldParser
> logParseErrorMessage Failed to parse Tag Library
> [/WEB-INF/struts-tiles.tld]: JSPG0235E: The JSP container failed to load
> the
> TagExtraInfo class [org.apache.struts.tile
I am trying to validate a form so that field 'username' is 3 characters or
more. I have tried both xml configuration and annotations but seem to be
missing something on how it works. The form is working perfectly, ie all
properties on the class are being set. However the execute method is always
c
Hi,
If I want to edit my domain objects directly, how can I handle
transactions? Example:
My action has getLogin(), which returns a database-persistent object. In
order to let struts set properties of the object, a transaction must be
active.
I wonder if there is a "common way" to do thi
Yes, I do get errors on startup of server:
[3/3/08 1:16:40:297 PST] 0014 AdminHelper A ADMN1021I: An attempt is
made to stop the server1 server.
[3/3/08 1:16:40:406 PST] 002c WSChannelFram A CHFW0020I: The Transport
Channel Service has stopped the Chain labeled WCInboundAdmin.
[3/3/
Hello,
anybody knows how can I get the client machine's Locale from my action
struts 2?
any help would be apprecciated.
Riccardo
--
View this message in context:
http://www.nabble.com/get-the-Locale-from-Action-S2--tp15799905p15799905.html
Sent from the Struts - User mailing list archive at Nabb
2008/3/3, Jerry Gustanski <[EMAIL PROTECTED]>:
>
> That is the excepion I receive when starting the app.
I have not been clear.
With "starting" the app I mean when you startup the server, not when you
call the homepage of your app.
Antonio
That is the excepion I receive when starting the app.
- Original Message -
From: "Antonio Petrelli" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Monday, March 03, 2008 1:07 AM
Subject: Re: Rad 6.0
2008/3/3, Jerry Gustanski <[EMAIL PROTECTED]>:
[3/3/08 0:44:31:344 PST]
2008/3/3, Jerry Gustanski <[EMAIL PROTECTED]>:
>
> [3/3/08 0:44:31:344 PST] 002b ServletWrappe E SRVE0068E: Could not
> invoke the service() method on servlet /index.jsp. Exception thrown :
> java.lang.NullPointerException
>
> at org.apache.struts.util.RequestUtils.pageURL(RequestUtils.java:159
[3/3/08 0:44:31:078 PST] 002b ServletWrappe A SRVE0242I: [/index.jsp]:
Initialization successful.
[3/3/08 0:44:31:172 PST] 002b PropertyMessa I Initializing,
config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
[3/3/08 0:44:31:219 PST] 002b PropertyMessa I Initiali
I am new to this group, I didn't know the rules.
- Original Message -
From: "Antonio Petrelli" <[EMAIL PROTECTED]>
To: "Jerry Gustanski" <[EMAIL PROTECTED]>
Sent: Monday, March 03, 2008 12:51 AM
Subject: Re: Rad 6.0
Whoops wow I notice now that you wrote to me directly, I won't answer
2008/3/3, Jerry Gustanski <[EMAIL PROTECTED]>:
>
> When I copy a 1.3.8 sample app into my RAD workspace, RAD doesn't seem to
> recognize that things like wildcards are now okay. It flags them as
> errors.
Did you correct the reference to the DTD?
-//Apache Software Foundation//DTD Struts Config
Antonio,
Thank you for your response. Yes, I am using Websphere 6.0.
When I copy a 1.3.8 sample app into my RAD workspace, RAD doesn't seem to
recognize that things like wildcards are now okay. It flags them as errors.
I brought in the 1.3.8 jars and TLDs. The errors remain. If I deploy the
2008/3/3, Jerry Gustanski <[EMAIL PROTECTED]>:
> Can Rad 6.0 use/run Struts versions greater than 1.1, say 1.3.8, 1.3.9, or 2.0
Well, Rad 6.0 is based on Eclipse 3.0, so it is very limited regarding
the version of Java (1.4.2).
And it depends on the Websphere version you are using (you are using
W
63 matches
Mail list logo