Garandi Garandi

Ranch Hand
+ Follow
since Jan 07, 2003
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Garandi Garandi

I am reading data from database and display it with a checkbox. So number of checkboxes are dynamic, I could have 1 to n check boxes.
I want the user to check all of the boxes before submitting the form.
Question: In validation how to validate that all boxes are checked, since number of boxes are dynamic?

My JSP page

Thank you in advance
Garandi
19 years ago
I had a <br /> and that was causing problem, now it works.
Thank you
Garandi
19 years ago
Hi Merrill,
Thank you very much for your reply, it was very useful. I change to


I see the lable for the checkboxes but not the checkbox itself, I try to use multibox I had the same problem. although I have the following line on top of my page <%@ taglib uri="/tags/struts-html-el" prefix="html" %>
In the log I get the following error
Could not complete parsing, unmatched tags: submit

Thank you
Garandi
[ May 05, 2005: Message edited by: Garandi Garandi ]
19 years ago
Hi,
I have the following line in my jsp page.


which renders n checkboxes,more over I use DynaActionForm.
Question: How do I know which checkbox was clicked and which one wasn't using DynaActionForm?
Thank you in advance
Garandi
19 years ago
I am new to jsp and JSTL.
I have a list of objects that I want to retrieve in a jsp page using jstl.
How to put list of objects into request object?
How to retrieve the request object in jsp page using jstl?
How to retrieve the list of objects from request object and iterate through it in a jsp page using jstl?
Thank you
Garandi
19 years ago
JSP
Thank you very much.
Garandi
19 years ago
Thank you for your reply, what is "<var-name>datePatternStrict</var-name>",and how am I going to use it.
Thank you in advance
Garandi
19 years ago
I am trying to validate date, I have the following in validator-rules.xml,
but date validation does not work, although I have struts.jar in classPath and it has FieldChecks.class in it.
Thank you
Garandi

[ March 22, 2005: Message edited by: Garandi Garandi ]
19 years ago
Hi,
I am new to JSP, I would like to create a Simple JSP page with 3 textfield.

Example:

First Name: textField
Last Name: textField
Date : textField

and these should be created in the center of the page.
Thank you
Garandi
[ March 17, 2005: Message edited by: Bear Bibeault ]
Hi,
I have a zip/jar file which has images. The zip file is in the same dir as my java class.
Question: How to open the zip/jar files to display the image file inside the zip/jar file.

The following line of code did not work.

I get an IO Exception.

Thank you
Garandi
19 years ago
How to load an image file?
Thanks
Garandi
19 years ago
Include the jar file which have DB2 driver in your Lib dir, which is under Application.
Thank you
Garandi
20 years ago
I am able to start tomcat from bin dir, but with the following exception:


- EMERGENCY - Recovering status information from 'work/content/main-11018384539
92-3/transaction.log' failed! Could not find file
10 Dec 2004 12:51:40 - org.apache.slide.store.txfile.rm.impl.FileResourceManager
- EMERGENCY - java.io.FileNotFoundException: work\content\main-1101838453992-3\
transaction.log (The system cannot find the file specified)
java.io.FileNotFoundException: work\content\main-1101838453992-3\transaction.log
(The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at org.apache.slide.store.txfile.rm.impl.FileResourceManager$Transaction
Context.recoverState(FileResourceManager.java:1505)
at org.apache.slide.store.txfile.rm.impl.FileResourceManager.recoverCont
exts(FileResourceManager.java:1228)
at org.apache.slide.store.txfile.rm.impl.FileResourceManager.recover(Fil
eResourceManager.java:445)
at org.apache.slide.store.txfile.rm.impl.FileResourceManager.start(FileR
esourceManager.java:398)
at org.apache.slide.store.txfile.AbstractTxFileStoreService.connect(Abst
ractTxFileStoreService.java:129)
at org.apache.slide.common.AbstractServiceBase.connect(AbstractServiceBa
se.java:121)
at org.apache.slide.store.AbstractStore.connect(AbstractStore.java:202)
at org.apache.slide.common.AbstractServiceBase.connectIfNeeded(AbstractS
erviceBase.java:193)
at org.apache.slide.common.Namespace.connectService(Namespace.java:493)
at org.apache.slide.common.Namespace.retrieveStore(Namespace.java:592)
at org.apache.slide.common.Uri.parseUri(Uri.java:351)
at org.apache.slide.common.Uri.<init>(Uri.java:65)
at org.apache.slide.common.Namespace.getUri(Namespace.java:640)
at org.apache.slide.common.Namespace.getUri(Namespace.java:620)
at org.apache.slide.common.Namespace.getUri(Namespace.java:608)
at org.apache.slide.security.SecurityImpl.loadActionsCache(SecurityImpl.
java:1046)
at org.apache.slide.security.SecurityImpl.init(SecurityImpl.java:95)
at org.apache.slide.security.ACLSecurityImpl.init(ACLSecurityImpl.java:7
3)
at org.apache.slide.security.SecurityImpl.<init>(SecurityImpl.java:86)
at org.apache.slide.security.ACLSecurityImpl.<init>(ACLSecurityImpl.java
:63)
at org.apache.slide.common.NamespaceAccessTokenImpl.<init>(NamespaceAcce
ssTokenImpl.java:100)
at org.apache.slide.common.Namespace.initializeServices(Namespace.java:4
57)
at org.apache.slide.common.Namespace.loadDefinition(Namespace.java:722)
at org.apache.slide.common.Domain.initNamespace(Domain.java:809)
at org.apache.slide.common.Domain.init(Domain.java:433)
at org.apache.slide.common.Domain.selfInit(Domain.java:747)
at org.apache.slide.common.Domain.accessNamespace(Domain.java:235)
at wrappers.catalina.SlideRealm.start(SlideRealm.java:178)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1118)

at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:521
)
at org.apache.catalina.core.StandardService.start(StandardService.java:5
19)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:234
5)
at org.apache.catalina.startup.Catalina.start(Catalina.java:594)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:297)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:398)
10 Dec 2004 12:51:40 - org.apache.slide.store.txfile.rm.impl.FileResourceManager
- WARNING - Recovering of main-1101838453992-3 failed
10 Dec 2004 12:51:40 - org.apache.slide.store.txfile.rm.impl.FileResourceManager
- INFO - Started RM
10 Dec 2004 12:51:40 - org.apache.slide.security.SecurityImpl - INFO - Action ag
gregations loaded successfully
10 Dec 2004 12:51:40 - org.apache.slide.common.Namespace - INFO - Loading namesp
ace slide base data
10 Dec 2004 12:51:41 - org.apache.slide.common.Namespace - INFO - Init namespace
slide configuration
10 Dec 2004 12:51:41 - org.apache.slide.security.SecurityImpl - INFO - Action ag
gregations loaded successfully
10 Dec 2004 12:51:41 - org.apache.slide.common.Namespace - INFO - Import data in
to namespace slide
10 Dec 2004 12:51:41 - org.apache.slide.common.XMLUnmarshaller - INFO - Loading



Thank you in advace
Garandi
[ December 10, 2004: Message edited by: Garandi Garandi ]
20 years ago
Hi,
I am trying to start tomcat from eclipse, but I get the following error.

INFO: Starting Servlet Engine: Apache Tomcat/5.0.19
09 Dec 2004 18:13:15 - org.apache.slide.common.Domain - INFO - Auto-Initializing Domain
09 Dec 2004 18:13:15 - org.apache.slide.common.Domain - INFO - Domain configuration : {org.apache.slide.lock=true, org.apache.slide.versioncontrol=true, org.apache.slide.debug=false, org.apache.slide.search=true, org.apache.slide.security=true, org.apache.slide.urlEncoding=UTF-8, org.apache.slide.domain=../slide/Domain.xml}
09 Dec 2004 18:13:15 - org.apache.slide.common.Domain - ERROR - Domain initialization error : ..\slide\Domain.xml (The system cannot find the path specified)
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:297)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:398)
Caused by: org.apache.slide.common.DomainInitializationFailedError: Domain initialization error : ..\slide\Domain.xml (The system cannot find the path specified)
at org.apache.slide.common.Domain.selfInit(Domain.java:752)
at org.apache.slide.common.Domain.accessNamespace(Domain.java:235)
at wrappers.catalina.SlideRealm.start(SlideRealm.java:178)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1118)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:521)
at org.apache.catalina.core.StandardService.start(StandardService.java:519)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2345)
at org.apache.catalina.startup.Catalina.start(Catalina.java:594)
... 6 more



Thank you in advance
Garandi
20 years ago
when I run a jsp file I get the following error.

com.mycom.app.AppException: No Session is available.
com.mycom.app.SpSession.getCurrentSession(SpSession.java:106)

line 106 is the second if in the code.

Question: How to fix the problem.
Thank you in advance
Garandi

20 years ago
JSP