Win a copy of Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques this week in the Server-Side JavaScript and NodeJS forum!

mustang india

Ranch Hand
+ Follow
since Feb 05, 2002
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 mustang india

Are there any tools available to generate tlds or do we have to code them by hand ?
Regards,
Mustang.
19 years ago
JSP
Guys,
I am really sorry. Eric is right.
Got confused with class file and tld file. Once again I apologise.
Mustang.
19 years ago
JSP
oops , I am sorry it should be
"WEB-INF/tld/com/mydomain/view/template/tags
"
19 years ago
JSP
I think ur TagHandler class should be in
"WEB-INF/tld/com/mydomain/servlets/view/template/tags
"
instead of
"WEB-INF/classes/com/mydomain/servlets/view/template/tags
"
Try this out.
19 years ago
JSP
Hi,
I am new to Tag libs and trying to dip my fingures into it. I find that they do similar job as a Java bean do? Am I wrong ? Can any body tell me what's the advantage of Tag Libs over Java Beans.
Regards,
Mustang.
19 years ago
JSP
In Rational Rose, what is the diff between extend sterotyped relationship and include sterotyped relationship. Is the extend a kind of generalization ?
I am working in india presently and looking towards Europe for an opportunity. It would be great help if somebody can give a few pointers.
Regards,
Mustang.
19 years ago
What I feel is ur class is not getting the interface. Did u import the package ? If u can provide the source code of both the interface and the impl class, that could be a help.
19 years ago
U can use JTA in a non-EJB enterprise applications provided ur app server supports it.
U can opt for JTA if u want to have full command over the transactions.
U can use JTA in a non-EJB enterprise applications provided ur app server supports it.
U can opt for JTA if u want to have full command over the transactions.
What I had given is just an eample, u can replace any number of single quotes with double quotes
when u say
s = s.replace('\'', '\"');
This will replace all occurences of ' with ".
Yeah u can use this with StringBuffer as well.
Regards,
Mustang.
This is just a suggestion, try printing the values u got from the servlet and the database.
Also use equalsIgnoreCase() to checkthe strings. This might help
19 years ago
Hi,
I am new to XML and was trying to run my 1st program.
This is my code
import java.io.*;
import org.xml.sax.*;
import org.apache.xerces.parsers.SAXParser;
public class ParserDemo {
private final String uri = "c:\\jas\\xml\\test.xml";
public ParserDemo() {
XMLReader parser = new SAXParser();
log("Parser creatd...");
log("parsing: "+uri);
try {
parser.parse(uri);
}
catch(Exception e) {
log("Error :"+e.getMessage());
}
}
public static void main(String arg[]) {
new ParserDemo();
}
public void log(String s) {
System.out.println(s);
}
}

When I try to run this it gives an error
Error : Connection Timedout :Connect.
Can anybody pl explain.
Regards,
Mustang.
Why cant we use just this
String s = "This is ''' my string";
System.out.println(s);
s = s.replace('\'', '\"');
System.out.println(s);1
This prints out
This is ''' my string and
This is """ my string
Hey,
Instead of pointing to classes12.zip, try using classes111.zip. This should work, I dont know why
Mustang.