aspose file tools*
The moose likes Servlets and the fly likes servlets and Jsp problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "servlets and Jsp problem" Watch "servlets and Jsp problem" New topic
Author

servlets and Jsp problem

padmshree Patil
Ranch Hand

Joined: Dec 18, 2000
Posts: 54
Hi ,
Yes I tried.
out.println(request.getParameter("action"))
prints :Back
out.println("Back".equals(request.getParameter("action")));
it prints :false
so it's not entering if statement.
if ("Back".equals(request.getParameter("action")))
{
out.println("you have clicked Back button");
}

where I am wroung?
thanks
padmashree
prakash muthu
Ranch Hand

Joined: Sep 06, 2000
Posts: 75
Hi,
Its working fine. I didn't get any error like what you got. Still if you are getting the same, you can use trim function.
let me know if you need more details.
-Prakash

Prakash.M<BR>Bangalore- India<BR>(prakashem@rediffmail.com)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: servlets and Jsp problem