How to create dynamic list of checkboxes

2002-06-12 Thread Rakesh N R

Hi,

  I am a newcomer to Struts. I have a requirement where in which i have
to create a dynamic list of checkboxes(the number of checkboxes will
vary at each request). From my knowledge of Struts i was able to
comprehend that i would have to create a FormBean for the form i have
with properties corresponding to all the checkboxes. Since i dont know
beforehand how many checkboxes will be there how can i develop the
FormBean which caters to such dynamic number of checkboxes. Can i have a
ArrayList the way select tag is used.

Thanks in Advance
Rakesh



**Disclaimer

Information contained in this E-MAIL being proprietary to Wipro Limited is 
'privileged' and 'confidential' and intended for use only by the individual
 or entity to which it is addressed. You are notified that any use, copying 
or dissemination of the information contained in the E-MAIL in any manner 
whatsoever is strictly prohibited.

***



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 


[Fwd: struts not running with weblogic SP6]

2002-06-10 Thread Rakesh N R

I had missed out the versionThe version of Weblogic is 5.1



--- Begin Message ---

Hi,

  I am using Weblogic with SP6, while running the strutsexample i am
getting an exception the stack trace I have pasted in the bottom. After
doing some resarch i was able to find out that this is caused because
the Resource Bundle is not being read. Has any one used Struts with
Weblogic SP6? How can this problem be resolved.

***
javax.servlet.ServletException: runtime failure in custom tag 'message'
at jsp_servlet._index._jspService(_index.java, Compiled Code)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet
(ServletStubImpl.java:123)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet
(ServletStubImpl.java:141)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet
(ServletContextImpl.java:761)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet
(ServletContextImpl.java:708)
at weblogic.servlet.internal.ServletContextManager.invokeServlet

(ServletContextManager.java:252)
at weblogic.socket.MuxableSocketHTTP.invokeServlet
(MuxableSocketHTTP.java:346)
at weblogic.socket.MuxableSocketHTTP.execute
(MuxableSocketHTTP.java:246)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java,
Compiled Code)
*
Regards and Thanks
Rakesh



--- End Message ---

**Disclaimer

Information contained in this E-MAIL being proprietary to Wipro Limited is 
'privileged' and 'confidential' and intended for use only by the individual
 or entity to which it is addressed. You are notified that any use, copying 
or dissemination of the information contained in the E-MAIL in any manner 
whatsoever is strictly prohibited.

***



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 


struts not running with weblogic SP6

2002-06-10 Thread Rakesh N R

Hi,

  I am using Weblogic with SP6, while running the strutsexample i am
getting an exception the stack trace I have pasted in the bottom. After
doing some resarch i was able to find out that this is caused because
the Resource Bundle is not being read. Has any one used Struts with
Weblogic SP6? How can this problem be resolved.

***
javax.servlet.ServletException: runtime failure in custom tag 'message'
at jsp_servlet._index._jspService(_index.java, Compiled Code)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet
(ServletStubImpl.java:123)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet
(ServletStubImpl.java:141)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet
(ServletContextImpl.java:761)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet
(ServletContextImpl.java:708)
at weblogic.servlet.internal.ServletContextManager.invokeServlet

(ServletContextManager.java:252)
at weblogic.socket.MuxableSocketHTTP.invokeServlet
(MuxableSocketHTTP.java:346)
at weblogic.socket.MuxableSocketHTTP.execute
(MuxableSocketHTTP.java:246)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java,
Compiled Code)
*
Regards and Thanks
Rakesh



**Disclaimer

Information contained in this E-MAIL being proprietary to Wipro Limited is 
'privileged' and 'confidential' and intended for use only by the individual
 or entity to which it is addressed. You are notified that any use, copying 
or dissemination of the information contained in the E-MAIL in any manner 
whatsoever is strictly prohibited.

***



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 


CactusStrutsTestCase problem

2002-04-17 Thread Rakesh N R

Hi,

 I was trying to run the example application of CactusStrutsTestCase but
i get an exception. What could be the reason for the same.

D:\cactus\strutstest\examples>java junit.textui.TestRunner
servletunit.struts.ex
amples.cactus.TestCactusLoginAction
.E.E
Time: 0.33
There were 2 errors:
1)
testSuccessfulLogin(servletunit.struts.examples.cactus.TestCactusLoginAction)

javax.servlet.ServletException: Error instanciating class
[servletunit.struts.ex
amples.cactus.TestCactusLoginAction(testSuccessfulLogin)]
at
org.apache.cactus.server.AbstractTestCaller.getTestClassInstance(Abst
ractTestCaller.java:311)
at
org.apache.cactus.server.AbstractTestCaller.doTest(AbstractTestCaller
.java:130)
at
org.apache.cactus.server.AbstractTestController.handleRequest(Abstrac
tTestController.java:122)
at
org.apache.cactus.server.ServletTestRedirector.doPost(ServletTestRedi
rector.java:134)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:105)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
textImpl.java:742)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
textImpl.java:686)
at
weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
ContextManager.java:247)
at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
a:361)
at
weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)

at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
2)
testFailedLogin(servletunit.struts.examples.cactus.TestCactusLoginAction)

javax.servlet.ServletException: Error instanciating class
[servletunit.struts.ex
amples.cactus.TestCactusLoginAction(testFailedLogin)]
at
org.apache.cactus.server.AbstractTestCaller.getTestClassInstance(Abst
ractTestCaller.java:311)
at
org.apache.cactus.server.AbstractTestCaller.doTest(AbstractTestCaller
.java:130)
at
org.apache.cactus.server.AbstractTestController.handleRequest(Abstrac
tTestController.java:122)
at
org.apache.cactus.server.ServletTestRedirector.doPost(ServletTestRedi
rector.java:134)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:105)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
textImpl.java:742)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
textImpl.java:686)
at
weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
ContextManager.java:247)
at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
a:361)
at
weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)

at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

FAILURES!!!
Tests run: 2,  Failures: 0,  Errors: 2

Rakesh



**Disclaimer
  


Information contained in this E-MAIL being proprietary to Wipro Limited
is 'privileged' and 'confidential' and intended for use only by the
individual or entity to which it is addressed. You are notified that any
use, copying or dissemination of the information contained in the E-MAIL
in any manner whatsoever is strictly prohibited.



 



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 


struts and wls5.1sp9 problem

2002-04-16 Thread Rakesh N R

Hi,

 I am using WLServer 5.1 sp9. While running the Struts sample example I
had got an exception

"javax.servlet.ServletException: runtime failure in custom tag 'html'"

While searching the net i found out that the site had suggested a
workaround
by setting CLASSPATH to WEB-INF/classes in startWeblogic.cmd (I am using

exploded format of war file). I did the same and still the problem of
ApplicationResource.properties not found persists. I also used the patch
for service pack 8 but it doesnt work with sp9. I would request you to
suggest a way to solve the problem. Thanks in Advance.

Rakesh





**Disclaimer
  


Information contained in this E-MAIL being proprietary to Wipro Limited
is 'privileged' and 'confidential' and intended for use only by the
individual or entity to which it is addressed. You are notified that any
use, copying or dissemination of the information contained in the E-MAIL
in any manner whatsoever is strictly prohibited.



 



--
To unsubscribe, e-mail:   
For additional commands, e-mail: