i am doing some Iris Biometric study with biometric service providers. My requirement is to convert some kind1 iso images to raw images. Also i got some .NET application for doing it, but couldn't find java code for doing it.
So i want JPEG itself, not png.
I am working on eclipse core java projects. I tried to export the project as jar but it is not reading the properties file. ClassNotFound exceptions are generating. My problem is it project contains one folder conf and one file conf.properties. I am reading this file from one of class file. In eclipse i added the conf directory to build path. But jar file fails.
As every body knows Exception is a super class of several checked and unchecked exceptions.But how can conclude i should not catch exceptions if it is not generating in the code block? Obviously unchecked need not want any discuss , because it crystal clear. But in case of checked exceptions some of them allow us to include it even it not generating and some of them in other way. How to make a conclusion?
I have some doubt in exception handling.
As we know Exception,FileNotFoundException and IOException are all checked exceptions. right?
But in the following code first exception catching not display any compiler error but other two. why?
1.
2.
3.
I imported java.io package in the source. But i am confused by the behaviour that no compiler error for catching Exception class even if it is not generating any such exception in code block.
Any comments??
How to iterate two ArrayList simultaneously in struts 1.3. Suppose i have an ActionForm carrying two ArrayList<String> list1 and list2. I can easily iterate through <logic:iterate> in a single list. But how can i do it simultaneously in two lists?
I have an issue with validator for password field.I am using struts 1.3 and enabled validator in struts-config.xml file.Below giving the files which i used.
1.ExampleForm.jsp
2.staticjavascript.jsp
3.Struts-config.xml
4.validation.xml
5.ExampleFormAction.java
6.ExampleForm.java
Issue: My issue is with password field.Whenever i validate password field for mask value, even though the error is detecting it is not showing just like required validation. It is rentering in the ExampleForm.jsp through the <html:errors/>. I changed the password field to <html:text property="password"/> it worked as i expected. Any one have any idea?
Thanks.
In fact i need a combobox itself,not a drop down list. I am creating it using one text field and one select field separately, use javascript to take action to fill text field while selecting select.
I resolved it using LazyDynaBean.i think LazyDynaBean is the only solution for crating ineractive formm in struts 1.3. Also i used pure input elements from javascript,because sturuts based is not possible.Any way with javascripts struts elements are not flexible.
I fedup with struts in case of creating interactive forms. I think it has lot problems to work with it. It is not possible to add dynamically one more element and taking the value from java script.
here boardname is an indexed property of registerForm(ActionForm).
But i am getting boarname[1] not defined.
I understood struts 1.3 is not suited for working javascript.
Its interactive form always should initialize in Action, then what is meaning of dynamic form..?