It's not a secret anymore!*
The moose likes Servlets and the fly likes problem in checking the entered value with the existing value Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "problem in checking the entered value with the existing value" Watch "problem in checking the entered value with the existing value" New topic
Author

problem in checking the entered value with the existing value

madhuri kunchala
Ranch Hand

Joined: Mar 30, 2010
Posts: 350
hi,
i developed XML file..in the project i used jsp pages and servlets...if i enter the value in the jsp page..it is passed to the servlet and it is not validating it...it is showing all the values..i dont need all the values...whatever value entered in jsp page..it should take that one....and while running it is showing error...here is my code...i need help

view.jsp



[b]view.java[b]




and im getting error as




thanks,
madhu.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Font tags?!

So you're getting an error in the XML, but don't show any of the XML, so... I've got nothing.
Sridhar Gudipalli
Ranch Hand

Joined: Nov 02, 2005
Posts: 120


Cant you replace this line with below? Why are you using unnecessary font tags?





Do you always enter the "Pack Name" value as "packName"? (case insensitive). You are reading the packName value from the request and checking if the value is "packName".. Are you missing some thing here or doing this intentionally?


Sridhar Gudipalli|SCJP 6.0
SCWCD objectives
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Sridhar Gudipalli wrote:Why are you using unnecessary any font tags?

Fixed.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: problem in checking the entered value with the existing value
 
Similar Threads
problem in removing spaces in xml file
unable to remove spaces in xml
unbale to view xml file in browser
problem in modification of the value in xml file
problem in deleting the file