Ramona Andreea

Greenhorn
+ Follow
since Nov 22, 2008
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 Ramona Andreea

Thanks Ulf,

I found the Muffin and I found anoher one PAW, but I want to start with some theory for understanding the process and then to develop one or to use an open source.

Ramona
Hi,

I want to create a java application that blocks the browser to open a list of urls and pornographic sites. I don't know where to start. Can anyone help me with some advices?

Thanks,
Ramona
Thanks.
I thought at this, but if are a lot of childs I'll use very large stacks and for a 1GB xml it will consume a lot of memory.
14 years ago
Hello,

I need some help. I want to parse a large xml which has this structure:

<start>
<node id="1" atr1="atr1" atr2="atr2"/>
<node id="2" atr1="atr1" atr2="atr2"/>
<node id="3" atr1="atr1" atr2="atr2"/>
<way id="10">
<nd ref="1"/>
<nd ref="2"/>
</way>
</start>


Foreach way tag I want to take the atr1 and atr2 values where the node id is equal with nd ref.

With SAX a can't take the childs and parents nodes. JDOM uses a lot of memory. Which library can I use to parse a very large xml with the structure above?

Thanks
14 years ago
Thanks Rob. I'll read about this...hope that will work.
14 years ago
Hi,

I want to develop a desktop application to fit on each screen. What is the best method to do that? One solution can be to write an interface for each screen resolution, but this need more time. If you know other solution please tell me. Thank you.
14 years ago
Hi,

I've developed a webservice using axis2 and 2 clients for it. One client it is in java,and the other is in php with soap extension. The java client works fine, but the php client doesn't work anymore (and i didn't make any changes). The error displayed on the screen is:
Fatal error: Uncaught SoapFault exception: [soapenv:Server] unknown in /var/www/@WORK/ramonaAE/GeoLocalisation/client.php:21 Stack trace: #0 [internal function]: SoapClient->__call('wsGeoLocalisati...', Array) #1 /var/www/@WORK/ramonaAE/GeoLocalisation/client.php(21): SoapClient->wsGeoLocalisation(Array) #2 {main} thrown in /var/www/@WORK/ramonaAE/GeoLocalisation/client.php on line 21
and the error from catalina.out is:
[ERROR]
java.lang.IllegalArgumentException
at sun.reflect.GeneratedMethodAccessor59.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:194)
at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:102)
at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:100)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:176)
at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:131)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
[ERROR]
org.apache.axis2.AxisFault
at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:161)
at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:100)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:176)
at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:131)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.IllegalArgumentException
at sun.reflect.GeneratedMethodAccessor59.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:194)
at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:102)
... 19 more


What could cause this error (I repeat, it worked, I didn't change anything and now it stoped working)?

Thanks,
Ramona
14 years ago
Sorry to all of you. It will never happen again.
Thanks for the help and sorry.
15 years ago
I solved the problem. It was another instance of the DataWindow - when I push the button which opens that window. So I was modifying one window and displaying another.


Thanks
15 years ago
I have already done this. The System.out.println prints the new value but the textField doesn't.

I don't know what i'm doing wrong.

Thanks,
15 years ago
Hy,

I have a big problem. I have an application with many buttons and windows. On one of this windows (which extends Dialog class) a have a textField. I want to set it's value from another class B. If in class B I write tf.setText("test") and on the next line I write System.out.println(tf.getText) "test" is displayed, but in the textField the value doesn't change.

The idee of my program is to read some values from a file and display them in textFields in other window (extends dialog).


Thanks
15 years ago
I put this method in dialog class:

public void setLatdegreeText(String text){
latdegree.setText(text);
}

And this code in class B (which is in other package):

dw.setLatdegreeText("test");

But in the textField doesn't appear value "test".

The idee of my program is to read some values from a file and display them in textFields in other window (extends dialog).
[ November 22, 2008: Message edited by: Ramona Andreea ]
15 years ago
Thanks,

I don't think that this is the problem. In class B I wrote:

dw.latdegree.setText("test");
System.out.println(dw.latdegree.getText());

And in the Dialog class the textField is initializeed like this:

latdegree=new TextField("");
latdegree.setForeground(Color.black);
latdegree.setFont(f);
latdegree.requestFocus();
add(latdegree);
latdegree.setBounds(75,135,26,20);
15 years ago
Hy,

I have a big problem. I have an application with many buttons and windows. On one of this windows (which extends Dialog class) a have a textField. I want to set it's value from another class B. If in class B I write tf.setText("test") and on the next line I write System.out.println(tf.getText) "test" is displayed, but in the textField the value doesn't change.

I need some help.

Thanks,
Ramona
15 years ago