Abhisar Singh

Greenhorn
+ Follow
since Aug 02, 2006
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 Abhisar Singh

Hi,

I have following code in a JSP file and I want the count to increment with "cookies turned OFF" in the Browser in other words what code I need to insert to implement URL Rewriting for the following code.....

<%
Integer count =(Integer)session.getAttribute("COUNT");
if(count==null)
{
count = new Integer(1);
session.setAttribute("COUNT",count);

}
else
{
count=new Integer(count.intValue()+1);
session.setAttribute("COUNT",count);
}

out.println("The count is "+count);

%>
16 years ago
JSP
thanks Ulf Dittmer & Scott Selikoff
16 years ago
Hi thanks Scott Selikoff

Ok say If have a simple HTML form which is sending data to a servlet.. How can I tell server to user HTTPS to transmit that data....
16 years ago
Hi,

Can I get a simple code code which sends and recive data using HTTPS....
16 years ago
Hey Lynette Dawson thanks a lot...

I knew the solution will be easy... its just that I am new to servlets & JSP and I dont know all the options available.... Thanks again...
16 years ago
hi thanks Lynette Dawson

but I dont want to force login.. a user will be able browse items without signing in as soon as he clicks on add item we need to check weather he is logged or not..

there can be two cases:
1) as soon as user access our web site first thing we ask him to sign in..and start a session...

2) OR he can browse the web site without signing in (and no session is created) but when he clicks on add item we need to check first if user is logged in or not and then procced accordingly. because first thing a user may do is to login and then procced with the shopping...but he may not do so... so how can we determine weather he is logged in or not before clicking on add item...... I hope this time I am more clear....
16 years ago
Hi,

I am new to "J2EE". I am codeing a simple web application. In this application i am providing the functionality of shopping cart..NOW the problem is that I want
to check weather user is LOGEDIN or not before user adds any item in shopping to shopping cart... How can we do this checking... I am thinking of setting an attribute at session level say f=0 and check this attrib when user clicks on add item button if ist ZERO tell user to sign in otherwise procced with add item.. BUT session are supposed to start when user logsin...

I am a bit confused and dont know weather I was able state my problem clearly but if somebody can usnderstand it an provide a sloution I will be very thankful....
16 years ago
Hi thanks you all..

Mr. C Lamont Gilbert can you please tell me more about this BLOB thing..
can you give me some sample code which shows how to use the JET & BLOB to store objects...
Hi,

can we store a java object in MS access.. for example if I want to store a vector in an access table is it possible....
Hi Ilja Preuss,

I have some .war files & I want to open them in Java Studio Enterprise 8 but I am not able to find any option to do that. How can I deploy them on the "TOMCAT" which comes with the studio...
Hi
I changed my name as suggested.....

Now can I get the reply of my question....please.....
Hi Ankur Sharma

what you think is correct...

[edited out comment about Castro]
[ August 08, 2006: Message edited by: Jeanne Boyarsky ]
Hi

How can we use a .war file in "Java Studio Enterprise 8"...
Hi thanks I just got confused but now its OK....
hi Thanks Satou kurinosuke

dose that means that if we try and save attributes on a FILE they wont be saved...becoz the readObject() & writeObject() may not be called...