Henrik Krievs

Ranch Hand
+ Follow
since Jan 05, 2004
Merit badge: grant badges
For More
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 Henrik Krievs

The application I'm working on now is an ADF 11g application running on a 10.3.2.0 WLS.

It is somehow setup (not by a developer...) in way that I have to restart WLS for each deployment I make.

I've tried to delete cache, tmp under WLS, checking "Developer mode" Nostage mod - to no avail.

I would very very greatfull if someone could point me in the right direction....

Thanks,
Henrik
9 years ago
I've checked everything.

It seems like the browser receives the correct data (checked that via Fiddler). So the error occours somewhere in the javascript part.

It's only the ajax part that doesn't work - regular pages is showing ok.

I'm sorry I can't narrow it more down....
Well , I think so:

I've put this on top of the XML document:

<?xml version="1.0" encoding="UTF-8"?>

- But if this will work with Slovenia characters, I can't say...
One of our customers is from Slovenia, where they use a totally different charaectersset than we do [We use Western European]. All our code works perfectly on our own machines - but when deployed to customer site, some of the Ajax stuff starts to make trouble. First of all - I've encapsulated the Ajaz XML data in CDATA sections, like this:

<Rows>
<Row><![CDATA[A]]></Row>
<Row><![CDATA[B]]></Row>
<Row><![CDATA[C]]></Row>
</Rows>

Now when I recieve the data on the client side - I'd like to test how many "Row" element is present. Normally I would use something like this:

numOfRows = xmlDoc.getElementsbyName("Row").length

- and expect to get something like 3 in return, but instead I recieve an exception - "object is null or....."

Question 1: Is the CDATA - the way to work around special characters in XML/Ajax?
Question 2: How do I get the number of rows, based on the code above?
Question 3: What could be the explanation to why the code works ok on our site - and not on the Customer site - when the code is the same - and the browser used [IE8] is the same (run via VPN) ?

Any help will be greatly appreciated.

Thanks, Henrik
Hi all,

This book - is this to far from the new exam?

http://mhprofessional.com/product.php?isbn=0072259523&cat=112&promocode=

I know I could compile a preping set myself, but i would prefer to have it all in one...

Rgds, Henrik
what's the pros and cons with inline/embedded xsd in WSDL?

Rgds, Henrik
15 years ago
Howdy partners!

I'm looking for a free SOA governance/Registry tool. It doesn't have to be very advanced. It should be able to hold/show dependencies between different WS - and what schemas is used by which WS. Ideally it should also be possible to extract data for deployment reasons.

Do anybody knows if such a tool exists?

Regards, Henrik
15 years ago
Howdy!

Is it possible to make a JSP page generate it's own contents based on files on the App Server?

Meaning: I have a lot of .wsdl files deploye in a webapp on my Tomcat. For each new .wsdl file being created I have to manually edit the index.html to reflect this. But it would be nice if the index.html could traverse the directory and make links to all the .wsdl files. Is this possible?

Regards, Henrik
15 years ago
JSP
Howdy!

Is it possible to grap the image selected by html:file - and showing it - before submiting the page?

Regards, Henrik
17 years ago
Howdy!

I've a class with a static method in it. Is it possible for me to access this static method directly from jsp - without using scriptlet?

Best regards, Henrik
17 years ago
Howdy!

How do I, easily, turn a formbean field into a scripting fild for use in JSP?

Eg. If I wan't to do some advanced calculation on a field for use in the layout?

Regards, Henrik
17 years ago
Howdy!

In my struts application - I have a list defined in a formbean - which I show on the JSP - with regular iteration Struts tags.

Now, to be able to layout the list in two columns - I need to know the size of the list before hand.

How can I access this list?

If I somehow could access the list - like;

<%

List list = myFormBean.getList();
int listSize = list.size();

%>

But I get the error myFormBean is unknown. The I could use a useBean tag - but again - I don't get access to the same instance of the bean - as Struts uses.

How do I solve this problem?

Best Regards,
Henrik
17 years ago
Just - checked the logs - no messages found....

FYI: Using Jdev1013,

Rgds, Henrik
18 years ago
Howdy!

Made the example - found on web page

I can't see the destroy method being called - what did I miss?

Rgds,Henrik
18 years ago
Howdy!

In the book, Professional Jakarta Struts, I've read that the action has an attribute called "attribute" - which, according to the book, could be used to "access an Antion-Form bean, if it is other than the beans specified name".

Now, I can't really figure out why it should be nessecary the use this attribute - when you can name the form-bean whatever you like...

Can anyone explain?

Best regards, Henrik
18 years ago