Joshi Thomas

Greenhorn
+ Follow
since Oct 03, 2002
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 Joshi Thomas

I have some controls like grid etc in my applet. They work fine when IE uses Sun's JVM, however they do not refresh properly when Microsoft's JVM is used. Any ideas would be appreciated.
Thanks,
Joshi
19 years ago
One more thing you can do is store "menu.jsp" in a variable in menu.jsp and use that variable in your index.jsp.
In menu.jsp
String pagename = "menu.jsp";
In index.jsp
<include menu.jsp>
Begining include of <%=pagename %>
20 years ago
JSP
use the getRequestURI method of the request object.
i.e request.getRequestURI(), which returns a string (this includes the path information also).
20 years ago
JSP
Objects are also passed by value. You can change the state of the object (often confused with passing with reference) but you cannot set the object set to null. Java does not support passing objects by reference.
20 years ago
I am trying to pass a URL as argument to another jsp page, unfortunately the URL (argument) also contains an argument and I cannot get the value of the URL.
eg: test.jsp?url=microsoft.com/default.asp?x=5
I want the value of url to be "microsoft.com/default.asp?x=5" but when I do a request.getparameter("url"), I am getting null for the url.
Thanks in advance.
Joshi
21 years ago
JSP
Please use the "equals" method of the string class and not "==" operator
21 years ago
JSP