Websphere 6.1: Ajax samples in struts2-showcase-2.0.6.war doesn't work

2007-03-22 Thread Tapio Holopainen

Hi,

I deployed struts2-showcase-2.0.6.war to Tomcat 5.5. AJAX samples worked  
just fine. Then I deployed the same .war to Websphere 6.1. None of the  
AJAX samples worked. Other samples seems to work normally. Could it be  
that Websphere doesn't handle baseRelativePath in djConfig the same way  
than Tomcat does? There is no exceptions in Websphere log.



// Dojo configuration
djConfig = {
baseRelativePath: "/S2Show/struts/dojo",
isDebug: false,
bindEncoding: "UTF-8",
debugAtAllCosts: true // not needed, but allows the Venkman debugger to work with the includes
};






Has anyone else had same problems? Any suggestion for solution?

Regards,

- Tapio



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: HttpServletRequest - in a Portlet

2007-03-22 Thread Nils-Helge Garli

You can't obtain the servlet request in a container independent
manner. What do you need it for? The only time when you can legally
obtain the servlet request is within an included JSP, or when
dispatching a request to a servlet that is in the same web
application.

Nils-H

On 3/23/07, tom tom <[EMAIL PROTECTED]> wrote:

Hi,

In my porlet I got the following

public class MyProfileAction extends ActionSupport
implements ServletRequestAware

Hence I implemented the  public void
setServletRequest(HttpServletRequest arg0) {

but what I can see is arg0 is null. What is the reason
for this.

How can get hold to the HttpServletRequest?

Currently what I am doing is inside the execute method

RenderRequest req2 =
PortletActionContext.getRenderRequest();

HttpServletRequest req =(HttpServletRequest) req2;


Any risks involve with this?

Thanks






Finding fabulous fares is fun.
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel 
bargains.
http://farechase.yahoo.com/promo-generic-14795097

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



auto-refreshing stock price

2007-03-22 Thread YagNesh

Hi,

We have been trying to create a trading portfolio page which lists about 20
stocks with prices.
We need that stock price to be refreshed every 20-30 seconds after fetching
the price from server, indirectly from database.

I had tried to use Struts2 tag one per stock data, but it overload
the server with lots of requests and fails.

Please provide some guideline with AJAX approach to refresh.

Thank you
-- 
View this message in context: 
http://www.nabble.com/auto-refreshing-stock-price-tf3451963.html#a9629081
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: struts migration - ActionError Server Side

2007-03-22 Thread Dave Newton
--- tom tom <[EMAIL PROTECTED]> wrote:
> ActionError actionError = new ActionError("");
> ActionMessage actionMessage = new
> ActionMessage("error.test.error1");
> 
> actionErrors.add(ActionErrors.GLOBAL_MESSAGE,
> actionMessage);

http://struts.apache.org/2.0.6/struts2-core/apidocs/com/opensymphony/xwork2/ActionSupport.html#addActionMessage(java.lang.String)

and

http://struts.apache.org/2.0.6/struts2-core/apidocs/com/opensymphony/xwork2/ActionSupport.html#getText(java.lang.String)

may be enough to get you started.

d.



 

Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: DataGrid, Struts layout and Struts 2

2007-03-22 Thread nagesh.kumar
I think some more components like  table ,tabbedPanel ,tree ,treenode  which
are look like datarid we can use this 


http://struts.apache.org/2.0.6/docs/tag-reference.html


Thanks 
Nagesh Reddy 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 23, 2007 7:22 AM
To: user@struts.apache.org
Subject: DataGrid, Struts layout and Struts 2

Hello every one:
I am looking for a way to pass a resultSet or cachedRowSet to a jsp page,
and display the results in a dataGrid.
The behavior I am looking for is similar to the one offered by Struts Layout
http://struts.application-servers.com/intro/layout.html. 
Unforetunatly Struts-Layout doesn't work with Struts 2. So I need an
alternative. Can any one help ?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


DISCLAIMER:
The information in this e-mail is the property of InterGlobe and is 
confidential and privileged. It is intended solely for the addressee. Access to 
this email by anyone else is unauthorized. If you are not the intended 
recipient, any disclosure, copying, distribution or any action taken in 
reliance on it is prohibited and will be unlawful. If you receive this message 
in error, please notify the sender immediately and delete all copies of this 
message



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: module attribute for ?

2007-03-22 Thread Niall Pemberton

Sorry - I className shouldn't have been in there:

  


Niall

On 3/23/07, Niall Pemberton <[EMAIL PROTECTED]> wrote:

On 3/23/07, Oren Livne <[EMAIL PROTECTED]> wrote:
> P.S. is there an equivalent attribute to "module" for global and/or
> local exception attributes? Right now I have:
>  scope="request"
> handler="net.ruready.struts.common.exception.MailExceptionHandler"
> type="java.lang.Exception"
> path="/switchMod.do?prefix=/error&page=/system.do" />
>
> I want to have module="/error" and path="/system.do" instead. Could I
> use a global-forward declaration instead of the action path used above?
> (e.g. alias a global forward called "systemError" to use module="/error"
> and path="/system.do" and then write path="systemError")

Unfortunately module was never added for exception handler and the
default implementation just creates an ActionForward from the path.
You could however create your own custom Exception Handler and
configure it with a module "property"

public class MyExceptionHandler extends ExceptionHandler {
public ActionForward execute(Exception ex, ExceptionConfig ae,
ActionMapping mapping, ActionForm formInstance,
HttpServletRequest request, HttpServletResponse response)
throws ServletException {

ActionForward af = super.execute(ex, ae, mapping,
formInstance, request, response);
af.setModule(ae.getProperty("module"));
return af;

}
}

You then configure the exception using the  to specify
the module (note there are two forms to  - either using
"property" or "key" - in this example you need to use "key"):





Niall

> Thanks
> Oren
>
> Oren Livne wrote:
> > Dear Niall:
> >
> > Thanks so much .You are a life saver. It works. Just one note -- the
> > syntax that works is:
> >
> >>  >> module="/user"
> >> name="userHome"
> >> path="/home.do"
> >> redirect="true" />
> >>
> > Here the module must start with a "/", and the path is relative to the
> > module's URL.
> >
> > Thanks!
> > Oren
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
>
> --
> ==
> Oren Livne, Ph.D.
> Research Assistant Professor of Mathematics
> RUReady Software Architect
>
> Academic Outreach and Continuing Education
> 1901 East South Campus Dr., Room 2197-D
> University of Utah, Salt Lake City, UT 84112-9399
> Tel  : (801) 581-6831 Cell: (801) 631-3885 Fax: (801) 585-5414
> Email: [EMAIL PROTECTED]  Web:  http://ruready.net/oren
> ==
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: module attribute for ?

2007-03-22 Thread Niall Pemberton

On 3/23/07, Oren Livne <[EMAIL PROTECTED]> wrote:

P.S. is there an equivalent attribute to "module" for global and/or
local exception attributes? Right now I have:


I want to have module="/error" and path="/system.do" instead. Could I
use a global-forward declaration instead of the action path used above?
(e.g. alias a global forward called "systemError" to use module="/error"
and path="/system.do" and then write path="systemError")


Unfortunately module was never added for exception handler and the
default implementation just creates an ActionForward from the path.
You could however create your own custom Exception Handler and
configure it with a module "property"

public class MyExceptionHandler extends ExceptionHandler {
   public ActionForward execute(Exception ex, ExceptionConfig ae,
   ActionMapping mapping, ActionForm formInstance,
   HttpServletRequest request, HttpServletResponse response)
   throws ServletException {

   ActionForward af = super.execute(ex, ae, mapping,
formInstance, request, response);
   af.setModule(ae.getProperty("module"));
   return af;

   }
}

You then configure the exception using the  to specify
the module (note there are two forms to  - either using
"property" or "key" - in this example you need to use "key"):


   


Niall


Thanks
Oren

Oren Livne wrote:
> Dear Niall:
>
> Thanks so much .You are a life saver. It works. Just one note -- the
> syntax that works is:
>
>> > module="/user"
>> name="userHome"
>> path="/home.do"
>> redirect="true" />
>>
> Here the module must start with a "/", and the path is relative to the
> module's URL.
>
> Thanks!
> Oren
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

--
==
Oren Livne, Ph.D.
Research Assistant Professor of Mathematics
RUReady Software Architect

Academic Outreach and Continuing Education
1901 East South Campus Dr., Room 2197-D
University of Utah, Salt Lake City, UT 84112-9399
Tel  : (801) 581-6831 Cell: (801) 631-3885 Fax: (801) 585-5414
Email: [EMAIL PROTECTED]  Web:  http://ruready.net/oren
==

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



struts migration - ActionError Server Side

2007-03-22 Thread tom tom
Hi,

How can I convert the following struts 1.x to struts
2.0.6.

ActionError actionError = new ActionError("");
ActionMessage actionMessage = new
ActionMessage("error.test.error1");

actionErrors.add(ActionErrors.GLOBAL_MESSAGE,
actionMessage);

above is in a action class and error.test.error1 is
the key for the message in the resource bundle.

Any documentation on this.

Thanks


 

Sucker-punch spam with award-winning protection. 
Try the free Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/features_spam.html

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Struts 2 and Validation Testing

2007-03-22 Thread k hall

I really like Struts 2 but has anyone had any success in testing Struts 2's
action validation logic?

http://struts.apache.org/2.x/docs/how-do-i-unit-test-my-actions-validation-logic.html

I'd like to test the validation messages I receive but get an exception
where the objectFactory is null. I've tried with putting in my own
validators.xml, but it gets hung up on the ObjectFactory and I really can't
figure out how to correct that from a Unit Test.

Any ideas to fix this Struts 2 gurus?

Thanks.

-- 
View this message in context: 
http://www.nabble.com/Struts-2-and-Validation-Testing-tf3451623.html#a9628117
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



module attribute for ?

2007-03-22 Thread Oren Livne
P.S. is there an equivalent attribute to "module" for global and/or 
local exception attributes? Right now I have:

   
  
I want to have module="/error" and path="/system.do" instead. Could I 
use a global-forward declaration instead of the action path used above? 
(e.g. alias a global forward called "systemError" to use module="/error" 
and path="/system.do" and then write path="systemError")


Thanks
Oren

Oren Livne wrote:

Dear Niall:

Thanks so much .You are a life saver. It works. Just one note -- the 
syntax that works is:





Here the module must start with a "/", and the path is relative to the 
module's URL.


Thanks!
Oren

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--
==
Oren Livne, Ph.D.
Research Assistant Professor of Mathematics
RUReady Software Architect

Academic Outreach and Continuing Education
1901 East South Campus Dr., Room 2197-D
University of Utah, Salt Lake City, UT 84112-9399
Tel  : (801) 581-6831 Cell: (801) 631-3885 Fax: (801) 585-5414
Email: [EMAIL PROTECTED]  Web:  http://ruready.net/oren
==

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: contextRelative="true" doesn't work in a module

2007-03-22 Thread Oren Livne

Dear Niall:

Thanks so much .You are a life saver. It works. Just one note -- the 
syntax that works is:





Here the module must start with a "/", and the path is relative to the 
module's URL.


Thanks!
Oren

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DataGrid, Struts layout and Struts 2

2007-03-22 Thread mansour77

Hello every one:
I am looking for a way to pass a resultSet or cachedRowSet to a jsp 
page, and display the results in a dataGrid.
The behavior I am looking for is similar to the one offered by Struts 
Layout http://struts.application-servers.com/intro/layout.html. 
Unforetunatly Struts-Layout doesn't work with Struts 2. So I need an 
alternative. Can any one help ?


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: contextRelative="true" doesn't work in a module

2007-03-22 Thread Niall Pemberton

I've never actually used modules in anger - but the "contextRelative"
was considered "deprecated" in favour of the "module" attribute since
Struts 1.2.4:

   http://struts.apache.org/1.x/userGuide/release-notes-1_2_4.html
   http://wiki.apache.org/struts/StrutsUpgradeNotes11to124

So I guess you should change to something like the following:



The struts-examples webapp shipped with Struts is split up into
modules - so maybe looking at how it works will help you to resovle
your issue.

Niall


On 3/23/07, Oren Livne <[EMAIL PROTECTED]> wrote:

Dear All:

My application context is called "Catalog". It uses Struts 1.3.8. There
are two modules, "default" and "user". In the default component struts
config, I have:

   
  

  
  


  




Both methods work and forward to the correct URLs. However, I have the
identical global-forwards
in the user module's struts config. Now it forward to the wrong page
from an action in the user module.
The same result happened when I localized the forward to the action:





... it tries to forward to '/Catalog/user/user/home.do'. What do I do to
get it to work?

Thanks so much,
Oren


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [JSP] drag drop capability in a jsp is this possible ?

2007-03-22 Thread temp temp
It works Thank you very much.Sorry for  the complain It  was  my mistake i just 
downloaded src after ur reply i downloaded use  cases   i was able to  run the 
jsp it works.
  Once again tahnk you very much.
  Thanks & Regards
  
  Angelo zerr <[EMAIL PROTECTED]> wrote:  There is not another documentation 
(it's my project).
have you try to deploy the war jscontrolstags-usecases-1.0-b1.war? You
sample with swap.
I'm agree with you documentation is poor, I will try write it.

See swap3.jsp. You have an sample. have you insert javascript and css in
your page?



src="../js/scriptaculous/prototype.js">

src="../js/scriptaculous/effects.js">

src="../js/scriptaculous/dragdrop.js">


src="../js/selectable/selectable.js">

src="../js/selectable/subsdraggable.js">

src="../js/jscontrolstags-swap.js">



type="text/css" />

Angelo


2007/3/22, temp temp :
>
> I downloaded  all the required files  but they donot have a  sample
> application with which I can play  make changes test  results   they have
> jsp code   which is not complete and  no tutorial on  how to get
> started  are there any other   providers with good documentation and
> examples ?
>   Thanks & Regards
>
>
> Angelo zerr  wrote:  Have you download usecase
> jscontrolstags-usecases-1.0-b1? You can found it
> http://sourceforge.net/project/showfiles.php?group_id=175409
>
> Swap document is here
> http://jscontrolstags.sourceforge.net/controls/swap/swap.html
>
> Angelo
>
> 2007/3/22, temp temp :
> >
> > I tried  swap control  in my application but it does not work  the site
> > has no documentation, no complte examples can  I get
> more  assistance  with
> > this ?
> >   Thanks & Regards
> >
> >
> >
> >
> > Angelo zerr  wrote:  Hi,
> > you can see JSControlsTags project at
> > http://jscontrolstags.sourceforge.net/
> > .
> > There is Swap control (see at
> > http://jscontrolstags.sourceforge.net/controls/swap/swap.html)
> > which is enable to swap items select to another select with drag/drop.
> > it is based on Scriptaculous and Proototype.
> >
> > You can see demo at
> > http://jscontrolstags.sourceforge.net/demo/swap/swap.html
> >
> > Regards Angelo
> >
> > 2007/3/22, temp temp :
> > >
> > > I want  a jsp page which should have the capability to  drag and
> > > drop   in the sense suppose I have a two list
> > >
> > >
> > >
> > > California -- CAColorado -- COConneticut -- CN
> > >
> > >
> > > C -- CAC -- CO Conneticut -- CN
> > >
> > >
> > >I want to shuffle the  contents  of the lists using  mouse drag
> > > and  drop  is it possible   ?   and  any hints of achieving this ?
> > >Thanks & Regards
> > >
> > >
> > >
> > >
> > > -
> > > No need to miss a message. Get email on-the-go
> > > with Yahoo! Mail for Mobile. Get started.
> >
> >
> >
> > -
> > TV dinner still cooling?
> > Check out "Tonight's Picks" on Yahoo! TV.
>
>
>
> -
> We won't tell. Get more on shows you hate to love
> (and love to hate): Yahoo! TV's Guilty Pleasures list.


 
-
Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.

contextRelative="true" doesn't work in a module

2007-03-22 Thread Oren Livne

Dear All:

My application context is called "Catalog". It uses Struts 1.3.8. There 
are two modules, "default" and "user". In the default component struts 
config, I have:


  
 

 
 

   
  
 

   

   

Both methods work and forward to the correct URLs. However, I have the 
identical global-forwards
in the user module's struts config. Now it forward to the wrong page 
from an action in the user module.

The same result happened when I localized the forward to the action:

   
   path="/user/home.do" redirect="true" />

   

... it tries to forward to '/Catalog/user/user/home.do'. What do I do to 
get it to work?


Thanks so much,
Oren

--
==
Oren Livne, Ph.D.
Research Assistant Professor of Mathematics
RUReady Software Architect

Academic Outreach and Continuing Education
1901 East South Campus Dr., Room 2197-D
University of Utah, Salt Lake City, UT 84112-9399
Tel  : (801) 581-6831 Cell: (801) 631-3885 Fax: (801) 585-5414
Email: [EMAIL PROTECTED]  Web:  http://ruready.net/oren
==

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



HttpServletRequest - in a Portlet

2007-03-22 Thread tom tom
Hi,

In my porlet I got the following

public class MyProfileAction extends ActionSupport
implements ServletRequestAware

Hence I implemented the  public void
setServletRequest(HttpServletRequest arg0) {

but what I can see is arg0 is null. What is the reason
for this.

How can get hold to the HttpServletRequest?

Currently what I am doing is inside the execute method

RenderRequest req2 =
PortletActionContext.getRenderRequest();

HttpServletRequest req =(HttpServletRequest) req2;


Any risks involve with this?

Thanks




 

Finding fabulous fares is fun.  
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel 
bargains.
http://farechase.yahoo.com/promo-generic-14795097

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How catch an event of changing the selectedTAb in a TabbedPanel?

2007-03-22 Thread Felipe Rodrigues

Sounds good.

I'll do that right now.

Felipe


Musachy Barroso wrote:
> 
> Nope. I don't think there is a topic for it either (but I only have 2K of
> memory :) ), you may want to log a jira ticket for it.
> 
> musachy
> 
> On 3/22/07, Felipe Rodrigues <[EMAIL PROTECTED]> wrote:
>>
>>
>> Hi guys,
>>
>> How call a function when change the tab of my tabbedPanel? Is the only
>> way
>> use topics?
>> Tahnks in advance
>> --
>> View this message in context:
>> http://www.nabble.com/How-catch-an-event-of-changing-the-selectedTAb-in-a-TabbedPanel--tf3447548.html#a9614810
>> Sent from the Struts - User mailing list archive at Nabble.com.
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 
> -- 
> "Hey you! Would you help me to carry the stone?" Pink Floyd
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-catch-an-event-of-changing-the-selectedTAb-in-a-TabbedPanel--tf3447548.html#a9626158
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Struts 2.0.6 and Spring

2007-03-22 Thread Felipe Rodrigues

I almost forgot.
The 2.0.7 version is getting GA. Maybe it can be a good idea wait this
version to migrate your app. More bugs fixed.

Felipe


Felipe Rodrigues wrote:
> 
> Daniel,
> 
> About the error:
> Make sure your app has no error. Some kind of errors can throw a Filter
> Start Error, and it is what your stack trace seems.
> Try also remove all struts related lib's and add the final version again.
> 
> About the performance:
> Copy the template dir under the struts2-core...jar to your context root.
> It will improve so much the performance.
> 
> Felipe
> 
> 
> Daniel Felix wrote:
>> 
>> Hi, people
>> 
>>  
>> 
>> I'm working with Struts 2.0.1, theme ajax and  s:div, but the performace
>> is
>> very slow. 
>> 
>> The div load an action in 10 seconds with list of 20 tuples.
>> 
>>  
>> 
>> After it, I'm migrating from Struts 2.0.1 to Struts 2.0.6 to improve my
>> web
>> application, but when I start, it occurs an error and stop the server.
>> 
>>  
>> 
>> I have two problems, firstly  I need to improve performace my web
>> application and second , I want to migrate to 2.0.6.It runs my web
>> application on release version, because there are some fix bugs.
>> 
>>  
>> 
>> AnyBody Can help ? Any tips ?
>> 
>>  
>> 
>>  
>> 
>> The message error : 
>> 
>>  
>> 
>> 2007-03-22 18:13:50,793  INFO
>> (com.opensymphony.xwork2.config.providers.XmlConfigurationProvider:141) -
>> Parsing configuration file [struts-default.xml]
>> 
>> 2007-03-22 18:13:52,386  INFO
>> (com.opensymphony.xwork2.config.providers.XmlConfigurationProvider:141) -
>> Parsing configuration file [struts-plugin.xml]
>> 
>> WebModule[/acnsf-war]PWC1270: Exception starting filter struts
>> 
>> Unable to load bean: type:com.opensymphony.xwork2.ObjectFactory
>> class:org.apache.struts2.spring.StrutsSpringObjectFactory - bean -
>> jar:file:/C:/Sun/glassfish/domains/domain1/applications/j2ee-apps/acnsf/acns
>> f-war_war/WEB-INF/lib/struts2-spring-plugin-2.0.6.jar!/struts-plugin.xml:8:1
>> 32
>> 
>> at
>> com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(X
>> mlConfigurationProvider.java:209)
>> 
>> at
>> org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlC
>> onfigurationProvider.java:101)
>> 
>> at
>> com.opensymphony.xwork2.config.impl.DefaultConfiguration.reload(DefaultConfi
>> guration.java:131)
>> 
>> at
>> com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(Configu
>> rationManager.java:52)
>> 
>> at
>> org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatche
>> r.java:398)
>> 
>> at
>> org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:455)
>> 
>> at
>> org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:20
>> 1)
>> 
>> at
>> org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilter
>> Config.java:239)
>> 
>> at
>> org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFil
>> terConfig.java:333)
>> 
>> at
>> org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterCon
>> fig.java:89)
>> 
>> at
>> org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:43
>> 49)
>> 
>> at
>> org.apache.catalina.core.StandardContext.start(StandardContext.java:5138)
>> 
>> at com.sun.enterprise.web.WebModule.start(WebModule.java:307)
>> 
>> at
>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:9
>> 60)
>> 
>> at
>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:944)
>> 
>> at
>> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:671)
>> 
>> at
>> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1572)
>> 
>> at
>> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1217)
>> 
>> at
>> com.sun.enterprise.web.WebContainer.loadJ2EEApplicationWebModules(WebContain
>> er.java:1142)
>> 
>> at
>> com.sun.enterprise.server.TomcatApplicationLoader.doLoad(TomcatApplicationLo
>> ader.java:128)
>> 
>> at
>> com.sun.enterprise.server.AbstractLoader.load(AbstractLoader.java:226)
>> 
>> at
>> com.sun.enterprise.server.ApplicationManager.applicationDeployed(Application
>> Manager.java:323)
>> 
>> at
>> com.sun.enterprise.server.ApplicationManager.applicationDeployed(Application
>> Manager.java:197)
>> 
>> at
>> com.sun.enterprise.server.ApplicationManager.applicationDeployed(Application
>> Manager.java:632)
>> 
>> at
>> com.sun.enterprise.admin.event.AdminEventMulticaster.invokeApplicationDeploy
>> EventListener(AdminEventMulticaster.java:905)
>> 
>> at
>> com.sun.enterprise.admin.event.AdminEventMulticaster.handleApplicationDeploy
>> Event(AdminEventMulticaster.java:889)
>> 
>> at
>> com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEvent
>> Multicaster.java:445)
>> 
>

Re: Struts 2.0.6 and Spring

2007-03-22 Thread Felipe Rodrigues

Daniel,

About the error:
Make sure your app has no error. Some kind of errors can throw a Filter
Start Error, and it is what your stack trace seems.
Try also remove all struts related lib's and add the final version again.

About the performance:
Copy the template dir under the struts2-core...jar to your context root. It
will improve so much the performance.

Felipe


Daniel Felix wrote:
> 
> Hi, people
> 
>  
> 
> I'm working with Struts 2.0.1, theme ajax and  s:div, but the performace
> is
> very slow. 
> 
> The div load an action in 10 seconds with list of 20 tuples.
> 
>  
> 
> After it, I'm migrating from Struts 2.0.1 to Struts 2.0.6 to improve my
> web
> application, but when I start, it occurs an error and stop the server.
> 
>  
> 
> I have two problems, firstly  I need to improve performace my web
> application and second , I want to migrate to 2.0.6.It runs my web
> application on release version, because there are some fix bugs.
> 
>  
> 
> AnyBody Can help ? Any tips ?
> 
>  
> 
>  
> 
> The message error : 
> 
>  
> 
> 2007-03-22 18:13:50,793  INFO
> (com.opensymphony.xwork2.config.providers.XmlConfigurationProvider:141) -
> Parsing configuration file [struts-default.xml]
> 
> 2007-03-22 18:13:52,386  INFO
> (com.opensymphony.xwork2.config.providers.XmlConfigurationProvider:141) -
> Parsing configuration file [struts-plugin.xml]
> 
> WebModule[/acnsf-war]PWC1270: Exception starting filter struts
> 
> Unable to load bean: type:com.opensymphony.xwork2.ObjectFactory
> class:org.apache.struts2.spring.StrutsSpringObjectFactory - bean -
> jar:file:/C:/Sun/glassfish/domains/domain1/applications/j2ee-apps/acnsf/acns
> f-war_war/WEB-INF/lib/struts2-spring-plugin-2.0.6.jar!/struts-plugin.xml:8:1
> 32
> 
> at
> com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(X
> mlConfigurationProvider.java:209)
> 
> at
> org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlC
> onfigurationProvider.java:101)
> 
> at
> com.opensymphony.xwork2.config.impl.DefaultConfiguration.reload(DefaultConfi
> guration.java:131)
> 
> at
> com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(Configu
> rationManager.java:52)
> 
> at
> org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatche
> r.java:398)
> 
> at
> org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:455)
> 
> at
> org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:20
> 1)
> 
> at
> org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilter
> Config.java:239)
> 
> at
> org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFil
> terConfig.java:333)
> 
> at
> org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterCon
> fig.java:89)
> 
> at
> org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:43
> 49)
> 
> at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:5138)
> 
> at com.sun.enterprise.web.WebModule.start(WebModule.java:307)
> 
> at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:9
> 60)
> 
> at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:944)
> 
> at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:671)
> 
> at
> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1572)
> 
> at
> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1217)
> 
> at
> com.sun.enterprise.web.WebContainer.loadJ2EEApplicationWebModules(WebContain
> er.java:1142)
> 
> at
> com.sun.enterprise.server.TomcatApplicationLoader.doLoad(TomcatApplicationLo
> ader.java:128)
> 
> at
> com.sun.enterprise.server.AbstractLoader.load(AbstractLoader.java:226)
> 
> at
> com.sun.enterprise.server.ApplicationManager.applicationDeployed(Application
> Manager.java:323)
> 
> at
> com.sun.enterprise.server.ApplicationManager.applicationDeployed(Application
> Manager.java:197)
> 
> at
> com.sun.enterprise.server.ApplicationManager.applicationDeployed(Application
> Manager.java:632)
> 
> at
> com.sun.enterprise.admin.event.AdminEventMulticaster.invokeApplicationDeploy
> EventListener(AdminEventMulticaster.java:905)
> 
> at
> com.sun.enterprise.admin.event.AdminEventMulticaster.handleApplicationDeploy
> Event(AdminEventMulticaster.java:889)
> 
> at
> com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEvent
> Multicaster.java:445)
> 
> at
> com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEve
> ntMulticaster.java:160)
> 
> at
> com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastE
> vent(DeploymentNotificationHelper.java:295)
> 
> at
> com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent

Re: Major performance issue while displaying data in tabbedPanel

2007-03-22 Thread Felipe Rodrigues

Copy the template dir under the struts2-core...jar to your context root.
It will give you a great improvement in Performance.

Felipe


Gajbhe, Laxman (Contractor) wrote:
> 
> Hi,
> 
>  
> 
> I have following snippet of code:
> 
>  
> 
> <%@ taglib uri="/struts-tags" prefix="s" %>
> 
> 
> 
>   Home
> 
>   
> 
> 
> 
>  
> 
> 
> 
>   
> 
>  label="Activity" theme="ajax"
> 
>   href="home/home!recentActivity.action" />
> 
>   
> 
> 
> 
>  
> 
> Action returns about 500 records in the simple table. This takes about
> 14 seconds to render.
> 
>  
> 
> Same data gets rendered in about 6 seconds if I replace tabbedPanel by:
> 
>  
> 
>  namespace="/home"/>
> 
>  
> 
> Or 
> 
>  
> 
> Directly invoke action from browser link.
> 
>  
> 
> We are using IE 6.0
> 
>  
> 
> I would appreciate your comments/feedback. 
> 
>  
> 
> Thanks,
> 
>  
> 
> Laxman
> 
>  
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Major-performance-issue-while-displaying-data-in-tabbedPanel-tf3450811.html#a9626072
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Struts 2.0.6 and Spring

2007-03-22 Thread Dave Newton
Well, if it's cleanly deployed, something is funky:

--- Daniel Felix <[EMAIL PROTECTED]> wrote:
>
jar:file:/C:/Sun/glassfish/domains/domain1/applications/j2ee-apps/acnsf/struts2-spring-plugin-2.0.6.jar!/struts-plugin.xml:8:132
>
jar:file:/C:/Sun/glassfish/domains/domain1/applications/j2ee-apps/acnsf/acnsf-war_war/WEB-INF/lib/struts2-spring-plugin-2.0.6.jar!/struts-plugin.xml:8:132

Again, I don't know Glassfish (yet :) but it looks
like both the WAR and... the project (or EAR?) have a
Spring plugin.

d.



 

Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
http://videogames.yahoo.com/platform?platform=120121

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Struts 2.0.6 and Spring

2007-03-22 Thread Don Brown

Just glancing at the error, looks like you have two copies of the
plugin in the classpath:

jar:file:/C:/Sun/glassfish/domains/domain1/applications/j2ee-apps/acnsf/struts2-spring-plugin-2.0.6.jar!/struts-plugin.xml:8:132
jar:file:/C:/Sun/glassfish/domains/domain1/applications/j2ee-apps/acnsf/acnsf-war_war/WEB-INF/lib/struts2-spring-plugin-2.0.6.jar!/struts-plugin.xml:8:132

Don

On 3/22/07, Daniel Felix <[EMAIL PROTECTED]> wrote:

I cleaned before run to deploy.
I already saw the same problem on net with others people.

Any idea ?


-Mensagem original-
De: Dave Newton [mailto:[EMAIL PROTECTED]
Enviada em: quinta-feira, 22 de março de 2007 18:57
Para: Struts Users Mailing List
Assunto: Re: Struts 2.0.6 and Spring

--- Daniel Felix <[EMAIL PROTECTED]> wrote:
> After it, I'm migrating from Struts 2.0.1 to Struts
> 2.0.6 to improve my web application, but when I
> start, it occurs an error and stop the server.

I would first check and make sure everything is
cleaned up from the old 2.0.1 version deployment; I'm
not sure what else could cause that kind of error but
I haven't used Glassfish, either.

d.






Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
http://videogames.yahoo.com/platform?platform=120121

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [JSP] drag drop capability in a jsp is this possible ?

2007-03-22 Thread Angelo zerr

There is not another documentation (it's my project).
have you try to deploy the war jscontrolstags-usecases-1.0-b1.war? You
sample with swap.
I'm agree with you documentation is poor, I will try write it.

See swap3.jsp. You have an sample. have you insert javascript and css in
your page?

   
   
   
   
   
   
   
   
   
   

Angelo


2007/3/22, temp temp <[EMAIL PROTECTED]>:


I downloaded  all the required files  but they donot have a  sample
application with which I can play  make changes test  results   they have
jsp code   which is not complete and  no tutorial on  how to get
started  are there any other   providers with good documentation and
examples ?
  Thanks & Regards


Angelo zerr <[EMAIL PROTECTED]> wrote:  Have you download usecase
jscontrolstags-usecases-1.0-b1? You can found it
http://sourceforge.net/project/showfiles.php?group_id=175409

Swap document is here
http://jscontrolstags.sourceforge.net/controls/swap/swap.html

Angelo

2007/3/22, temp temp :
>
> I tried  swap control  in my application but it does not work  the site
> has no documentation, no complte examples can  I get
more  assistance  with
> this ?
>   Thanks & Regards
>
>
>
>
> Angelo zerr  wrote:  Hi,
> you can see JSControlsTags project at
> http://jscontrolstags.sourceforge.net/
> .
> There is Swap control (see at
> http://jscontrolstags.sourceforge.net/controls/swap/swap.html)
> which is enable to swap items select to another select with drag/drop.
> it is based on Scriptaculous and Proototype.
>
> You can see demo at
> http://jscontrolstags.sourceforge.net/demo/swap/swap.html
>
> Regards Angelo
>
> 2007/3/22, temp temp :
> >
> > I want  a jsp page which should have the capability to  drag and
> > drop   in the sense suppose I have a two list
> >
> >
> >
> > California -- CAColorado -- COConneticut -- CN
> >
> >
> > C -- CAC -- CO Conneticut -- CN
> >
> >
> >I want to shuffle the  contents  of the lists using  mouse drag
> > and  drop  is it possible   ?   and  any hints of achieving this ?
> >Thanks & Regards
> >
> >
> >
> >
> > -
> > No need to miss a message. Get email on-the-go
> > with Yahoo! Mail for Mobile. Get started.
>
>
>
> -
> TV dinner still cooling?
> Check out "Tonight's Picks" on Yahoo! TV.



-
We won't tell. Get more on shows you hate to love
(and love to hate): Yahoo! TV's Guilty Pleasures list.


RES: Struts 2.0.6 and Spring

2007-03-22 Thread Daniel Felix
I cleaned before run to deploy.
I already saw the same problem on net with others people.

Any idea ?


-Mensagem original-
De: Dave Newton [mailto:[EMAIL PROTECTED] 
Enviada em: quinta-feira, 22 de março de 2007 18:57
Para: Struts Users Mailing List
Assunto: Re: Struts 2.0.6 and Spring 

--- Daniel Felix <[EMAIL PROTECTED]> wrote:
> After it, I'm migrating from Struts 2.0.1 to Struts
> 2.0.6 to improve my web application, but when I 
> start, it occurs an error and stop the server.

I would first check and make sure everything is
cleaned up from the old 2.0.1 version deployment; I'm
not sure what else could cause that kind of error but
I haven't used Glassfish, either.

d.



 


Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
http://videogames.yahoo.com/platform?platform=120121

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [JSP] drag drop capability in a jsp is this possible ?

2007-03-22 Thread temp temp
I downloaded  all the required files  but they donot have a  sample application 
with which I can play  make changes test  results   they have jsp code   which 
is not complete and  no tutorial on  how to get started  are there any other   
providers with good documentation and examples ?
  Thanks & Regards
 

Angelo zerr <[EMAIL PROTECTED]> wrote:  Have you download usecase 
jscontrolstags-usecases-1.0-b1? You can found it
http://sourceforge.net/project/showfiles.php?group_id=175409

Swap document is here
http://jscontrolstags.sourceforge.net/controls/swap/swap.html

Angelo

2007/3/22, temp temp :
>
> I tried  swap control  in my application but it does not work  the site
> has no documentation, no complte examples can  I get more  assistance  with
> this ?
>   Thanks & Regards
>
>
>
>
> Angelo zerr  wrote:  Hi,
> you can see JSControlsTags project at
> http://jscontrolstags.sourceforge.net/
> .
> There is Swap control (see at
> http://jscontrolstags.sourceforge.net/controls/swap/swap.html)
> which is enable to swap items select to another select with drag/drop.
> it is based on Scriptaculous and Proototype.
>
> You can see demo at
> http://jscontrolstags.sourceforge.net/demo/swap/swap.html
>
> Regards Angelo
>
> 2007/3/22, temp temp :
> >
> > I want  a jsp page which should have the capability to  drag and
> > drop   in the sense suppose I have a two list
> >
> >
> >
> > California -- CAColorado -- COConneticut -- CN
> >
> >
> > C -- CAC -- CO Conneticut -- CN
> >
> >
> >I want to shuffle the  contents  of the lists using  mouse drag
> > and  drop  is it possible   ?   and  any hints of achieving this ?
> >Thanks & Regards
> >
> >
> >
> >
> > -
> > No need to miss a message. Get email on-the-go
> > with Yahoo! Mail for Mobile. Get started.
>
>
>
> -
> TV dinner still cooling?
> Check out "Tonight's Picks" on Yahoo! TV.


 
-
We won't tell. Get more on shows you hate to love
(and love to hate): Yahoo! TV's Guilty Pleasures list.

Re: Struts 2.0.6 and Spring

2007-03-22 Thread Dave Newton
--- Daniel Felix <[EMAIL PROTECTED]> wrote:
> After it, I'm migrating from Struts 2.0.1 to Struts
> 2.0.6 to improve my web application, but when I 
> start, it occurs an error and stop the server.

I would first check and make sure everything is
cleaned up from the old 2.0.1 version deployment; I'm
not sure what else could cause that kind of error but
I haven't used Glassfish, either.

d.



 

Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
http://videogames.yahoo.com/platform?platform=120121

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [JSP] drag drop capability in a jsp is this possible ?

2007-03-22 Thread Angelo zerr

Have you download usecase jscontrolstags-usecases-1.0-b1? You can found it
http://sourceforge.net/project/showfiles.php?group_id=175409

Swap document is here
http://jscontrolstags.sourceforge.net/controls/swap/swap.html

Angelo

2007/3/22, temp temp <[EMAIL PROTECTED]>:


I tried  swap control  in my application but it does not work  the site
has no documentation, no complte examples can  I get more  assistance  with
this ?
  Thanks & Regards




Angelo zerr <[EMAIL PROTECTED]> wrote:  Hi,
you can see JSControlsTags project at
http://jscontrolstags.sourceforge.net/
.
There is Swap control (see at
http://jscontrolstags.sourceforge.net/controls/swap/swap.html)
which is enable to swap items select to another select with drag/drop.
it is based on Scriptaculous and Proototype.

You can see demo at
http://jscontrolstags.sourceforge.net/demo/swap/swap.html

Regards Angelo

2007/3/22, temp temp :
>
> I want  a jsp page which should have the capability to  drag and
> drop   in the sense suppose I have a two list
>
>
>
> California -- CAColorado -- COConneticut -- CN
>
>
> C -- CAC -- CO Conneticut -- CN
>
>
>I want to shuffle the  contents  of the lists using  mouse drag
> and  drop  is it possible   ?   and  any hints of achieving this ?
>Thanks & Regards
>
>
>
>
> -
> No need to miss a message. Get email on-the-go
> with Yahoo! Mail for Mobile. Get started.



-
TV dinner still cooling?
Check out "Tonight's Picks" on Yahoo! TV.


Re: [JSP] drag drop capability in a jsp is this possible ?

2007-03-22 Thread temp temp
I tried  swap control  in my application but it does not work  the site has no 
documentation, no complte examples can  I get more  assistance  with this ?
  Thanks & Regards
  
  
  

Angelo zerr <[EMAIL PROTECTED]> wrote:  Hi,
you can see JSControlsTags project at http://jscontrolstags.sourceforge.net/
.
There is Swap control (see at
http://jscontrolstags.sourceforge.net/controls/swap/swap.html)
which is enable to swap items select to another select with drag/drop.
it is based on Scriptaculous and Proototype.

You can see demo at
http://jscontrolstags.sourceforge.net/demo/swap/swap.html

Regards Angelo

2007/3/22, temp temp :
>
> I want  a jsp page which should have the capability to  drag and
> drop   in the sense suppose I have a two list
>
>
>
> California -- CAColorado -- COConneticut -- CN
>
>
> C -- CAC -- CO Conneticut -- CN
>
>
>I want to shuffle the  contents  of the lists using  mouse drag
> and  drop  is it possible   ?   and  any hints of achieving this ?
>Thanks & Regards
>
>
>
>
> -
> No need to miss a message. Get email on-the-go
> with Yahoo! Mail for Mobile. Get started.


 
-
TV dinner still cooling?
Check out "Tonight's Picks" on Yahoo! TV.

Struts 2.0.6 and Spring

2007-03-22 Thread Daniel Felix
Hi, people

 

I'm working with Struts 2.0.1, theme ajax and  s:div, but the performace is
very slow. 

The div load an action in 10 seconds with list of 20 tuples.

 

After it, I'm migrating from Struts 2.0.1 to Struts 2.0.6 to improve my web
application, but when I start, it occurs an error and stop the server.

 

I have two problems, firstly  I need to improve performace my web
application and second , I want to migrate to 2.0.6.It runs my web
application on release version, because there are some fix bugs.

 

AnyBody Can help ? Any tips ?

 

 

The message error : 

 

2007-03-22 18:13:50,793  INFO
(com.opensymphony.xwork2.config.providers.XmlConfigurationProvider:141) -
Parsing configuration file [struts-default.xml]

2007-03-22 18:13:52,386  INFO
(com.opensymphony.xwork2.config.providers.XmlConfigurationProvider:141) -
Parsing configuration file [struts-plugin.xml]

WebModule[/acnsf-war]PWC1270: Exception starting filter struts

Unable to load bean: type:com.opensymphony.xwork2.ObjectFactory
class:org.apache.struts2.spring.StrutsSpringObjectFactory - bean -
jar:file:/C:/Sun/glassfish/domains/domain1/applications/j2ee-apps/acnsf/acns
f-war_war/WEB-INF/lib/struts2-spring-plugin-2.0.6.jar!/struts-plugin.xml:8:1
32

at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(X
mlConfigurationProvider.java:209)

at
org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlC
onfigurationProvider.java:101)

at
com.opensymphony.xwork2.config.impl.DefaultConfiguration.reload(DefaultConfi
guration.java:131)

at
com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(Configu
rationManager.java:52)

at
org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatche
r.java:398)

at
org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:455)

at
org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:20
1)

at
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilter
Config.java:239)

at
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFil
terConfig.java:333)

at
org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterCon
fig.java:89)

at
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:43
49)

at
org.apache.catalina.core.StandardContext.start(StandardContext.java:5138)

at com.sun.enterprise.web.WebModule.start(WebModule.java:307)

at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:9
60)

at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:944)

at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:671)

at
com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1572)

at
com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1217)

at
com.sun.enterprise.web.WebContainer.loadJ2EEApplicationWebModules(WebContain
er.java:1142)

at
com.sun.enterprise.server.TomcatApplicationLoader.doLoad(TomcatApplicationLo
ader.java:128)

at
com.sun.enterprise.server.AbstractLoader.load(AbstractLoader.java:226)

at
com.sun.enterprise.server.ApplicationManager.applicationDeployed(Application
Manager.java:323)

at
com.sun.enterprise.server.ApplicationManager.applicationDeployed(Application
Manager.java:197)

at
com.sun.enterprise.server.ApplicationManager.applicationDeployed(Application
Manager.java:632)

at
com.sun.enterprise.admin.event.AdminEventMulticaster.invokeApplicationDeploy
EventListener(AdminEventMulticaster.java:905)

at
com.sun.enterprise.admin.event.AdminEventMulticaster.handleApplicationDeploy
Event(AdminEventMulticaster.java:889)

at
com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEvent
Multicaster.java:445)

at
com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEve
ntMulticaster.java:160)

at
com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastE
vent(DeploymentNotificationHelper.java:295)

at
com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(
DeploymentServiceUtils.java:210)

at
com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(
ServerDeploymentTarget.java:285)

at
com.sun.enterprise.deployment.phasing.ApplicationStartPhase.runPhase(Applica
tionStartPhase.java:119)

at
com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(Deploymen
tPhase.java:95)

at
com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDe
ploymentService.java:892)

at
com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymen
tService.java:263)

at
com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymen
tService.java:281)

  

Re: [JSP] drag drop capability in a jsp is this possible ?

2007-03-22 Thread Angelo zerr

Hi,
you can see JSControlsTags project at http://jscontrolstags.sourceforge.net/
.
There is Swap control (see at
http://jscontrolstags.sourceforge.net/controls/swap/swap.html)
which is enable to swap items select to another select with drag/drop.
it is based on Scriptaculous and Proototype.

You can see demo at
http://jscontrolstags.sourceforge.net/demo/swap/swap.html

Regards Angelo

2007/3/22, temp temp <[EMAIL PROTECTED]>:


I want  a jsp page which should have the capability to  drag and
drop   in the sense suppose I have a two list





California -- CA

Colorado -- CO

Conneticut -- CN






C -- CA

C -- CO

 Conneticut -- CN




   I want to shuffle the  contents  of the lists using  mouse drag
and  drop  is it possible   ?   and  any hints of achieving this ?
   Thanks & Regards




-
No need to miss a message. Get email on-the-go
with Yahoo! Mail for Mobile. Get started.


MailReader Tour

2007-03-22 Thread Chris Pratt

It appears that the MailReader Tour on the Tutorials page is having
problems.  I've tried for two days and all I get is a Tomcat "HTTP Status
404 - /struts2-mailreader/Tour.do" message.
 (*Chris*)


[JSP] drag drop capability in a jsp is this possible ?

2007-03-22 Thread temp temp
I want  a jsp page which should have the capability to  drag and drop   in 
the sense suppose I have a two list   
  
 
  

  
California -- CA
  
Colorado -- CO   
  
Conneticut -- CN
  

   
  

  
C -- CA
  
C -- CO   
  
 Conneticut -- CN
  

   
   
   I want to shuffle the  contents  of the lists using  mouse drag   and  
drop  is it possible   ?   and  any hints of achieving this ?
   Thanks & Regards
  
  

 
-
No need to miss a message. Get email on-the-go 
with Yahoo! Mail for Mobile. Get started.

Validator Issue

2007-03-22 Thread stanlick

I have this field on a web page:



and this validator configured for it:

   
   
   
   
   

The only way I can pass the "Zip Code is required" validation is to remove the
validator entry.  All the other fields on the page work
fine with their validators.  Is there some issue with Javscript?  This is
the only field wired to script.

--
Scott
[EMAIL PROTECTED]


Struts CustomProcessor

2007-03-22 Thread Zhang, Larry \(L.\)
For my app specific security checking, is it a good idea to put the
checking logic in processValidate() method from Struts processor or
using J2EE filter?

Thanks.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Model getter misfiring

2007-03-22 Thread stanlick

I discovered something strange today after adding logging to my domain
classes.  If I have the following text field on my web page:

   

the Zip is being requested from User twice!  If I change my field to:

   

it is called once!  Of course I get no text from the property file
either!!!  Why would getText() need to consult with the domain object?  This
might explain some of the performance issues.

--
Scott
[EMAIL PROTECTED]


RE: Book recommendations for performance tuning

2007-03-22 Thread Christopher Loschen
Great suggestion -- thanks to both of you!

JProbe is one of the other tools we were considering anyway, so it could
be very useful to have a comparison handy. I'll take a look!

Chris

-Original Message-
From: Ed Griebel [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 22, 2007 9:08 AM
To: Struts Users Mailing List
Subject: Re: Book recommendations for performance tuning

I'd second that book recommendation. I've read it and there's a lot of
good tips in there.

On 3/22/07, Karr, David <[EMAIL PROTECTED]> wrote:
> One I like is "Pro Java EE 5 Performance Management and Optimization",
> by Steven Haines.  Note that Steven Haines is associated with Quest
> Software and Jprobe (and related products).  Although the book uses
some
> pictures from those products, it is not in any way a "veiled" ad for
> those products.  In the one section where he discusses actual
products,
> he clearly discloses his relationship, and gives a very even survey
(not
> really a review) of the products on the market.
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: UTF-8 encoding problems

2007-03-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Elilia,

Emilia Ipate wrote:
> You also have to enable your server to accept UTF-8, for WSAS I had to
> use: -D client.encoding.override=UTF-8

For Apache Tomcat, this is done by adding URIEncoding="UTF-8" to your
 element in server.xml.

- -chris

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGAqHH9CaO5/Lv0PARAqwUAKCKG606HcWItx95IfJGgtUxKsOWPACdGuqe
eR4cbMGuc40Af5RHFBr/mcM=
=UdA1
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How catch an event of changing the selectedTAb in a TabbedPanel?

2007-03-22 Thread Musachy Barroso

Nope. I don't think there is a topic for it either (but I only have 2K of
memory :) ), you may want to log a jira ticket for it.

musachy

On 3/22/07, Felipe Rodrigues <[EMAIL PROTECTED]> wrote:



Hi guys,

How call a function when change the tab of my tabbedPanel? Is the only way
use topics?
Tahnks in advance
--
View this message in context:
http://www.nabble.com/How-catch-an-event-of-changing-the-selectedTAb-in-a-TabbedPanel--tf3447548.html#a9614810
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
"Hey you! Would you help me to carry the stone?" Pink Floyd


Re: [S2] - Ajax Theme on freemarker template. It is possible ?

2007-03-22 Thread Musachy Barroso

Yes, in theory you should be able to use any S2 tag in freemarker, what kind
of problem are you having?

musachy

On 3/21/07, Monttez <[EMAIL PROTECTED]> wrote:


Hi all,

Its is possible to use ajax tags into a freemarker page?  It's not working
for me..

The same code works fine in a jsp result type... (with "

...

<@s.url id="ajaxMenu" value="getTreeMenu.action?decorate=false" />

<@s.div theme="ajax" href="${ajaxMenu}" >
  Initial Content




Thanks in advance


Luciano


-Mensagem original-
De: Musachy Barroso [mailto:[EMAIL PROTECTED]
Enviada em: sexta-feira, 9 de março de 2007 18:03
Para: Struts Users Mailing List
Assunto: Re: Need more comprehensive AJAX Implementation Instructions

There isn't any documentation about that, because no additional
configuration is required. The ajax tags expect html (except the
autcompleter who expects JSON). Actions used with the ajax tag are regular
actions, unless they are going to be used with the autocompleter.

regards
musachy

On 3/9/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Greetings --
>
> Is there a document that explains the interaction and design
expectations
> when using AJAX/Dojo/S2?  I have finally figured out how to make regions
> of
> a page load asyncronously, and If I look at the DOM, all the elements
are
> there.  However the elements do not show up in the browser unless I move
> my
> DIV outside the FORM!  Also, are there any instructions regarding how
the
> struts.xml ties into the mix?  For instance, what should the 
> look like in the config file?  Right now my AjaxAction is simply
> implementing the Action interface with an execute() and getZip() method.
> getZip returns the Zip object that I hope to access via OGNL?  I am
> looking
> for a pattern that describes how the parts relate.  I'm looking for a
> better
> understanding of what the framework is expecting from me. and this link
> didn't do it: http://struts.apache.org/2.x/docs/ajax.html
> --
> Scott
> [EMAIL PROTECTED]
>



--
"Hey you! Would you help me to carry the stone?" Pink Floyd


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
"Hey you! Would you help me to carry the stone?" Pink Floyd


Re: Dinamic param using anchor (s:a)?

2007-03-22 Thread Dave Newton
--- Felipe Rodrigues wrote:
> But can I set the value of the param inside 
> from teh  tag?
> 
> Something like:
> 
>
> 
>
> 
> 
>March
>April
> 
> The real question is, how to pass a value of a param
> from  to ?

You don't; the parameter is in the variable created by
the  tag, that's what the  tag
does (otherwise what would the point of 
be?)

d.



 

Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
http://videogames.yahoo.com/platform?platform=120121

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Fwd: weblogic 8.1 sp3 with struts2

2007-03-22 Thread Dave Newton
Forwarded to user list.

--- hfaouaz <[EMAIL PROTECTED]> wrote:
> I am getting a NPE after the action return a
> success.  My struts.xml has the location but
>
org.apache.struts2.dispatcher.ServletDispatcherResult
> is saying that the location is null and I get a
> result 'null' not found on the screen.
> 
> Weblogic 8.1 sp3
> Jrocket 1.4
> struts2 j4
> 
> any ideas any one?

Not without more information.

I had an S2 app running with no issues on WL 8.1 SP5;
I'm not sure what the difference between SP3/5 were.

Do other actions work correctly (i.e., is it just a
specific action that fails)?

d.



 

8:00? 8:25? 8:40? Find a flick in no time 
with the Yahoo! Search movie showtime shortcut.
http://tools.search.yahoo.com/shortcuts/#news

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Validation, ModelDriven and Field Errors

2007-03-22 Thread Juan Espinosa

Hi to all i have some problems with messages of validation

When i started to use validation i have an action with some filelds getting
validated (with an xml file, same name of the action). With this approach
when an error ocurred the error apears next to the controls that generated
that error.

Then i change the action to an action that implements ModelDriven, when i do
this changes the errors next to the controls doesnt appear any more. I must
add in the jsp page the tag   to get the errros.

Anyone knows why the errors doesnt appear ??

Regards

Juan

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.17/730 - Release Date: 22/03/2007
7:44
 


Re: Dinamic param using anchor (s:a)?

2007-03-22 Thread Felipe Rodrigues

ok,
But can I set the value of the param inside  from teh  tag?

Something like:

   

   


   March
   April

The real question is, how to pass a value of a param from  to ?

thanks any way...


Dave Newton-4 wrote:
> 
> --- Felipe Rodrigues wrote:
>> Is it possible to send a dinamic parameter using
>>  tag?
> 
> Sure.
> 
> Since the "href" attribute needs to be built with
>  anyway, see:
> 
> http://struts.apache.org/2.x/docs/url.html
> 
> d.
> 
> 
> 
>  
> 
> Finding fabulous fares is fun.  
> Let Yahoo! FareChase search your favorite travel sites to find flight and
> hotel bargains.
> http://farechase.yahoo.com/promo-generic-14795097
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Dinamic-param-using-anchor-%28s%3Aa%29--tf3446629.html#a9614880
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: UTF-8 encoding problems

2007-03-22 Thread Emilia Ipate
You also have to enable your server to accept UTF-8, for WSAS I had to
use: -D client.encoding.override=UTF-8


Emilia

-Original Message-
From: Mike Parsonson [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 22, 2007 2:39 PM
To: user@struts.apache.org
Subject: UTF-8 encoding problems


Hi,
We are developing a struts web application that will allow input of
chinese,
Japanese and Latin text.
When submitting form data that is not standard ascii characters, the
data is
turned into question marks, eg. ??.
We have already set the encoding of all of our JSP pages to "UTF-8" and
implimented a servlet filter to set the content type of the response to
"text/html; charset=UTF-8" and set the encoding of the request to
"UTF-8".
We are using Struts 1.2.4.  Any help will be gratefully received.
-- 
View this message in context:
http://www.nabble.com/UTF-8-encoding-problems-tf3447563.html#a9614870
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



UTF-8 encoding problems

2007-03-22 Thread Mike Parsonson

Hi,
We are developing a struts web application that will allow input of chinese,
Japanese and Latin text.
When submitting form data that is not standard ascii characters, the data is
turned into question marks, eg. ??.
We have already set the encoding of all of our JSP pages to "UTF-8" and
implimented a servlet filter to set the content type of the response to
"text/html; charset=UTF-8" and set the encoding of the request to "UTF-8".
We are using Struts 1.2.4.  Any help will be gratefully received.
-- 
View this message in context: 
http://www.nabble.com/UTF-8-encoding-problems-tf3447563.html#a9614870
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



How catch an event of changing the selectedTAb in a TabbedPanel?

2007-03-22 Thread Felipe Rodrigues

Hi guys,

How call a function when change the tab of my tabbedPanel? Is the only way
use topics?
Tahnks in advance
-- 
View this message in context: 
http://www.nabble.com/How-catch-an-event-of-changing-the-selectedTAb-in-a-TabbedPanel--tf3447548.html#a9614810
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Book recommendations for performance tuning

2007-03-22 Thread Ed Griebel

I'd second that book recommendation. I've read it and there's a lot of
good tips in there.

On 3/22/07, Karr, David <[EMAIL PROTECTED]> wrote:

One I like is "Pro Java EE 5 Performance Management and Optimization",
by Steven Haines.  Note that Steven Haines is associated with Quest
Software and Jprobe (and related products).  Although the book uses some
pictures from those products, it is not in any way a "veiled" ad for
those products.  In the one section where he discusses actual products,
he clearly discloses his relationship, and gives a very even survey (not
really a review) of the products on the market.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [JAVA] Use of declaring method abstract in a interface

2007-03-22 Thread Martin Gainty
+1
the way I think of this is can you directly instantiate the entity?
If No entity is abstract
If Yes entity is concrete

M-
--- 
This e-mail message (including attachments, if any) is intended for the use of 
the individual or entity to which it is addressed and may contain information 
that is privileged, proprietary , confidential and exempt from disclosure. If 
you are not the intended recipient, you are notified that any dissemination, 
distribution or copying of this communication is strictly prohibited.
--- 
Le présent message électronique (y compris les pièces qui y sont annexées, le 
cas échéant) s'adresse au destinataire indiqué et peut contenir des 
renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le 
destinataire de ce document, nous vous signalons qu'il est strictement interdit 
de le diffuser, de le distribuer ou de le reproduire.
- Original Message - 
From: "Paul Benedict" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" 
Sent: Thursday, March 22, 2007 12:50 AM
Subject: Re: [JAVA] Use of declaring method abstract in a interface


> All methods in an interface are implicitly abstract. If you declare them 
> "abstract", you're just making it verbose. Some people don't even put 
> "public" in interface methods since all interface methods are implicitly 
> public too.
> 
> Paul
> 
> temp temp wrote:
>> What is the advantage of declaring method abstract  in a intreface ?
>>   for example
>>   difference between 
>>   Intreface Test 
>>   {
>>   public void  test();
>>   }
>>   
>>   and 
>>   
>>   Intreface Test 
>> {
>> public abstract void  test();
>> }
>>   
>>   Thanks & Regards
>>   Sairam
>>   
>>   
>>  
>> -
>> No need to miss a message. Get email on-the-go 
>> with Yahoo! Mail for Mobile. Get started.
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

Re: Dinamic param using anchor (s:a)?

2007-03-22 Thread Dave Newton
--- Felipe Rodrigues wrote:
> Is it possible to send a dinamic parameter using
>  tag?

Sure.

Since the "href" attribute needs to be built with
 anyway, see:

http://struts.apache.org/2.x/docs/url.html

d.



 

Finding fabulous fares is fun.  
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel 
bargains.
http://farechase.yahoo.com/promo-generic-14795097

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Filtering multipart content

2007-03-22 Thread Lance
Can someone tell me the best way to deal with multipart parameters in a 
Filter without affecting struts?


In my filter, request.getParameterMap() returns an empty map because the 
multipart content has not yet been parsed. I had a look in the struts 
code and saw references to a MultipartRequestWrapper and a 
CommonsMultipartRequestHandler. From what I can see, the requestHandler 
parses the request and calls MultipartRequestWrapper.setParameter().


So... in my filter I do the following:

protected void doFilter(HttpServletRequest request, HttpServletResponse 
response, FilterChain chain) throws IOException, ServletException {

   boolean isMultipart = isMultipart(request);
   Map parameterMap;
   if (isMultipart) {
   // wrap the request so that 
CommonsMultipartRequestHandler.handleRequest()
   // can call set parameter. the wrapped request is then passed 
down the filter chain

   request = new MultipartRequestWrapper(request);
   MultipartRequestHandler multipartHandler = new 
CommonsMultipartRequestHandler();
   ModuleConfig moduleConfig = (ModuleConfig) 
servletContext.getAttribute(Globals.MODULE_KEY);

   request.setAttribute(Globals.MODULE_KEY, moduleConfig);
   multipartHandler.handleRequest(request);
   request.removeAttribute(Globals.MODULE_KEY);
   parameterMap = multipartHandler.getTextElements();
   } else {
   parameterMap = request.getParameterMap();
   }

   // do some stuff with the parameters

   chain.doFilter(request, response);
}

The problem now is that when I upload a file, struts thinks the file is 
null. request.getParameter() works for normal text parameters on the 
multipart form.
I have also tried parsing the request and sending the non-wrapped 
request down the chain but struts does not re-parse the request if i do 
this.


I am using struts 1.3.5

Thanks,
Lance.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Dinamic param using anchor (s:a)?

2007-03-22 Thread Felipe Rodrigues

Hi guys,

Is it possible to send a dinamic parameter using  tag?
I mean, if I click at one link, the param value is 5, if I click at another
link the param value is 7.
Is that possible?

thanks
-- 
View this message in context: 
http://www.nabble.com/Dinamic-param-using-anchor-%28s%3Aa%29--tf3446629.html#a9611799
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[OT] RE: ldap access

2007-03-22 Thread Dave Newton
--- "Krishna, Hari (FTT-CInternet)" wrote:
> What's wrong with your question man. Struts is
> related to Presentation layer and LDAP is something
> that comes into picture in Business layer's try to
> understand how to call business layer components
> from Action class

Nothing is *wrong* with the question; the original
post asked about doing an LDAP search inside Struts. I
didn't understand what doing an LDAP search had to do
with Struts, so I asked for clarification, which he
provided.

d.



 

The fish are biting. 
Get more visitors on your site using Yahoo! Search Marketing.
http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Book recommendations for performance tuning

2007-03-22 Thread Leon Rosenberg

Christopher,

I think you should just start by measuring different layers of your
application and different pathes the use cases go, and then start to
think how to improve things that are slow.
Blind performance tuning without knowing where the problem lies is the
last thing that will help you.

regards
Leon

On 3/21/07, Christopher Loschen <[EMAIL PROTECTED]> wrote:

Hi all,



I guess this is partially off-topic, but I've been asked to start
looking at improving the performance of our application, and wanted to
start reading up on things I should be looking for, techniques to
improve performance, and so on.



Our application has a pretty standard stack of J2EE, WebLogic, Oracle,
Struts, JavaScript, plus some web services and SOAP, so I'm interested
in any recommendations anyone has for any of those. I found one
apparently classic text on "Oracle Performance Tuning" from O'Reilly
(aka the "bee" book) but it's from 1996 and apparently hasn't been
updated since, so I'm concerned that it's so out-of-date I wouldn't be
able to use it.



What would you recommend? Thanks!



Chris Loschen






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [s2] Possibility to hide input fields if not empty?

2007-03-22 Thread Angelo zerr

I don't know XML validation for the Struts 2.x, but if it's the same than
Struts 1.x, it would be works.
FormView use XML validation to set information about field (required, date).

If you have interested with FormView, you could explain me the XML
validation used with Struts 2.x and I could
develop the digester which parse this file to fill internal data of the
FormView.

Angelo


2007/3/21, Dave Newton <[EMAIL PROTECTED]>:


--- Angelo zerr <[EMAIL PROTECTED]> wrote:
> if you want you can see
> http://formview.sourceforge.net/.
> FormView can manage your case and other.
>
> It works with Struts 1.x or without Struts.

But not 2.0, which is what the question was?

d,






The fish are biting.
Get more visitors on your site using Yahoo! Search Marketing.
http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Struts Refresh problem--need help

2007-03-22 Thread Veera

Hi,i'm using struts frame work and oracle portals for developing my
application.
we came thru the refresh prob in struts for this i came to know dat we can
use token methods to solve this problem.
when i tried with out portals this is working fine,but when i tried the same
in oralce portals this is not working?

why this is happening..is there any this wrong with my code?
here is the code..

in the action class which lead to the jsp where we enter the data..

public ActionForward execute(ActionMapping actionMapping,
ActionForm actionForm, HttpServletRequest httpServletRequest,
HttpServletResponse httpServletResponse) {

saveToken(httpServletRequest);

return actionMapping.findForward (IConstants.SUCCESS);
}

in the action class where we will perform insertion..

 public ActionForward save (ActionMapping actionMapping,
ActionForm actionForm, HttpServletRequest httpServletRequest,
HttpServletResponse httpServletResponse) {
try {
 if ( !isTokenValid(httpServletRequest) ) {
log.error("isTokenValid(httpServletRequest)
"+isTokenValid(httpServletRequest) );
//this is giving false forever
 }else{
//code to perform insertion
resetToken(httpServletRequest);
}
} catch (SystemException systemException) {
CTELogger.error (s_Class, systemException.getMessage ());
return actionMapping.findForward (IConstants.FORWARD_ERROR);
} catch (ApplicationException applicationException) {
CTELogger.error (s_Class, applicationException.getMessage
());
return actionMapping.findForward
(IConstants.NULL_PARAMETER);
}

return actionMapping.findForward (IConstants.SUCCESS);
}

this is not working when i use oracle portals..
please help me to solve the problem
-- 
View this message in context: 
http://www.nabble.com/Struts-Refresh-problem--need-help-tf3446171.html#a9610336
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: ldap access

2007-03-22 Thread P Y

(agree on the auth aspect)

On the presentation layer, would someone know about a LDAP data
browser/editor using Struts ?
Thanks.


On 3/22/07, Krishna, Hari (FTT-CInternet) <[EMAIL PROTECTED]> wrote:

What's wrong with your question man. Struts is related to Presentation layer 
and LDAP is something that comes into picture in Business layer's try to 
understand how to call business layer components from Action class

Regards,
I.HariKrishna | Software Engineer | Franklin Templeton International Services 
(India) Pvt. Ltd. | Franklin Templeton Centre,1st Floor, No.7,Third Cross 
Street, Kasturba Nagar, Adyar, Chennai 600020
| Tel: +91 44 24407000 | Extn: 17123 | Fax: +91 44 24453661 | Mobile: +91 
9884528587 |  www.franklintempleton.com

-Original Message-
From: Philippe Le Gal [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 20, 2007 5:57 PM
To: Struts Users Mailing List
Subject: Re: ldap access


I'm looking for an example for implementing a LDAP user authentification
inside a struts application.

I think I've to test java.naming.ldap classes. Am i right ?

Thx

Philippe

Le Tuesday 20 March 2007 13:18:31 Dave Newton, vous avez écrit:
> --- Philippe Le Gal <[EMAIL PROTECTED]> wrote:
> > I'm looking for an example of an ldap search with
> > struts.
>
> I'm not sure how the two are related; can you be more
> specific?
>
> d.
>
>
>
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]