This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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.
 
 
subject: problem in checking the entered value with the existing value
 
Similar Threads
problem in removing spaces in xml file
problem in modification of the value in xml file
problem in deleting the file
unbale to view xml file in browser
unable to remove spaces in xml