Renz Alexander

Greenhorn
+ Follow
since Jun 11, 2010
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
Received in last 30 days
0
Total given
1
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Renz Alexander

hi Lucas Jordan & Pieter Greyling,

will your book include any topics about android NDK?
13 years ago
hi can anyone tell me how to use hibernate criteria with Distinct and order by with paging i've been looking for a solution but can't seem to find one thanks.
So when Shutting down my tomcat(embedded) server i checked with stack and saw that each time i stopped the server instance some threads are not closing specifically "http-8080-Acceptor-0" and "http-8080-AsyncTimeout". I'm worried that this would cause the server to pergem so can anyone help?

here's the stack for the two threads


13 years ago
thanks for the help Tim. I just went with placing the spring and hibernate jars in my server. Its really annoying that i have to add the jars in my server but it's alright i was planning on adding some other functionality that needs spring and hibernate like a way to backup and recover my database.
13 years ago
i've tried reading the api but i still can't find the catalina home bean and before aything i would like to remind everyone that i'm using tomcat 7's new embeddable tomcat feature for future reference specifically org.apache.catalina.startup.Tomcat; and not org.apache.catalina.startup.Embedded;. and sory if i seem rude it's just that it's eating at me for a few days now and i'm stuck.
13 years ago
yes but i'm using spring in my web app which seems to be the problem. i don't know how to add the TomcatInstrumentableClassLoader to an embedded tomcat.
13 years ago
hi can any one tell me how to add the class path of my web application. i've tried



a modified version of this one, but it any references the one in the base path.

i also tried the bootstrap class

but still it doesn't load the web apps classes,
and the server.xml used is the same xml that come with tomcat
13 years ago
so i have an arrayList inside an object i need to validate and show its errors using the conversion validator. in order for it to work properly i need it to have the field name format arrayList[count].object. the only problem now is how do i show the error validations? i've tried the field error tag but i don't know what to write to in the field attribute.also if posible i want it to look like regula field error message the uses a table not a list
13 years ago
yeah that seems to be the problem it's mostly the problem with the format and the pattern for actions matched inside the web.xml. it seems that because of the change in the extension yo "" struts matches every link as a struts 2 action even static content.
13 years ago
try to use the the if tag and place the button inside that tag and add your coditions
13 years ago
i don't know how or why by while i was editing my jsp some how i don't know what i pressed but i suddenly lost the ability to access some of my static content like javascript files css and my default page for my webapp. i'm using helios and tomcat 7 by the way and even if i change my server back to 6 it's still the same. here's a sample of the error mesage




edit:
ok so think i found the culprit something about setting the extension to "" like

but i'm still not sure if it's the only one though
13 years ago
can't seem to make this work i've tried it with this one and this one but it still doesn't work can anyone help me? oh and i'm using the latest version of ireport which is version 3.7.4
basically i have an array list of object that references another object for example i have a list of Invoice that has a variable of class Client. inside client contains the name of the client now how do i access client's name inside the invoice?

edit:

do i have to make a subreport every time i need to access the client's name?

edit 2:

i've got it. the expression given is basically the variable of that type class it represent which means you could access the models methods the same way you access them in java
for example: i've got a client with a method/getter getName() to access it you just add .getName() to the expression like so $F{client}.getName() and with that we can access the method getName()



my previous version was galileo. i just upgraded to the latest version after your post thanks. although it was a pain to download another version and my previous plugins.
oh ok, didn't know that though i do get permgens after a few redeploy and then some posts. i really don't know why it hanged on me though. but after a restart its works fine.
13 years ago