RE: Local Host Error

2008-04-10 Thread Alvaro Ernesto Gomez Cerna
Change port is running for apache is port  

-Mensaje original-
De: Alberto A. Flores [mailto:[EMAIL PROTECTED] 
Enviado el: Jueves, 10 de Abril de 2008 07:12 a.m.
Para: Struts Users Mailing List
Asunto: Re: Local Host Error

Also, note that if you have IIS running, you would need to change the listening
port (on either IIS or Apache).

Lukasz Lenart wrote:
 Hello. To preface I am very new to using Apache. I am attempting to  
 experiment locally, however I cannot connect to local host nor the
  127.0.0.1 directly. I am looking to try and get the IT works! 
 Apache
 
 Are you using Skype? By default, Skype block port 80 and 443, disable 
 such port in Skype or change the default port for Apache.
 
 You can also use netstat -b from command prompt to see all programs 
 with opened ports.
 
 
 Regards

-- 

Alberto A. Flores
http://www.linkedin.com/in/aflores





__ Informacin de NOD32, revisi n 3016 (20080410) __

Este mensaje ha sido analizado con NOD32 antivirus system http://www.nod32.com


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



Beging in Strust 2 with Jdeveloper 10.1.3

2008-02-13 Thread Alvaro Ernesto Gomez Cerna
Now beging in strust 2 with Jdeveloper. Display error en screen all compile,
What is problem..?

The codigo is form is simple:
%@ page contentType=text/html;charset=windows-1252%
%@ taglib uri=/struts-tags prefix=s% 
html 
head 
meta http-equiv=Content-Type content=text/html; charset=windows-1252 
titleuntitled/title 
/head 
bodys:label name=et1 value=copiado//body 
/html

The error running is:
Error: java.lang.NoClassDefFoundError: com/opensymphony/xwork2/util/ValueStack




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



RE: [OT] RE: Beging in Strust 2 with Jdeveloper 10.1.3

2008-02-13 Thread Alvaro Ernesto Gomez Cerna
It's code page

%@ taglib prefix=s uri=/struts-tags %

html
head
titleHello World!/title
/head
body
h2s:property value=message //h2
/body
/html

 

-Mensaje original-
De: Dave Newton [mailto:[EMAIL PROTECTED] 
Enviado el: Miércoles, 13 de Febrero de 2008 12:54 p.m.
Para: [EMAIL PROTECTED]; Struts Users Mailing List
CC: Chris Brown
Asunto: [OT] RE: Beging in Strust 2 with Jdeveloper 10.1.3

Please reply to the struts-user mailing list.

--- Alvaro Ernesto Gomez Cerna [EMAIL PROTECTED] wrote:
 In directory web-inf\lib found
  freemarker-2.3.8.jar
  ognl-2.6.11.jar
  strust.jar
  strust2-core-2.0.11.jar
  xwork-2.0.4.jar
 
 Others directory web-inf
  strust-tags.tld

You need to set up JDeveloper to associate those libraries with your project so
the compiler will use them.

The struts-tags.tld file, btw, should probably not be extracted unless you have
modified it in some way. (And are they really all named wrong, or is that just a
persistent typo?)

Dave


-
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: [OT] RE: Beging in Strust 2 with Jdeveloper 10.1.3

2008-02-13 Thread Alvaro Ernesto Gomez Cerna
It's compiling 0 errors, 0 warnings, 
When running in explorer present next error:

500 Internal Server Error

The Struts dispatcher cannot be found.  This is usually caused by using Struts
tags without the associated filter. Struts tags are only usable when the request
has passed through its servlet filter, which initializes the Struts dispatcher
needed for this tag. - [unknown location]
at com.opensymphony.xwork2.XWorkException.init(XWorkException.java:35)
at
com.opensymphony.xwork2.config.ConfigurationException.init(ConfigurationExcept
ion.java:30)
at org.apache.struts2.views.jsp.TagUtils.getStack(TagUtils.java:60)
at
org.apache.struts2.views.jsp.StrutsBodyTagSupport.getStack(StrutsBodyTagSupport.
java:52)
at
org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(ComponentTagSupport.
java:49)
at _login._jspService(_login.java:47)
[/login.jsp]
at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.0.0)
].http.OrionHttpJspPage.service(OrionHttpJspPage.java:60)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:416)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0)
].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:719)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0)
].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.
java:376)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0)
].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0)
].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0)
].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0)
].server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0)
].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at
oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHan
dler.java:260)
at
oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAccep
tHandler.java:230)
at
oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandl
er.java:33)
at
oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocke
tAcceptHandler.java:831)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0)
].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExe
cutor.java:298)
at java.lang.Thread.run(Thread.java:595)
 

-Mensaje original-
De: Dave Newton [mailto:[EMAIL PROTECTED] 
Enviado el: Miércoles, 13 de Febrero de 2008 12:54 p.m.
Para: [EMAIL PROTECTED]; Struts Users Mailing List
CC: Chris Brown
Asunto: [OT] RE: Beging in Strust 2 with Jdeveloper 10.1.3

Please reply to the struts-user mailing list.

--- Alvaro Ernesto Gomez Cerna [EMAIL PROTECTED] wrote:
 In directory web-inf\lib found
  freemarker-2.3.8.jar
  ognl-2.6.11.jar
  strust.jar
  strust2-core-2.0.11.jar
  xwork-2.0.4.jar
 
 Others directory web-inf
  strust-tags.tld

You need to set up JDeveloper to associate those libraries with your project so
the compiler will use them.

The struts-tags.tld file, btw, should probably not be extracted unless you have
modified it in some way. (And are they really all named wrong, or is that just a
persistent typo?)

Dave


-
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: [OT] RE: Beging in Strust 2 with Jdeveloper 10.1.3

2008-02-13 Thread Alvaro Ernesto Gomez Cerna
Others problem is when attachemt objets in page jsp display en log next message:
---
Error exercising tag : s:form
The Struts dispatcher cannot be found.  This is usually caused by using Struts
tags without the associated filter. Struts tags are only usable when the request
has passed through its servlet filter, which initializes the Struts dispatcher
needed for this tag. - [unknown location]
at org.apache.struts2.views.jsp.TagUtils.getStack(TagUtils.java:60)
at
org.apache.struts2.views.jsp.StrutsBodyTagSupport.getStack(StrutsBodyTagSupport.
java:52)
at
org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(ComponentTagSupport.
java:49)
at
oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.doStartTag(De
signTimeJspActionRenderer.java:1317)
at
oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer._executeTag(D
esignTimeJspActionRenderer.java:1639)
at
oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.render(Design
TimeJspActionRenderer.java:245)
at
oracle.jdevimpl.webapp.design.DesignTimeRenderer.renderChildren(DesignTimeRender
er.java:424)
at
oracle.jdevimpl.webapp.design.DesignTimeRenderer.render(DesignTimeRenderer.java:
311)
at
oracle.jdevimpl.webapp.design.DesignTimeRenderer.renderChildren(DesignTimeRender
er.java:428)
at
oracle.jdevimpl.webapp.design.DesignTimeRenderer.render(DesignTimeRenderer.java:
311)
at
oracle.jdevimpl.webapp.design.DesignTimeRenderer.renderChildren(DesignTimeRender
er.java:428)
at
oracle.jdevimpl.webapp.jsp.renderers.JSPCoreSyntaxRenderer.render(JSPCoreSyntaxR
enderer.java:82)
at
oracle.jdevimpl.webapp.design.support.jsp.DesignTimeJspServlet._renderSource(Des
ignTimeJspServlet.java:197)
at
oracle.jdevimpl.webapp.design.support.jsp.DesignTimeJspServlet.serviceJsp(Design
TimeJspServlet.java:109)
at
oracle.jdevimpl.webapp.design.support.jsp.DesignTimeJspServlet.service(DesignTim
eJspServlet.java:73)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at
oracle.jdevimpl.webapp.design.support.http.DesignTimeServletInfo.service(DesignT
imeServletInfo.java:268)
at
oracle.jdevimpl.webapp.design.support.http.DesignTimeRequestDispatcher$DesignTim
eFilterChain.doFilter(DesignTimeRequestDispatcher.java:307)
at
oracle.jdevimpl.webapp.design.support.http.DesignTimeRequestDispatcher.dispatch(
DesignTimeRequestDispatcher.java:193)
at
oracle.jdevimpl.webapp.design.support.http.DesignTimeServletContainerContext._se
rvice(DesignTimeServletContainerContext.java:611)
at
oracle.jdevimpl.webapp.design.support.http.DesignTimeServletContainerContext.ser
vice(DesignTimeServletContainerContext.java:570)
at
oracle.jdevimpl.webapp.design.DesignTimeRenderThread.runImpl(DesignTimeRenderThr
ead.java:264)
at
oracle.jdevimpl.webapp.design.DesignTimeThread.run(DesignTimeThread.java:147)

Mi web.xml is:
?xml version = '1.0' encoding = 'windows-1252'?
web-app xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd; version=2.4
xmlns=http://java.sun.com/xml/ns/j2ee;
descriptionEmpty web.xml file for Web Application/description

filter
filter-namestrust2/filter-name
 
filter-classorg.apache.struts2.dispatcher.FilterDispatcher/filter-class
/filter

filter-mapping
filter-namestrust2/filter-name
url-pattern/*/url-pattern
/filter-mapping

servlet
servlet-nameaction/servlet-name
servlet-classorg.apache.struts.action.ActionServlet/servlet-class
init-param
param-nameconfig/param-name
param-value/WEB-INF/struts-config.xml/param-value
/init-param
load-on-startup1/load-on-startup
/servlet
servlet-mapping
servlet-nameaction/servlet-name
url-pattern*.do/url-pattern
/servlet-mapping
session-config
session-timeout35/session-timeout
/session-config
mime-mapping
extensionhtml/extension
mime-typetext/html/mime-type
/mime-mapping
mime-mapping
extensiontxt/extension
mime-typetext/plain/mime-type
/mime-mapping
welcome-file-list
welcome-file/login.jsp/welcome-file
/welcome-file-list
jsp-config/
/web-app
 

-Mensaje original-
De: Alvaro Ernesto Gomez Cerna [mailto:[EMAIL PROTECTED] 
Enviado el: Miércoles, 13 de Febrero de 2008 01:37 p.m.
Para: 'Struts Users Mailing List'
Asunto: RE: [OT] RE: Beging in Strust 2 with Jdeveloper 10.1.3

Thank ok, running sin problem.
You one example developing in jdeveloper for reference
 

-Mensaje original-
De: Allen, Daniel [mailto:[EMAIL PROTECTED] Enviado el: Miércoles, 13 de
Febrero de 2008 01:21 p.m.
Para: Struts Users Mailing List; [EMAIL PROTECTED]
Asunto: RE: [OT] RE: Beging in Strust 2 with Jdeveloper 10.1.3

Have you, in fact

RE: Actualizar Strust 1 a Strust 2

2008-02-11 Thread Alvaro Ernesto Gomez Cerna
Actualmente tengo todos los proyectos sobre Jdeveloper 10.1.3, totalmente
Cliente Servidor, el problema es que para actualizar un dato siempre tengo que
refrescar todo la pantalla, y me gustaria utilizar el Ajax que viene en la
Version 2 de Strust, ya he descargado las librerias  de 2.0.11 de Strust, pero
no se como integrarlas al Jdeveloper aun..

Aunque lo que gustaria es de implementar solo el Ajax a la version actual que
tengo.

-Mensaje original-
De: Alberto A. Flores [mailto:[EMAIL PROTECTED] 
Enviado el: Lunes, 11 de Febrero de 2008 04:15 p.m.
Para: Struts Users Mailing List; [EMAIL PROTECTED]
Asunto: Re: Actualizar Strust 1 a Strust 2

Todo depende de cuanto tiempo (y presupuesto) tengas disponible. Tambien depende
de cuanto has escrito hasta el momento.

On Feb 11, 2008 4:08 PM, Alvaro Ernesto Gomez Cerna 
[EMAIL PROTECTED] wrote:

 Buenas tardes Grupo, actualmente me encuentro desarrollando en Strust 
 bajo JSP, en Jdeveloper, me gustaria actualizarlo a la Version Strust 
 2, pues quiero utilizar Ajax que tiene integrado, alguien me podria 
 ayudar como hacerlo.



 -Mensaje original-
 De: Allen, Daniel [mailto:[EMAIL PROTECTED] Enviado el: Lunes, 
 11 de Febrero de 2008 02:48 p.m.
 Para: Struts Users Mailing List
 Asunto: Struts 2 equivalents?

 Hey.

 I have to convert an application written with Struts and Tiles 1 to 2.
 Could anyone tell me what the Struts2 equivalents for some of the old
 Struts1 tag libraries are?

 I'm looking specifically for
 http://struts.apache.org/tags-html and 
 http://struts.apache.org/tags-logic

 Unfortunately, Google just brings me a lot of pages from Struts 1 
 documentation...
 ~DVA

 --
 This message may contain confidential, proprietary, or legally 
 privileged information. No confidentiality or privilege is waived by 
 any transmission to an unintended recipient. If you are not an 
 intended recipient, please notify the sender and delete this message 
 immediately. Any views expressed in this message are those of the 
 sender, not those of any entity within the KBC Financial Products 
 group of companies (together referred to as KBC FP).

 This message does not create any obligation, contractual or otherwise, 
 on the part of KBC FP. It is not an offer (or solicitation of an 
 offer) of, or a recommendation to buy or sell, any financial product. 
 Any prices or other values included in this message are indicative 
 only, and do not necessarily represent current market prices, prices 
 at which KBC FP would enter into a transaction, or prices at which 
 similar transactions may be carried on KBC FP's own books.
 The
 information contained in this message is provided as is, without 
 representations or warranties, express or implied, of any kind. Past 
 performance is not indicative of future returns.


 -
 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]




--
Alberto
http://www.linkedin.com/in/aflores


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



Update Strust 1.0 to Strust 2 Ajax

2008-02-11 Thread Alvaro Ernesto Gomez Cerna
Updating developing in Jdeveloper 10.1.3 in Windows low Strust 1.0, it's
necesary use Ajax, the listen in Strust 2.0 user Ajax, when implements Ajax en
Strust 1.

One Examples


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



Actualizar Strust 1 a Strust 2

2008-02-11 Thread Alvaro Ernesto Gomez Cerna
Buenas tardes Grupo, actualmente me encuentro desarrollando en Strust bajo JSP,
en Jdeveloper, me gustaria actualizarlo a la Version Strust 2, pues quiero
utilizar Ajax que tiene integrado, alguien me podria ayudar como hacerlo.

 

-Mensaje original-
De: Allen, Daniel [mailto:[EMAIL PROTECTED] 
Enviado el: Lunes, 11 de Febrero de 2008 02:48 p.m.
Para: Struts Users Mailing List
Asunto: Struts 2 equivalents?

Hey.

I have to convert an application written with Struts and Tiles 1 to 2.
Could anyone tell me what the Struts2 equivalents for some of the old
Struts1 tag libraries are? 

I'm looking specifically for
http://struts.apache.org/tags-html and
http://struts.apache.org/tags-logic

Unfortunately, Google just brings me a lot of pages from Struts 1
documentation...
~DVA

--
This message may contain confidential, proprietary, or legally privileged
information. No confidentiality or privilege is waived by any transmission to an
unintended recipient. If you are not an intended recipient, please notify the
sender and delete this message immediately. Any views expressed in this message
are those of the sender, not those of any entity within the KBC Financial
Products group of companies (together referred to as KBC FP). 

This message does not create any obligation, contractual or otherwise, on the
part of KBC FP. It is not an offer (or solicitation of an offer) of, or a
recommendation to buy or sell, any financial product. Any prices or other values
included in this message are indicative only, and do not necessarily represent
current market prices, prices at which KBC FP would enter into a transaction, or
prices at which similar transactions may be carried on KBC FP's own books. The
information contained in this message is provided as is, without
representations or warranties, express or implied, of any kind. Past performance
is not indicative of future returns.


-
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]



Setup Strust 2 in Jdeveloper

2008-02-11 Thread Alvaro Ernesto Gomez Cerna
When Installer Strust 2 in Jdeveloper 10.1.3 only reference u url for view.


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



RE: Actualizar Strust 1 a Strust 2

2008-02-11 Thread Alvaro Ernesto Gomez Cerna
Me parece bien, ya anteriormente habia escuchado sobre DRW y el otro de JSON,
pero me habia inclinado por Strust para no utilizar muchas librerias de uno y
otro fabricante, pero si me gustaria manejar ambas y asi como dices ir cambiando
despacio de Strust 1 hacia Strust 2, pues veo que trae muchas mas bondades.

Que librerias necestaria incluir para mantener ambas dentro del mismo proyecto.
Asi ir haciendo las nuevas formas en Strust 2 

-Mensaje original-
De: Alberto A. Flores [mailto:[EMAIL PROTECTED] 
Enviado el: Lunes, 11 de Febrero de 2008 05:51 p.m.
Para: Struts Users Mailing List
Asunto: Re: Actualizar Strust 1 a Strust 2

Si es AJAX lo unico que necesitas, entonces quiza sea mejor que utilizes algun
paquete open-source que te permita esta posibilidad. De esta maneras puedes
hacer que tu aplicacion(es) puedan mejorar progresivamente. Un paquete que he
utilizado mucho anteriormente es AjaxTags. Tambien esta DWR y tambien he usado
Scriptaculous. Estos son buenos paquetes. Migrar una aplicacion de Struts 1.x a
Struts 2.x no es tan sencillo y tomaria tiempo, sin embargo, puedes tener una
aplicacion que utilize los dos a la vez.

Aunque no se como se haria esto en JDeveloper, si se lo basico (configuration en
WEB-INF, jars, etc). Pienso que deberias considerar cautelosamente tus
prioridades antes de lanzarte a este tipo de cambio. 
Debes de considerar el tiempo que te va a costar, cuanta gente estaria
involucrada, recursos, etc. Personalmente, estoy muy contento con el cambio,
pero puedo entender si es que no se puede. Todo depende de la situacion
especifica.

Si quieres comenzar a tener ambos Struts a la vez, avisame si tienes dudas pues
eso es lo que continue haciendo actualmente.

Alberto

Alvaro Ernesto Gomez Cerna wrote:
 Actualmente tengo todos los proyectos sobre Jdeveloper 10.1.3, 
 totalmente Cliente Servidor, el problema es que para actualizar un 
 dato siempre tengo que refrescar todo la pantalla, y me gustaria 
 utilizar el Ajax que viene en la Version 2 de Strust, ya he descargado 
 las librerias  de 2.0.11 de Strust, pero no se como integrarlas al Jdeveloper
aun..
 
 Aunque lo que gustaria es de implementar solo el Ajax a la version 
 actual que tengo.
 
 -Mensaje original-
 De: Alberto A. Flores [mailto:[EMAIL PROTECTED] Enviado el: Lunes, 
 11 de Febrero de 2008 04:15 p.m.
 Para: Struts Users Mailing List; [EMAIL PROTECTED]
 Asunto: Re: Actualizar Strust 1 a Strust 2
 
 Todo depende de cuanto tiempo (y presupuesto) tengas disponible. 
 Tambien depende de cuanto has escrito hasta el momento.
 
 On Feb 11, 2008 4:08 PM, Alvaro Ernesto Gomez Cerna  
 [EMAIL PROTECTED] wrote:
 
 Buenas tardes Grupo, actualmente me encuentro desarrollando en Strust 
 bajo JSP, en Jdeveloper, me gustaria actualizarlo a la Version Strust 
 2, pues quiero utilizar Ajax que tiene integrado, alguien me podria 
 ayudar como hacerlo.



 -Mensaje original-
 De: Allen, Daniel [mailto:[EMAIL PROTECTED] Enviado el: Lunes,
 11 de Febrero de 2008 02:48 p.m.
 Para: Struts Users Mailing List
 Asunto: Struts 2 equivalents?

 Hey.

 I have to convert an application written with Struts and Tiles 1 to 2.
 Could anyone tell me what the Struts2 equivalents for some of the old
 Struts1 tag libraries are?

 I'm looking specifically for
 http://struts.apache.org/tags-html and 
 http://struts.apache.org/tags-logic

 Unfortunately, Google just brings me a lot of pages from Struts 1 
 documentation...
 ~DVA

 --
 This message may contain confidential, proprietary, or legally 
 privileged information. No confidentiality or privilege is waived by 
 any transmission to an unintended recipient. If you are not an 
 intended recipient, please notify the sender and delete this message 
 immediately. Any views expressed in this message are those of the 
 sender, not those of any entity within the KBC Financial Products 
 group of companies (together referred to as KBC FP).

 This message does not create any obligation, contractual or 
 otherwise, on the part of KBC FP. It is not an offer (or solicitation 
 of an
 offer) of, or a recommendation to buy or sell, any financial product. 
 Any prices or other values included in this message are indicative 
 only, and do not necessarily represent current market prices, prices 
 at which KBC FP would enter into a transaction, or prices at which 
 similar transactions may be carried on KBC FP's own books.
 The
 information contained in this message is provided as is, without 
 representations or warranties, express or implied, of any kind. Past 
 performance is not indicative of future returns.


 -
 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]


 
 
 --
 Alberto
 http://www.linkedin.com/in/aflores

RE: Actualizar Strust 1 a Strust 2

2008-02-11 Thread Alvaro Ernesto Gomez Cerna
Empezare por agregar los jars que me especificas asi ver de que coexistan ambos,


Bueno leo un poco de ingles pero prefiero mejor el español, pero te aviso como
voy en los avances asi que me ayudes a solucionar algunos travas que pueda el
tener.


-Mensaje original-
De: Alberto A. Flores [mailto:[EMAIL PROTECTED] 
Enviado el: Lunes, 11 de Febrero de 2008 06:47 p.m.
Para: Struts Users Mailing List
Asunto: Re: Actualizar Strust 1 a Strust 2

Para comenzar, necesitas como minimo 4 jars:

* struts-core-xxx.jar
* xwork-xxx.jar
* ognl-xxx.jar
* freemarker-xxx.jar

Si utilizas maven, hacer este cambio seria mas facil. Sino, Ant tambien te puede
ayudar, pero dependiendo como es que mantienes tus dependencias, seria un poco
mas complicado. Ten en cuenta que al final si se puede mantener ambos Struts
juntos.

Todos estos jars tienen que estar en WEB-INF/lib. Una vez ahi, necesitas anadir
un filtro.  Struts 2 (a diferencia de Struts 1) utiliza Tecnologia de Filtros
(Struts 1 es basado en Servlets). Esto es una ayuda fenomenal pues ayuda mucho
al problema de Thread Safety (perdon, no se como traducir esto al ingles). Si
lees ingles, los siguientes articulos me ayudaron mucho a comenzar a tener ambos
Struts en el mismo
proyecto:

http://www.infoq.com/articles/converting-struts-2-part1
http://www.infoq.com/articles/migrating-struts-2-part2
http://www.infoq.com/articles/migrating-struts-2-part3

Asi mismo, si tienes preguntas acerca de Tiles (si es que lo usas) estos
tambien pueden usarse juntos. Tiles en Struts 1 es diferent a Struts 2, asi que
esto tambien debes de considerar al hacer el cambio.

Espero esto te ayude. Buena suerte!


Alvaro Ernesto Gomez Cerna wrote:
 Me parece bien, ya anteriormente habia escuchado sobre DRW y el otro 
 de JSON, pero me habia inclinado por Strust para no utilizar muchas 
 librerias de uno y otro fabricante, pero si me gustaria manejar ambas 
 y asi como dices ir cambiando despacio de Strust 1 hacia Strust 2, pues veo
que trae muchas mas bondades.
 
 Que librerias necestaria incluir para mantener ambas dentro del mismo
proyecto.
 Asi ir haciendo las nuevas formas en Strust 2
 
 -Mensaje original-
 De: Alberto A. Flores [mailto:[EMAIL PROTECTED] Enviado el: Lunes, 
 11 de Febrero de 2008 05:51 p.m.
 Para: Struts Users Mailing List
 Asunto: Re: Actualizar Strust 1 a Strust 2
 
 Si es AJAX lo unico que necesitas, entonces quiza sea mejor que 
 utilizes algun paquete open-source que te permita esta posibilidad. 
 De esta maneras puedes hacer que tu aplicacion(es) puedan mejorar 
 progresivamente. Un paquete que he utilizado mucho anteriormente es 
 AjaxTags. Tambien esta DWR y tambien he usado Scriptaculous. Estos son 
 buenos paquetes. Migrar una aplicacion de Struts 1.x a Struts 2.x no 
 es tan sencillo y tomaria tiempo, sin embargo, puedes tener una aplicacion que
utilize los dos a la vez.
 
 Aunque no se como se haria esto en JDeveloper, si se lo basico 
 (configuration en WEB-INF, jars, etc). Pienso que deberias considerar 
 cautelosamente tus prioridades antes de lanzarte a este tipo de cambio.
 Debes de considerar el tiempo que te va a costar, cuanta gente estaria 
 involucrada, recursos, etc. Personalmente, estoy muy contento con el 
 cambio, pero puedo entender si es que no se puede. Todo depende de la 
 situacion especifica.
 
 Si quieres comenzar a tener ambos Struts a la vez, avisame si tienes 
 dudas pues eso es lo que continue haciendo actualmente.
 
 Alberto
 
 Alvaro Ernesto Gomez Cerna wrote:
 Actualmente tengo todos los proyectos sobre Jdeveloper 10.1.3, 
 totalmente Cliente Servidor, el problema es que para actualizar un 
 dato siempre tengo que refrescar todo la pantalla, y me gustaria 
 utilizar el Ajax que viene en la Version 2 de Strust, ya he 
 descargado las librerias  de 2.0.11 de Strust, pero no se como 
 integrarlas al Jdeveloper
 aun..
 Aunque lo que gustaria es de implementar solo el Ajax a la version 
 actual que tengo.

 -Mensaje original-
 De: Alberto A. Flores [mailto:[EMAIL PROTECTED] Enviado el: Lunes,
 11 de Febrero de 2008 04:15 p.m.
 Para: Struts Users Mailing List; [EMAIL PROTECTED]
 Asunto: Re: Actualizar Strust 1 a Strust 2

 Todo depende de cuanto tiempo (y presupuesto) tengas disponible. 
 Tambien depende de cuanto has escrito hasta el momento.

 On Feb 11, 2008 4:08 PM, Alvaro Ernesto Gomez Cerna  
 [EMAIL PROTECTED] wrote:

 Buenas tardes Grupo, actualmente me encuentro desarrollando en 
 Strust bajo JSP, en Jdeveloper, me gustaria actualizarlo a la 
 Version Strust 2, pues quiero utilizar Ajax que tiene integrado, 
 alguien me podria ayudar como hacerlo.



 -Mensaje original-
 De: Allen, Daniel [mailto:[EMAIL PROTECTED] Enviado el: Lunes,
 11 de Febrero de 2008 02:48 p.m.
 Para: Struts Users Mailing List
 Asunto: Struts 2 equivalents?

 Hey.

 I have to convert an application written with Struts and Tiles 1 to 2.
 Could anyone tell me what the Struts2 equivalents for some of the 
 old
 Struts1 tag libraries