Ikram Soomro

Ranch Hand
+ Follow
since Oct 20, 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 Ikram Soomro

Why does i get following error when i attempt to start tomcat.
Tomcat starts successfully after i reinstall JRE but same error occur after few days.
Unexpected Signal : EXCEPTION_FLT_STACK_CHECK (0xc0000092) occurred at PC=0xC3BFB3
Function=[Unknown.]
Library=(N/A)

NOTE: We are unable to locate the function name symbol for the error
just occurred. Please refer to release documentation for possible
reason and solutions.


Current Java thread:

Dynamic libraries:
0x00400000 - 0x0040C000 D:\j2sdk1.4.2_05\bin\javaw.exe
0x7C900000 - 0x7C9B0000 C:\WINDOWS\system32\ntdll.dll
0x7C800000 - 0x7C8F4000 C:\WINDOWS\system32\kernel32.dll
0x77DD0000 - 0x77E6B000 C:\WINDOWS\system32\ADVAPI32.dll
0x77E70000 - 0x77F01000 C:\WINDOWS\system32\RPCRT4.dll
0x77D40000 - 0x77DD0000 C:\WINDOWS\system32\USER32.dll
0x77F10000 - 0x77F56000 C:\WINDOWS\system32\GDI32.dll
0x77C10000 - 0x77C68000 C:\WINDOWS\system32\MSVCRT.dll
0x00370000 - 0x003E3000 C:\DOCUME~1\Ikram\LOCALS~1\Temp\wllEC.tmp
0x5D090000 - 0x5D127000 C:\WINDOWS\system32\COMCTL32.DLL
0x71B20000 - 0x71B32000 C:\WINDOWS\system32\MPR.DLL
0x774E0000 - 0x7761C000 C:\WINDOWS\system32\OLE32.DLL
0x77120000 - 0x771AC000 C:\WINDOWS\system32\OLEAUT32.DLL
0x71AD0000 - 0x71AD9000 C:\WINDOWS\system32\WSOCK32.DLL
0x71AB0000 - 0x71AC7000 C:\WINDOWS\system32\WS2_32.dll
0x71AA0000 - 0x71AA8000 C:\WINDOWS\system32\WS2HELP.dll
0x08000000 - 0x08139000 D:\j2sdk1.4.2_05\jre\bin\client\jvm.dll
0x76B40000 - 0x76B6D000 C:\WINDOWS\system32\WINMM.dll
0x10000000 - 0x10007000 D:\j2sdk1.4.2_05\jre\bin\hpi.dll
0x009D0000 - 0x009DE000 D:\j2sdk1.4.2_05\jre\bin\verify.dll
0x009E0000 - 0x009F9000 D:\j2sdk1.4.2_05\jre\bin\java.dll
0x00A00000 - 0x00A0D000 D:\j2sdk1.4.2_05\jre\bin\zip.dll
0x02CF0000 - 0x02D0C000 D:\j2sdk1.4.2_05\jre\bin\jdwp.dll
0x06D10000 - 0x06D15000 D:\j2sdk1.4.2_05\jre\bin\dt_socket.dll
0x55600000 - 0x5561D000 C:\Program Files\Microsoft Firewall Client\wspwsp.dll
0x76D60000 - 0x76D79000 C:\WINDOWS\system32\iphlpapi.dll
0x71A50000 - 0x71A8F000 C:\WINDOWS\System32\mswsock.dll
0x76F20000 - 0x76F47000 C:\WINDOWS\system32\DNSAPI.dll
0x76FB0000 - 0x76FB8000 C:\WINDOWS\System32\winrnr.dll
0x76F60000 - 0x76F8C000 C:\WINDOWS\system32\WLDAP32.dll
0x662B0000 - 0x66308000 C:\WINDOWS\system32\hnetcfg.dll
0x71A90000 - 0x71A98000 C:\WINDOWS\System32\wshtcpip.dll
0x76FC0000 - 0x76FC6000 C:\WINDOWS\system32\rasadhlp.dll
0x76C90000 - 0x76CB8000 C:\WINDOWS\system32\imagehlp.dll
0x59A60000 - 0x59B01000 C:\WINDOWS\system32\DBGHELP.dll
0x77C00000 - 0x77C08000 C:\WINDOWS\system32\VERSION.dll
0x76BF0000 - 0x76BFB000 C:\WINDOWS\system32\PSAPI.DLL

Heap at VM Abort:
Heap
def new generation total 576K, used 384K [0x10010000, 0x100b0000, 0x104f0000)
eden

****************
Another exception has been detected while we were handling last error.
Dumping information about last error:
ERROR REPORT FILE = (N/A)
PC = 0x00c3bfb3
SIGNAL = -1073741678
FUNCTION NAME = (N/A)
OFFSET = 0xFFFFFFFF
LIBRARY NAME = (N/A)
Please check ERROR REPORT FILE for further information, if there is any.
Good bye.

16 years ago
Please conceder following data: in Listing 1.

//Listing 1

Column1_Column2
Data123_Data123
Data12__Data12
Data1___Data1
Dat_____Dat
Da______Da
D_______D
________-

Assume ________ underscors are one tab. (actually same problem is also accoring here in javaranch)

Actually there is only one tab between each column in above text listing 1.

i encoded it with JSTL HTML Encoder and following is result

//Listing 2

Column1 Column2<BR>
Data123 Data123<BR>
Data12 Data12<BR>
Data1 Data1<BR>
Dat Dat<BR>
Da Da<BR>
D D<BR>
-

Here TAB character is replaced with

Now, come to the actual problem.
Javax.swing.EditorPane with content type set as "text/html" properly renders tags and (tab) in listing 2 and displays data as shown in Listing 1.

BUT

Web browsers like Internet Explorer and FireFox are rendering it as follows

//Listing 3

Column1 Column2
Data123 Data123
Data12 Data12
Data1 Data1
Dat Dat
Da Da
D D
-

These browsers don't render as tab as done by inteernal swing HTML editor pane

Can any body help me out of this frustation

Ikram Soomro
SCJP,SCWCD

[ March 28, 2005: Message edited by: Ikram Soomro ]

[ March 28, 2005: Message edited by: Ikram Soomro ]

[ March 28, 2005: Message edited by: Ikram Soomro ]
[ March 28, 2005: Message edited by: Ikram Soomro ]
Can anybody answer me for the following questions in point of view of IBM-486 exam.
What design patterns are important and which are good books and tutorials for them?
Are there any particular case studies which are discussed in exam?
But you can access static resources anywhere in program (i.e. static and non static methods) as they belong to class.
Thanks Mike Gershman for your explanation on exceptions listed in objective 2.6 but I think there is more discussion required on this objective. If any body has study on this objective or know any link about it than please share it with all of us.

Thanks
Please refer to objective 2.6


2.6 Recognize situations that will result in any of the following being thrown: ArrayIndexOutOfBoundsException,ClassCastException, IllegalArgumentException, IllegalStateException, NullPointerException, NumberFormatException, AssertionError, ExceptionInInitializerError, StackOverflowError or NoClassDefFoundError. Understand which of these are thrown by the virtual machine and recognize situations in which others should be thrown programatically.



can we say that the Error exceptopns those extends java.lang.VirtualMachineError class (like StackOverflowError does) are thrown by JVM?
can we place images and other IO Files (Resources other than .class files) in jar that are used in application ? if yes than how?
17 years ago
Is there any API available for parsing HTML document? Just like we parse XML Document SAX or DOM APIs. Or do we have any other way to parse HTML Document.
From where I can download JSTL.tld file. Or is it available in Tomcat5
17 years ago
JSP
Thank You Michael Dunn!
Perfect solution!
17 years ago
If we select a radio button than can we deselect it? just like in check box if we select a checkbox than we can deselect it by again click it.
My question is that how can i deselect radio button? When I click on selected radio button than its selection should clear.
17 years ago
I want to make tomcat service depend on mySQL service. If mySQL service is started than tomcat service should start otherwise it should not start.
I am using Windows 2000 Server.
What should I do?
17 years ago
Hello;
I want to lunch the help document which is web page in default web browser; internet explorer or Netscape navigator when click on Help menu in java application.
Please help me how can I do this?
17 years ago
i want to provide a setup for my java application which install application and place icon at start menu and desktop.
17 years ago
how setup for java application can be created?
17 years ago