Steven Lyner

Greenhorn
+ Follow
since Jul 02, 2001
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 Steven Lyner

I had the same problem and I found this code on the net.
<SCRIPT LANGUAGE="JavaScript">
<!--
history.go(1);
//-->
</script>
I put it between the <head> and </head> tags of the page I wanted not to be displayed.
Steve
Kees and Mike,
I looked at the SERVER.XML file and I found that the nocookies attribute was set to "true". I changed it to "false". I honestly thought that I had changed this before and tested it. Its possible that I did but I tested it incorrectly (I went through many gyrations).
Thanks a lot.
Steve
21 years ago
Kees,
I'm relatively inexperienced in JSP development. How do I check these things? I'm using Internet Explorer as my browser. I do have the following in my SERVER.XML File:
<RequestInterceptor
className="org.apache.tomcat.request.SessionInterceptor"
noCookies="true" />

I have tried it with "false".
Thanks,
Steve
21 years ago
I'm trying to use the session object and I'm unable to pass a value from one page to another. I'm using the setAttribute and getAttribute methods. I've tried using both the include directive and action.
When I looked at the examples that came with TOMCAT, I noticed that they didn't work either (they did in the past). Is it possible that I've somehow disabled session tracking?
Thanks,
Steve
21 years ago
Rama and Namita,
I haven't had the chance to try what you suggested, but I would like to say Thanks.
Steve
22 years ago
Rama and Namita,
Thanks. I tried to do what you said but, unfortunately I had some problems. When I added the code HttpSession session = request.getSession();, I got a compiler message that said that a variable called session was already defined. Maybe I didn't explain my problem properly. One JSP contains a table of "myfield" that occurs 30 times. I would like to add these fields to my session in a JSP page that I call from the first page. When I try to add a single field to my session it works fine using "session.setAttribute("sessionField", request.getParameter("fieldfromfirstJSP"));" I also didn't understand what you meant by "(class class)".
Thanks,
Steve
22 years ago
I am trying to store session data and I am having a problem. I created a repeating INPUT field in a JSP page document and I would like to pass the data from page to page as session data. I would appreciate it if someone can tell me how to do this.
Thanks,
Steve
22 years ago
Satya,
That worked great.
Thanks,
Steve
22 years ago
I've been stuck on a problem for quite a while. I have a JSP that uses a bean to fetch data from a database table. The bean returns data in an HTML table. I would like to be able to edit some of the data and update my database using <INPUT> fields. Here's my problem: Some of the strings in my table have more than one word. When I use xxx.getString("COL_NAME") as the value, only the characters before the first space are returned. If I put my getString in quotes, I get the entire string including all of the spaces at the end. When I run the JSP, I have to delete some spaces in order to alter my value. Is there any way I get insert only the characters that I need. Since I'm new to Java, any comments about how I'm approaching this would be appreciated.
Thanks,
Steve
22 years ago
Kenneth,
I just had the same problem. Go back to IBM's website and read the installation instructions very carefully. You actually have to down load two zip files for DB2. When you unzip one of them, the other is also unzipped. I don't remember exactly what it said, but the instructions also tell you to change some sort of setting in WINZIP. I was able to install DB2 with WINZIP classic. Good Luck.
-Steve