Saranya Sivakumar

Greenhorn
+ Follow
since Aug 09, 2010
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 Saranya Sivakumar

privilager.tld file

<taglib xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd"
version="2.1">
<tlib-version>1.0</tlib-version>
<short-name>privilager</short-name>
<uri>privilager</uri>
<tag>
<name>check</name>
<tag-class>com.boss.jstl.Privilager</tag-class>
<body-content>empty</body-content>
</tag>
</taglib>


Error :

cvc-complex-type.2.4.b: The content of element 'tag' is not complete. One of '{"http://java.sun.com/xml/ns/javaee":tei-class, "http://java.sun.com/xml/ns/
javaee":body-content}' is expected.


Please help me to solve this error.


Thanks in advance.




7 years ago
JSP
Hi,

I'm getting the below mentioned error in my tld file

cvc-complex-type.2.4.b: The content of element 'tag' is not complete. One of '{"http://java.sun.com/xml/ns/javaee":tei-class, "http://java.sun.com/
xml/ns/javaee":body-content}' is expected.

tld file :

<taglib xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd"
version="2.1">
<tlib-version>1.0</tlib-version>
<short-name>privilager</short-name>
<uri>http://tags/privilager</uri>;
<tag>
<name>check</name>
<tag-class>com.boss.jstl.Privilager</tag-class>
</tag>
</taglib>

Kindly help me to solve this issue.

Thanks in advance
7 years ago
Hi,

I imported a project from weblogic to eclipse. I'm getting the below mentioned error

"The import weblogic.utils.collections.MultiMap cannot be resolved "

Added the necessary weblogic jar files to the project in eclipse.

Kindly help me.

Thanks in advance.
7 years ago
ya...

thanks a lot.
9 years ago
Thanks for your reply

here is the code

grant codeBase "C:\Program Files\Java\jdk1.6.0_20\jre\lib\security\java.policy"
{
permission java.lang.RuntimePermission "createClassLoader","read";
permission java.util.PropertyPermission "NLS_LANG", "read";
};
9 years ago
I tried with this

permission java.lang.RuntimePermission "createClassLoader","read";
permission java.util.PropertyPermission "NLS_LANG", "read";

and with inside grant also, but still facing the same problem...
Can you please say me how to give permissions in java.policy


Thanks.
Sary

9 years ago
hi,

While executing my application through servlets i'm getting this error

java.security.AccessControlException: access denied (java.lang.RuntimePermission createClassLoader)

I tried to add this in C:\Program Files\Java\jdk1.6.0_20\jre\lib\security\java.policy

permission permission java.lang.RuntimePermission "createClassLoader";
java.util.PropertyPermission "NLS_LANG", "read";

but getting this error


java.security.policy: error parsing file:/C:/Program%20Files/Java/jdk1.6.0_20/jre/lib/security/java.policy:
line 52: expected [;], found [java.lang.RuntimePermission]

Please help me in solving this error.
Thanks.
9 years ago
can anyone please help me in solving this?
thanks

Hi,


I get the input from a web application (written in jsp) as parameter in sevlets.
Now how can i pass it to ireport(xml) as a query.

hi Jigar Naik,

Thanks a lot...got it done...



added this jar also -
commons-javaflow-20060411.jar
If i convert it like the code below i'm not able to execute(preview) my report in ireport.



if i remove the jdt-compiler-3.1.1.jar i'm not getting the error which i have mentioned previously but with this


i can't get with this " report1_1281420667859_69790.java "

can you please help me in solving this...
thanks.
This is my report1.jrxml

hi,

I need to generate a report as a pdf using ireport through db connection

This is my code...i'm using IDE 6.9


have added these jar files

Jasper.jar
commons-beanutils-1.8.2.jar
commons-collections-3.2.1.jar
commons-digester-1.7.jar
commons-logging-1.1.jar
iText-2.1.0.jar
jasperreports-3.7.1.jar
postgresql-8.4-701.jdbc3.jar
jdt-compiler-3.1.1.jar



error is:

Errornet.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file:
1. The operator % is undefined for the argument type(s) Integer, int
value = (java.lang.Boolean)(((java.lang.Integer)variable_REPORT_COUNT.getValue())%2 == 0); //$JR_EXPR_ID=10$
<----------------------------------------------------->
2. The operator % is undefined for the argument type(s) Integer, int
value = (java.lang.Boolean)(((java.lang.Integer)variable_REPORT_COUNT.getOldValue())%2 == 0); //$JR_EXPR_ID=10$
<-------------------------------------------------------->
3. The operator % is undefined for the argument type(s) Integer, int
value = (java.lang.Boolean)(((java.lang.Integer)variable_REPORT_COUNT.getEstimatedValue())%2 == 0); //$JR_EXPR_ID=10$
<-------------------------------------------------------------->
3 errors


BUILD SUCCESSFUL (total time: 7 seconds)

can anyone please help in solving this.

Thanks.