majid nakit

Ranch Hand
+ Follow
since Jun 26, 2001
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by majid nakit

Hi,
I would like to generate a java code for this json :

7 years ago
Hi,

I am developping some html code using html5 data attributes, everything working fine locally in my machine, but when I deploy it in Apache server in another machine in the domain, it does not work:

For example my code has :

Code:

<tr id='24'
>


Apache strip data attributes and the view source code become :

Code:
<tr id='24' >


I don't know what data attributes were striipped from my code .

we are using Apache HTTPD v2.4.3

I talked to the employ responsible of Apache configuration, he told me Apache never support html5, maybe it will in the next version .

Please your help is appreciated.
7 years ago
I am trying to keep only strings that are in one list but not the other :



Here my code :



but it looks like the list allAgenciesList still the same after removeAll.

Thanks.
7 years ago
Hi,

I have a table in a database Table1(ID, name, status), I want when the page load, a form appear with a dropdown ,a text field, and a submit button.
the dropdown got populated from server side with data (<option value="ID">name</option>) .
want when the user select a name from the dropdown, the name will be copied in the text field, after changing the name and pressing the submit button, the table in the DB will be submitted, and the drop down will show new data.

the server side is easy (java servlet, rest or a struts action), it will be a URL in ajax in the front end.

please help me writing the js or jquery to achieve this.
Thanks
Hi,

I have
List<class1> list1 = null :
// class1 has properties ( String name)
List list2 = null

list1 = object1.method(...);
for(class1 person : list1) {
list2.add(person.getName()); <------ jump to PoolThread
}

is anything wrong in the above code ?
Thanks, your help is appreciated.
8 years ago
Hi,

I have used struts1 with datatable by sending an array from action to jsp the iterate through it, but now the action send a json string, my jsp is like this :




The action :




But when I run the code I got :

2013-12-16 13:33:54,668 [http-apr-8080-exec-18] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/Monitoring].[action] - Servlet.service() for servlet [action] in context with path [/Monitoring] threw exception [javax.servlet.ServletException: javax.servlet.jsp.JspException: ServletException in '/jsp/mqFteAgentStatusDetailPage.jsp': javax.servlet.jsp.JspException: Cannot find bean: "mqFTEAgentStatusDetail " in any scope] with root cause
javax.servlet.jsp.JspException: Cannot find bean: "mqFTEAgentStatusDetail " in any scope


Thanks, your help is appreciated.
8 years ago
Hi,
I am trying to learn spring security, I found a tutorial, when I import it in Eclipse I got an error in this import line :
import javax.annotation.security.RolesAllowed;

the error says :
The import javax.annotation.security cannot be resolved

Please your help is appreciated.
Thanks
9 years ago
Hi,

I have the same problem, even changing it to :
ctx.load("classpath:META-INF/spring/app-context-annotation.xml");

did not work, I always have :

Exception in thread "main" org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [app-context-xml.xml]; nested exception is java.io.FileNotFoundException: class path resource [app-context-annotation.xml] cannot be opened because it does not exist

Please your help is appreciated.
thanks
majid
10 years ago
Hi,

I have a class :



I would like to create a comparator :by Gender (Female before Male), then Last Name ascending



Please your help is appreciated.
thanks
10 years ago
Hi,

Let say I have this project called : webcbs
in this folder : C:\Users\rejith\workspace

If I go to : C:\Users\rejith\workspace (in the command line) and do :
mvn archetype:generate
giving -DartifactId=webcbs <--- the name of my existing project
....

The pom was created :



I got this :

C:\Users\rejith\workspace\webcbs>mvn package
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building webcbs 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resour
ces-plugin/2.4.3/maven-resources-plugin-2.4.3.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 22.453s
[INFO] Finished at: Thu Nov 10 11:51:57 EST 2011
[INFO] Final Memory: 1M/3M
[INFO] ------------------------------------------------------------------------
[ERROR] Plugin org.apache.maven.plugins:maven-resources-plugin:2.4.3 or one of i
ts dependencies could not be resolved: Failed to read artifact descriptor for or
g.apache.maven.plugins:maven-resources-plugin:jar:2.4.3: Could not transfer arti
fact org.apache.maven.plugins:maven-resources-plugin:pom:2.4.3 from/to central (
http://repo1.maven.org/maven2): Error transferring file: Connection timed out: c
onnect -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResoluti
onException
C:\Users\rejith\workspace\webcbs>


Your help is appreciated.
thanks

10 years ago
Hi,

I am learning axis2, I found a tutorial, it said download , unzip and run :

I unziped the book.zip,

and run :

$ mvn install war:war

But I got this error :


C:\maj\practices\axis2\How2EmbedAxis2InWeb\book>mvn install war:war
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for
org.apache.axis2.examples:axis2-book:jar:1.1
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-war-
plugin is missing. @ line 117, column 21
[WARNING] 'repositories.repository.layout' for ibiblio uses the unsupported valu
e 'legacy', artifact resolution might fail. @ line 153, column 21
[WARNING] 'repositories.repository.layout' for apache uses the unsupported value
'legacy', artifact resolution might fail. @ line 159, column 21
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten t
he stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support buildin
g such malformed projects.
[WARNING]
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-war-pl
ugin/maven-metadata.xml
Downloaded: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-war-plu
gin/maven-metadata.xml (649 B at 0.6 KB/sec)
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-war-pl
ugin/2.1.1/maven-war-plugin-2.1.1.pom
Downloaded: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-war-plu
gin/2.1.1/maven-war-plugin-2.1.1.pom (7 KB at 19.6 KB/sec)
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugin
s/18/maven-plugins-18.pom
Downloaded: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugins
/18/maven-plugins-18.pom (13 KB at 30.1 KB/sec)
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-parent/16/mave
n-parent-16.pom
Downloaded: http://repo1.maven.org/maven2/org/apache/maven/maven-parent/16/maven
-parent-16.pom (23 KB at 58.1 KB/sec)
Downloading: http://repo1.maven.org/maven2/org/apache/apache/7/apache-7.pom
Downloaded: http://repo1.maven.org/maven2/org/apache/apache/7/apache-7.pom (15 K
B at 33.4 KB/sec)
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-war-pl
ugin/2.1.1/maven-war-plugin-2.1.1.jar
Downloaded: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-war-plu
gin/2.1.1/maven-war-plugin-2.1.1.jar (76 KB at 151.3 KB/sec)
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Book Example 1.1
[INFO] ------------------------------------------------------------------------
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resour
ces-plugin/2.4.3/maven-resources-plugin-2.4.3.pom
Downloaded: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resourc
es-plugin/2.4.3/maven-resources-plugin-2.4.3.pom (6 KB at 14.3 KB/sec)
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resour
ces-plugin/2.4.3/maven-resources-plugin-2.4.3.jar
Downloaded: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resourc
es-plugin/2.4.3/maven-resources-plugin-2.4.3.jar (24 KB at 61.0 KB/sec)
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compil
er-plugin/2.3.2/maven-compiler-plugin-2.3.2.pom
Downloaded: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compile
r-plugin/2.3.2/maven-compiler-plugin-2.3.2.pom (8 KB at 12.7 KB/sec)
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compil
er-plugin/2.3.2/maven-compiler-plugin-2.3.2.jar
Downloaded: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compile
r-plugin/2.3.2/maven-compiler-plugin-2.3.2.jar (29 KB at 83.1 KB/sec)
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefi
re-plugin/2.7.2/maven-surefire-plugin-2.7.2.pom
Downloaded: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefir
e-plugin/2.7.2/maven-surefire-plugin-2.7.2.pom (10 KB at 20.6 KB/sec)
Downloading: http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire/2.
7.2/surefire-2.7.2.pom
Downloaded: http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire/2.7
.2/surefire-2.7.2.pom (11 KB at 24.2 KB/sec)
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-parent/18/mave
n-parent-18.pom
Downloaded: http://repo1.maven.org/maven2/org/apache/maven/maven-parent/18/maven
-parent-18.pom (24 KB at 53.8 KB/sec)
Downloading: http://repo1.maven.org/maven2/org/apache/apache/8/apache-8.pom
Downloaded: http://repo1.maven.org/maven2/org/apache/apache/8/apache-8.pom (14 K
B at 32.5 KB/sec)
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefi
re-plugin/2.7.2/maven-surefire-plugin-2.7.2.jar
Downloaded: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefir
e-plugin/2.7.2/maven-surefire-plugin-2.7.2.jar (29 KB at 62.6 KB/sec)
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-jar-pl
ugin/2.3.1/maven-jar-plugin-2.3.1.pom
Downloaded: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-jar-plu
gin/2.3.1/maven-jar-plugin-2.3.1.pom (6 KB at 13.7 KB/sec)
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-jar-pl
ugin/2.3.1/maven-jar-plugin-2.3.1.jar
Downloaded: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-jar-plu
gin/2.3.1/maven-jar-plugin-2.3.1.jar (32 KB at 64.7 KB/sec)
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-instal
l-plugin/2.3.1/maven-install-plugin-2.3.1.pom
Downloaded: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-install
-plugin/2.3.1/maven-install-plugin-2.3.1.pom (5 KB at 11.3 KB/sec)
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-instal
l-plugin/2.3.1/maven-install-plugin-2.3.1.jar
Downloaded: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-install
-plugin/2.3.1/maven-install-plugin-2.3.1.jar (23 KB at 52.7 KB/sec)
Downloading: http://repo1.maven.org/maven2/javax/servlet/servlet-api/2.3/servlet
-api-2.3.pom
Downloaded: http://repo1.maven.org/maven2/javax/servlet/servlet-api/2.3/servlet-
api-2.3.pom (156 B at 0.4 KB/sec)
Downloading: http://repo1.maven.org/maven2/axis2/axis2-kernel/1.0/axis2-kernel-1
.0.pom
Downloading: http://repo1.maven.org/maven2/axis2/axis2-codegen/1.0/axis2-codegen
-1.0.pom
Downloading: http://repo1.maven.org/maven2/axis2/axis2-adb/1.0/axis2-adb-1.0.pom

Downloading: http://repo1.maven.org/maven2/ws-commons/axiom-api/1.0/axiom-api-1.
0.pom
Downloaded: http://repo1.maven.org/maven2/ws-commons/axiom-api/1.0/axiom-api-1.0
.pom (347 B at 0.8 KB/sec)
Downloading: http://repo1.maven.org/maven2/ws-commons/axiom-impl/1.0/axiom-impl-
1.0.pom
Downloaded: http://repo1.maven.org/maven2/ws-commons/axiom-impl/1.0/axiom-impl-1
.0.pom (348 B at 0.8 KB/sec)
Downloading: http://repo1.maven.org/maven2/org/apache/ws/commons/XmlSchema/1.0.2
/XmlSchema-1.0.2.pom
Downloaded: http://repo1.maven.org/maven2/org/apache/ws/commons/XmlSchema/1.0.2/
XmlSchema-1.0.2.pom (11 KB at 23.8 KB/sec)
Downloading: http://repo1.maven.org/maven2/stax/stax-api/1.0/stax-api-1.0.pom
Downloaded: http://repo1.maven.org/maven2/stax/stax-api/1.0/stax-api-1.0.pom (18
0 B at 0.5 KB/sec)
Downloading: http://repo1.maven.org/maven2/ws-commons/neethi/1.0.1/neethi-1.0.1.
pom
Downloaded: http://repo1.maven.org/maven2/ws-commons/neethi/1.0.1/neethi-1.0.1.p
om (346 B at 1.0 KB/sec)
Downloading: http://repo1.maven.org/maven2/commons-logging/commons-logging/1.0.4
/commons-logging-1.0.4.pom
Downloaded: http://repo1.maven.org/maven2/commons-logging/commons-logging/1.0.4/
commons-logging-1.0.4.pom (6 KB at 14.3 KB/sec)
Downloading: http://repo1.maven.org/maven2/commons-httpclient/commons-httpclient
/3.0/commons-httpclient-3.0.pom
Downloaded: http://repo1.maven.org/maven2/commons-httpclient/commons-httpclient/
3.0/commons-httpclient-3.0.pom (8 KB at 19.3 KB/sec)
Downloading: http://repo1.maven.org/maven2/junit/junit/3.8.1/junit-3.8.1.pom
Downloaded: http://repo1.maven.org/maven2/junit/junit/3.8.1/junit-3.8.1.pom (998
B at 2.6 KB/sec)
Downloading: http://repo1.maven.org/maven2/commons-logging/commons-logging/1.0.3
/commons-logging-1.0.3.pom
Downloaded: http://repo1.maven.org/maven2/commons-logging/commons-logging/1.0.3/
commons-logging-1.0.3.pom (866 B at 2.4 KB/sec)
Downloading: http://repo1.maven.org/maven2/commons-codec/commons-codec/1.2/commo
ns-codec-1.2.pom
Downloaded: http://repo1.maven.org/maven2/commons-codec/commons-codec/1.2/common
s-codec-1.2.pom (4 KB at 9.2 KB/sec)
Downloading: http://repo1.maven.org/maven2/commons-codec/commons-codec/1.3/commo
ns-codec-1.3.pom
Downloaded: http://repo1.maven.org/maven2/commons-codec/commons-codec/1.3/common
s-codec-1.3.pom (6 KB at 15.9 KB/sec)
Downloading: http://repo1.maven.org/maven2/woodstox/wstx/asl-2.9.3/wstx-asl-2.9.
3.pom
Downloading: http://repo1.maven.org/maven2/wsdl4j/wsdl4j/1.5.2/wsdl4j-1.5.2.pom
Downloaded: http://repo1.maven.org/maven2/wsdl4j/wsdl4j/1.5.2/wsdl4j-1.5.2.pom (
380 B at 0.8 KB/sec)
Downloading: http://repo1.maven.org/maven2/geronimo-spec/geronimo-spec-javamail/
1.3.1-rc5/geronimo-spec-javamail-1.3.1-rc5.pom
Downloaded: http://repo1.maven.org/maven2/geronimo-spec/geronimo-spec-javamail/1
.3.1-rc5/geronimo-spec-javamail-1.3.1-rc5.pom (173 B at 0.5 KB/sec)
Downloading: http://repo1.maven.org/maven2/geronimo-spec/geronimo-spec-activatio
n/1.0.2-rc4/geronimo-spec-activation-1.0.2-rc4.pom
Downloaded: http://repo1.maven.org/maven2/geronimo-spec/geronimo-spec-activation
/1.0.2-rc4/geronimo-spec-activation-1.0.2-rc4.pom (175 B at 0.4 KB/sec)
Downloading: http://repo1.maven.org/maven2/xmlbeans/xbean/2.1.0/xbean-2.1.0.pom
Downloaded: http://repo1.maven.org/maven2/xmlbeans/xbean/2.1.0/xbean-2.1.0.pom (
147 B at 0.4 KB/sec)
Downloading: http://repo1.maven.org/maven2/jaxen/jaxen/1.1-beta-8/jaxen-1.1-beta
-8.pom
Downloaded: http://repo1.maven.org/maven2/jaxen/jaxen/1.1-beta-8/jaxen-1.1-beta-
8.pom (7 KB at 15.5 KB/sec)
Downloading: http://repo1.maven.org/maven2/dom4j/dom4j/1.6.1/dom4j-1.6.1.pom
Downloaded: http://repo1.maven.org/maven2/dom4j/dom4j/1.6.1/dom4j-1.6.1.pom (7 K
B at 19.2 KB/sec)
Downloading: http://repo1.maven.org/maven2/xml-apis/xml-apis/1.0.b2/xml-apis-1.0
.b2.pom
Downloaded: http://repo1.maven.org/maven2/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.
b2.pom (3 KB at 5.6 KB/sec)
Downloading: http://repo1.maven.org/maven2/jdom/jdom/1.0/jdom-1.0.pom
Downloaded: http://repo1.maven.org/maven2/jdom/jdom/1.0/jdom-1.0.pom (2 KB at 2.
9 KB/sec)
Downloading: http://repo1.maven.org/maven2/xerces/xmlParserAPIs/2.6.2/xmlParserA
PIs-2.6.2.pom
Downloaded: http://repo1.maven.org/maven2/xerces/xmlParserAPIs/2.6.2/xmlParserAP
Is-2.6.2.pom (153 B at 0.4 KB/sec)
Downloading: http://repo1.maven.org/maven2/xerces/xercesImpl/2.6.2/xercesImpl-2.
6.2.pom
Downloaded: http://repo1.maven.org/maven2/xerces/xercesImpl/2.6.2/xercesImpl-2.6
.2.pom (150 B at 0.4 KB/sec)
Downloading: http://repo1.maven.org/maven2/xom/xom/1.0b3/xom-1.0b3.pom
Downloaded: http://repo1.maven.org/maven2/xom/xom/1.0b3/xom-1.0b3.pom (2 KB at 2
.8 KB/sec)
Downloading: http://repo1.maven.org/maven2/xerces/xmlParserAPIs/2.6.1/xmlParserA
PIs-2.6.1.pom
Downloaded: http://repo1.maven.org/maven2/xerces/xmlParserAPIs/2.6.1/xmlParserAP
Is-2.6.1.pom (153 B at 0.4 KB/sec)
Downloading: http://repo1.maven.org/maven2/xerces/xercesImpl/2.2.1/xercesImpl-2.
2.1.pom
Downloaded: http://repo1.maven.org/maven2/xerces/xercesImpl/2.2.1/xercesImpl-2.2
.1.pom (150 B at 0.4 KB/sec)
Downloading: http://repo1.maven.org/maven2/com/ibm/icu/icu4j/2.6.1/icu4j-2.6.1.p
om
Downloaded: http://repo1.maven.org/maven2/com/ibm/icu/icu4j/2.6.1/icu4j-2.6.1.po
m (150 B at 0.4 KB/sec)
Downloading: http://repo1.maven.org/maven2/xalan/xalan/2.6.0/xalan-2.6.0.pom
Downloaded: http://repo1.maven.org/maven2/xalan/xalan/2.6.0/xalan-2.6.0.pom (491
B at 1.2 KB/sec)
Downloading: http://repo1.maven.org/maven2/xml-apis/xml-apis/2.0.2/xml-apis-2.0.
2.pom
Downloaded: http://repo1.maven.org/maven2/xml-apis/xml-apis/2.0.2/xml-apis-2.0.2
.pom (346 B at 0.8 KB/sec)
Downloading: http://repo1.maven.org/maven2/org/ccil/cowan/tagsoup/tagsoup/0.9.7/
tagsoup-0.9.7.pom
Downloaded: http://repo1.maven.org/maven2/org/ccil/cowan/tagsoup/tagsoup/0.9.7/t
agsoup-0.9.7.pom (681 B at 1.8 KB/sec)
Downloading: http://repo1.maven.org/maven2/backport-util-concurrent/backport-uti
l-concurrent/2.1/backport-util-concurrent-2.1.pom
Downloaded: http://repo1.maven.org/maven2/backport-util-concurrent/backport-util
-concurrent/2.1/backport-util-concurrent-2.1.pom (909 B at 2.3 KB/sec)
Downloading: http://repo1.maven.org/maven2/annogen/annogen/0.1.0/annogen-0.1.0.p
om
Downloaded: http://repo1.maven.org/maven2/annogen/annogen/0.1.0/annogen-0.1.0.po
m (148 B at 0.4 KB/sec)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 27.375s
[INFO] Finished at: Sat Jul 23 10:25:35 EDT 2011
[INFO] Final Memory: 2M/15M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project axis2-book: Could not resolve dependen
cies for project org.apache.axis2.examples:axis2-book:jar:1.1: Failed to collect
dependencies for [javax.servlet:servlet-api:jar:2.3 (provided), axis2:axis2-ker
nel:jar:1.0 (compile), axis2:axis2-codegen:jar:1.0 (compile), axis2:axis2-adb:ja
r:1.0 (compile), ws-commons:axiom-api:jar:1.0 (compile), ws-commons:axiom-impl:j
ar:1.0 (compile), org.apache.ws.commons:XmlSchema:jar:1.0.2 (compile), ws-common
s:neethi:jar:1.0.1 (compile), commons-logging:commons-logging:jar:1.0.4 (compile
), commons-httpclient:commons-httpclient:jar:3.0 (compile), commons-codec:common
s-codec:jar:1.3 (compile), woodstox:wstx:jar:asl-2.9.3 (compile), stax:stax-api:
jar:1.0 (compile), wsdl4j:wsdl4j:jar:1.5.2 (compile), geronimo-spec:geronimo-spe
c-javamail:jar:1.3.1-rc5 (compile), geronimo-spec:geronimo-spec-activation:jar:1
.0.2-rc4 (compile), xmlbeans:xbean:jar:2.1.0 (compile), jaxen:jaxen:jar:1.1-beta
-8 (compile), backport-util-concurrent:backport-util-concurrent:jar:2.1 (compile
), annogen:annogen:jar:0.1.0 (compile)]: Failed to read artifact descriptor for
axis2:axis2-kernel:jar:1.0: Could not transfer artifact axis2:axis2-kernel:pom:1
.0 from/to ibiblio (http://ibiblio.org/maven/): No connector available to access
repository ibiblio (http://ibiblio.org/maven/) of type legacy using the availab
le factories WagonRepositoryConnectorFactory -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyReso
lutionException
C:\maj\practices\axis2\How2EmbedAxis2InWeb\book>

Can you please help me. your help is appreciated.
Thanks
Majid

10 years ago
Hi,
I had an interview yesterday and they give me this question, I could not find a solution :

1)Question1:

The following code loops through a collection of HighlightEntities and writes out a list. If there are no highlights then it should write out “No highlights,” but it is possible for the page to display neither highlights nor the “No highlights” message, but not cause an error. Why?



2)Question2:

A filter sets an attribute, “newsList”, on the request before this file is served. “newsList” is an arrayList of NewsEntity objects. The result should be an XML listing of NewsEntities.

What is wrong with this JSTL code?




thanks, your help is appreciated.
10 years ago
JSP
Thanks lot,
I appreciate your helps.
11 years ago