Mike Jeya

Ranch Hand
+ Follow
since Apr 15, 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 Mike Jeya

Hi All,
I have a HyperLink which has a JavaScript which asks for a confirmation.After confirmation , the page is submitted. Sometimes since the process takes time , user is doing multiple clicks and because of which we get problem. Please give me some idea to prevent multiple clicks
Hi,
we need to create the CSV file . problem is some column value have comma in it, because of which the file format is changed.
can you please let me know the procedure to take care of comma values too,


RandomAccessFile raf = new RandomAccessFile(file, "rw");
raf.seek(file.length());
raf.writeBytes(new StringBuffer(strUID+","
+strFirstName+","+strLastName+","+strMail+","+strTelephone+","+groupName+"\n").toString());
raf.close();

please advise me.....
15 years ago
Hi,
I want to run a server on port 81.However it says port number 81 is occupied. How do I find out using netstat command whether 81 is occupied or not? please help me with exact syntax. Your help is appreciated.
15 years ago
I saw some webpage have disabled the "Source" option under the "View" menu item on the menu bar

I already disable the right mouse clicking on my webpage by using JavaScript. I want to know how to disable the view source select from the menu bar as well.
I uninstalled the server and installed again and started the server and it works fine now.

Thank you so much for your reply.
15 years ago
I am getting the following error when I start the weblogic server.

<Aug 2, 2008 7:18:54 PM CST> <Critical> <WebLogicServer> <000364> <Server failed during initialization. Exception:java.lang.SecurityException: Authentication for user admin denied

java.lang.SecurityException: Authentication for user admin denied

at weblogic.security.service.SecurityServiceManagerDelegateImpl.doBootAuthorization(SecurityServiceManagerDelegateImpl.java:411)

at weblogic.security.service.SecurityServiceManagerDelegateImpl.initialize(SecurityServiceManagerDelegateImpl.java:539)

at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:922)

at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:719)

at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:593)

at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:281)

at weblogic.Server.main(Server.java:32)

Can any tell me the root cause ?
15 years ago
Hi All,
Can anyone tell me what are the jars and dependent jars do I need to implement Struts? I am using only bean:write and logic:iterate,logic resent.

So,please tell me that what are the JAR's required for this?
[ February 10, 2005: Message edited by: Mike Jeya ]
19 years ago
exactly I am doing the same way.
It's working ,if I deploy directly to the server.
My probs is, it's not working,if I build thru eclipse.
Hi friends,
I am developing a web appication using eclipse IDE. I have 3 jsps' say , Main.jsp , Header.jsp , footer.jsp.

I am including header.jsp and footer.jsp into Main.jsp.

Header.jsp and footer.jsp has some jsp expression tags which will get the values from variables which are declared in Main.jsp.

While building using eclipse, I am getting error in Header.jsp and Footer.jsp says cannot resolve sybmol..I don't know that y this error is coming?

if anybody has idea to solve this,please post the answer....

Thanks in Advance
I have a timestamp which is in the form of String(retrieved from LDAP)
for example :20041118120738Z
I have to find the no.of.days different between this timestamp and currenttimestamp.
if I go for, System.currenttimeMillis() to get CurrentTime, is this locale depenedent??
Can any one assist me?
19 years ago
Hi
I have a Arraylist.it has some set of object
I am setting this object in Servlet ,and placing into session.
Then ,I am forwarding to a JSP.

How do I iterate the values in JSP with minimal scriptlets

I hope any ranch guys can help me..Please bear my ignorance..

[ November 28, 2004: Message edited by: Mike Jeya ]
[ November 28, 2004: Message edited by: Mike Jeya ]
19 years ago
JSP
I encountered the same problem..
I searched in so many forums..I couldnot find any soltion for this

I solved the problem thru JavaRanch..

Thank u guys and JAVA RANCH..

Hi Guys,

I need to find the Level number of a Node in a XML file.
I am not able to track that.Can anyone help me out?

for ex:

<root>
<parent1>
<child1>
<child2>
</child2>
</child1>
</parent1>

<parent2>
<child21>
</child21>
</parent2>
<parent3>
</parent3>
</root>

I have to get the level of root as 0 and parent1, parent2 as 1 and child1,child21 as 2 etc..

Thanks in Advance
Hi friends,

I am displaying some values in TreeTable format..

Each row may be expanded to some sub row..

All the rows have same no.of .column..Somewhat I managed to display the hardcoded values..

My boss asked me that which format I need that data..I guess he is prefering XMl.

Can anyone guide me if i write that kind of XML , how can I get the values in JAVA,

Is it need of DTD???

these are the fields


Module, Start Date,EndDate,Stauts..


Each has more child..That child may have more child


I hope that any XML folks can help me


Thanks in Advance,