Raukutam Sandeep

Ranch Hand
+ Follow
since Nov 15, 2000
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 Raukutam Sandeep

hi preethi,

u can disable the right mouse button itself..or enable the right mouse button, and u can provide u'r own menu, instead of browser's menu....(all this can be done using javascript)
If u need the code, u can mail me at rsandeep_1980@yahoo.com
regds,
Sandeep.
23 years ago
jsp
hi sachin,

u have to use the 'request' object(this object is implicit one..u need not declare) in JSP to capture the value passed from HTML page..
Suppose, u have a text field by name 't1', then in JSP page,
u have to write the code as
<% String name=request.getParameter("t1");
out.println(name);
%>
U said u are familiar with servlet prog..so it won't be a problem for u..
try this and get back!!
best of luck!!
regds,
Sandeep.
23 years ago
hi,
in JDBC, u need to retrieve the value only one, u cannot retrieve it twice which throws an exception.
Instead,retrieve the value once, store it in variable, and use it..
regds,
Sandeep.
23 years ago
hi dharini,

for jsp...u can visit www.jspinsider.com , where u can find some tutorials and good examples and links to the sites which publish JSP books.
regds,
Sandeep.
23 years ago
hi,

thanx jabber....thanx a lot
regds,
Sandeep.
hi everybody,

sorry, for the trouble I gave u.
The session is working fine now and I'm able to retrieve the username throughout the session.
Thanx again,
Sandeep.
23 years ago
hi,

is this the correct way of passing true to the constructor?
session=request.getSession(true);
If it is wrong pls tell me the correct way..
And did I go wrong in the code in my previous query..
Pls reply asap..
regds,
Sandeep.
23 years ago
hi,

is this the correct way of passing true to the constructor?
session=request.getSession(true);
If it is wrong pls tell me the correct way..
And did I go wrong in the code in my previous query..
Pls reply asap..
regds,
Sandeep.
23 years ago
hi everybody,

i'm developing an Intranet mailing system using JSP.
I want use the userid throughout my session.
For that, i'm using the implicit 'session' object in JSP, as shown below..
String usrname=request.getParameter("username");
if(session.isNew())
session.putValue("Username",usrname);
I'm writing this code in a file, say login.jsp
I want to use that 'usrname' throughout my session, until session is invalidated.
In another file, say inbox.jsp i want to use that userid.
For that i'm retrieving the value stored in the session as follows..
String userid=(String)session.getValue("Username");
out.println("<b>"+userid+"</b>");
But i'm getting a null value when I use the above statement. Instead I should get the userid that is entered by the user during login....
Why Am I getting a null value, where in I should get the username?
Pls tell me where did I go wrong..
Reply asap..
Waiting for the help..
regds,
Sandeep.
23 years ago
hi Deepika,
I'm unable to understand the purpose behind that question.
But I beleive in what is called 'trust'.
My email Id is rsandeep_1980@yahoo.com
I have mentioned my email id in my profile.
Pls do mail me about the site where I can found the xml4j.jar file(IBM XML parser), and also tell me why didn't u reply directly in the forum..
Pls reply asap,.. this is urgent..
regds,
Sandeep
hi,

well, the subject itself is the question.
I searched the IBM site for that file, but i couldn't find it.
Pls tell me the exact location from where the file can be downloaded.
Pls reply asap..
regds,
Sandeep.
hi jyothsna,

yes, u can use either servletrunner.exe or httpd.exe for running the servlets.
With the latter, u actually start JavaWebServer.
Did u copy u'r .class file to servlets directory?
Pls, would u furnish u'r Servlet code, so that I can tell u where the error is?
U can mail me at rsandeep_1980@yahoo.com
In the place of localhost, u can give the ipaddress of u'r system(if it is standalone, u can give 127.0.0.1)
And localhost is the name of u'r machine. U have to give the name, which u have configured in the network(DNS) settings.
Send u'r servlet code, then I will tell where u got the problem.
regds,
Sandeep.
23 years ago
hi jyothsna,

for u'r servlet: copy the servlet class file(for example hello.class) to servlets directory of JavaWebServer2.0
In the browser location bar, type
http://localhost:8080/servlet/hello.class
for JSP: copy u'r jsp page(for ex. hello.jsp) to public_html directory of JWS2.0
In the browser location bar, type
http://localhost:8080/hello.jsp
try this and get back..
good luck!!
regds,
Sandeep
23 years ago
hi swati,

the 'class not found' error will occur, if u haven't given the correct path in the action property of the form tag...
In u'r case the class name is 'sjvtechfin1'. After compiling the java file, u will get sjvtechfin1.class file.
Copy this file to servlets directory of JavaWebserver2.0.
( Can u tell me which server u are using?)
In the action property of form tag, set the path to this class file..like action="http://<servername>:<portnumber>/servlet/sjvtechfin1.class"
for example..
<form action="http://localhost:8080/servlet/sjvtechfin1.class">
Remember, give servlet in the path, not servlets...
I hope this solves u'r problem,
If u still have the probelm... reply me at rsandeep_1980@yahoo.com
I will see the code and if possible i will rectify that..
Try these steps and get back..
good luck!!
regds,
Sandeep.
23 years ago
hi raghav,

i'm developing a project on Intranet mailing System..
Before I tell u about my project, can u tell me where did I go wrong in my logic...
reply asap...
regds,
Sandeep.
23 years ago