Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!

Baraj Bhushan

Greenhorn
+ Follow
since May 24, 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 Baraj Bhushan

Hi There,
Can any body will help be will be appreciated,
1. How to open a document file from server to client in inside the IE or NN.
2. Once it is open, the file will changed by a authorised person and one save button will be created which will carry the path of fine, when it is clicked, it will be saved on same path and same file. all the changes should be recorded either in a file ot Array which will be mailed to othe users...
3. How to create the save button with above feature.
4. How to trap/record the chabged made in Doc file and store it in a txt file or array.
Thanks in advance,
19 years ago
HI,
Your error is normal please confirm the following points,
1.) By default servlet which extends HttpServlet is multi threading . if check you are handing your own thread, then make is multitreaded.........
2.) check if you are using session tracking..... see whether session variable contains value or looses very frequntly.
Your error is becouse some var i.e attribute value is null....
Hope this will help you.
Bye,
Bhu
19 years ago
Hi, Use this, it will help you.
Like Java Code Here.
<% String var = "TestCode" %>
In Java Script
function myfun()
{
document.formName.VariableOrTextBoxName.value="<%=var%>";
return;
}
This will work.
Please Try...........
BYe,
BHU
[This message has been edited by Baraj Bhushan (edited May 29, 2001).]
19 years ago
Hi,
Can any one help me answering the following questions.
1.) How to do validation in JSP from Windows-NT4.0 server's users.
2.) How to keep track of data chenged in HTML page.
3.) How to keep track of Newly uploaded file in a particular location thru internet.
4.) How to get the DataBase name from SQL-Server7.0 in JSP page.
5.) How to draw a menu Over a frame. I.e in my page there are two frames. the menu is there in first Frame and browsing the menu, it hiding in second frame. I want to display the menu over the second frame.
6.)How to increase session activation time for JavaWebServer2.0. by default it is only 30 mins.
Thanks in advance .
Bhu
19 years ago

Originally posted by Nils Persson:
I'm new to Resin and Servlets.
How do I do this?
I just want to submit a form (a submitbutton and a textbox named myText)to a servlet,
and use request.getParameter("myText")to catch the textfield (and do something with the text).
and then I want to redirect to another page.
Do I save the java file as Servlet or Bean?
It is a very basic thing but I can not get it right.
How do I make the connection JSP -> Servlet -> another JSP?
Thanks.
Nils


Ans::::::::Here...........
In Servlet......Write
String Var1 = (String)request.getParameter("TextBoxName1")
String Var1 = (String)request.getParameter("TextBoxName1")
String Var1 = (String)request.getParameter("TextBoxName1")
It will get value of all the text boxes....
Then for redirecting to onother JSP write.
request.setAttribute("RefName1","ValueOfVar1");
request.setAttribute("RefName2","ValueOfVar2");
request.setAttribute("RefName3","ValueOfVar3");
getServletCofig().getServletContext().getRequestDisapatcher(/NextJspFileName.jsp).forward(request,response);
Then in receiving JSP write....
String Var1 = (String)request.getAttribute("RefName1")
String Var2 = (String)request.getAttribute("RefName2")
String Var3 = (String)request.getAttribute("RefName3")
Then Do whatever you want ..........
19 years ago
HI ,
I am agree with above comments. Please try it with re-Instaaling IE. May be your problem will be solved.
Bye,
B............
19 years ago
Hi,
I am agree with all of you . But some times this prblem come due to IE, Mr. Dilip pls Re-Install you IE and check. I had this problem and even i did the same ... try it....
Bye,
B........

Originally posted by Dilipkumar Kalyankar:
Hello All:
My application has logon sceen ( JSP ), a servlet to connect to database for user verification and another JSP screen which comes after validation of user info.
My application is crashing some times after clicking submit button in logon screen or while displaying 2nd JSP screen with following message :
Dr. Watson for Windows NT
java.exe
Exception: access violation (0xc0000005), Address: 0x06599d81.
What could be the problem? I am using Windows NT, JDK 1.2.2 and Tomcat.
Thanks


19 years ago
Hi,
Can any one help me answering the following questions.
1.) How do validation in JSP from Windows-NT4.0 server's users.
2.) How keep track of data chenged in HTML page.
3.) How to keep track of Newly uploaded file in a particular location thru internet.
4.) How to get the DataBase name from SQL-Server7.0 in JSP page.
5.) How to draw a menu Over a frame. I.e in my page there are two frames. the menu is there in first Frame and browsing the menu, it hiding in second frame. I want to display the menu over the second frame.
6.)How to increase session activation time for JavaWebServer2.0. by default it is only 30 mins.
Thanks in advance .
Bhu
19 years ago