You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Erez Efrati <er...@netmedia.net.il> on 2003/10/15 19:55:13 UTC

Struts 1.2

As I really wish to put my hands on the validwhen validator I understand
that I need to have Struts 1.2 from the nightly builds.

Is there some sort of beta for 1.2? Is anyone working with it right now?
Do I need to download any other packages like commons-validator or is it
all bundled in Struts?

Also, does validwhen has a client side javascript as well?


Thanks in advance,


Erez



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: struts 1.1 and multiple applications

Posted by "Craig R. McClanahan" <cr...@apache.org>.
Scott Tiger wrote:

>We have one struts application working on a weblogic server 5.1 service pack 13. 
> 
>I have put all the struts and apache libraries(struts.jar and commo**.jar, xerces.jar etc ) in the server class path. They are  not in the web-inf/lib directory.
>

This is not a supported configuration.

  http://jakarta.apache.org/struts/userGuide/configuration.html#config_add

Craig



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


struts 1.1 and multiple applications

Posted by Scott Tiger <st...@yahoo.com>.
We have one struts application working on a weblogic server 5.1 service pack 13. 
 
I have put all the struts and apache libraries(struts.jar and commo**.jar, xerces.jar etc ) in the server class path. They are  not in the web-inf/lib directory.
 
I added another application which is similar to the first one.
 
Since the two applications are similar they have similar struts config file. The form bean in the other application has one more extra property. This is a DynaValidatorForm.
 
When I start my application the config files get loaded for both the applications. The new application gets loaded after the first application.
 
The first one runs fine. But I get an error for the second one.
 
If I remove the extra bean property both the applications work.
 
Is it because the struts config files are not getting initialized for the second application.
 
I have tried deploying the applications so that the struts libraries are in the WEB-INF/lib directory. But I keep getting class not found errors.
 
 
Wed Oct 15 12:27:38 EDT 2003:<I> <WebAppServletContext-SecondApp> /: init
Wed Oct 15 12:27:38 EDT 2003:<E> <WebAppServletContext-SecondApp> Root caus
e of ServletException
javax.servlet.jsp.JspException: Exception creating bean of class org.apache.stru
ts.validator.DynaValidatorForm: {1}
        at org.apache.struts.taglib.html.FormTag.initFormBean(FormTag.java:563)
        at org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:520)
        at jsp_servlet.__login._jspService(__login.java:194)
        at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
        at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:120)
        at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:138)
        at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispat
cherImpl.java:169)
        at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.
java:1069)
        at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestP
rocessor.java:274)
        at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(
TilesRequestProcessor.java:254)
        at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(Ti
lesRequestProcessor.java:309)
        at com.tsys.common.struts.GeneralRequestProcessor.process(GeneralRequest
Processor.java:196)
        at com.tsys.common.struts.GeneralActionServlet.process(GeneralActionServ
let.java:273)
        at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
        at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:120)
        at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispat
cherImpl.java:169)
        at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.
java:1069)
        at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestP
rocessor.java:274)
        at org.apache.struts.action.RequestProcessor.processForwardConfig(Reques
tProcessor.java:455)
        at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(Ti
lesRequestProcessor.java:320)
        at com.tsys.common.struts.GeneralRequestProcessor.process(GeneralRequest
Processor.java:196)
        at com.tsys.common.struts.GeneralActionServlet.process(GeneralActionServ
let.java:273)
        at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
        at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:120)
        at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
textImpl.java:946)
        at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
textImpl.java:910)
        at weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
ContextManager.java:277)
        at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
a:403)
        at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:285)
        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:130)

 
-Scott



---------------------------------
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search

Re: Struts 1.2

Posted by Indrajit Raychaudhuri <ir...@indrajit.com>.
----- Original Message ----- 
From: "Erez Efrati" <er...@netmedia.net.il>
To: "'Struts Users Mailing List'" <st...@jakarta.apache.org>
Sent: Wednesday, 15 October, 2003 23:25
Subject: Struts 1.2

<snip>
...
> Is there some sort of beta for 1.2? Is anyone working with it right now?

http://cvs.apache.org/builds/jakarta-struts/nightly/

<snip>
...
> 
> Erez
> 
- Indrajit

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org