jsp-tags


when I run my jsp pgogram I got this exception error type Exception report


type Exception report
message Unable to compile class for JSP:
description The server encountered an internal error that prevented it
from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 44 in the jsp file:
/jsp/ShoppingCart/AddBook.jsp The method getValue(String) is undefined
for the
type HttpServletRequest
int int_BookID,int_CategoryID,int_Price,int_Quantity;
String str_Title, str_Author, str_Publisher,str_Edition,str_Description;
int_BookID=(int)(10000*Math.random()+1);
int_CategoryID=Integer.parseInt(request.getValue("cat"));
str_Title=request.getParameter("title");
str_Author=request.getParameter("author");
str_Publisher=request.getParameter("pub");
request.getValue("cat") is the problem here.
I suppose the 'cat' is a parameter.
Instead , use request.getParameter("cat")
PS- I recommend you to read the basics of JSP first try the HeadFirst series.

Related Links

how can we display value in java server page set in dto
Difference between jsp include action tag and jsp include directive
How to iterate through a list of list in jsp
JSP Custom Tag File and Dynamic attributes
Fetch drop down box multi selector
jsp code to upload jgp files and save in mysql db
when I run my jsp pgogram I got this exception error type Exception report
jstl formatNumber in input leads to NumberFormatException
Youtube onYouTubePlayerReady() function not firing
username and password cannot be resolved or is not a field
How page directive “extend” in jsp works?
Simple property not found?
Reusing JSP custom tags inside html
JSP Quiz process is not giving me the correct percentage scored
Refer the id variable of logic - iterate using jstl-el
Invalid tagdir attribute while web-fragment is used

Categories

HOME
cakephp
testng
homebrew
onedrive
platform-builder
spring-jdbc
installshield
networkx
ios-charts
spring-kafka
row
vaadin7
tostring
interop
beyondcompare
abi
smb
status
chromebook
nhapi
libssl
delicious-api
bcd
yadcf
key-value-observing
semantic-versioning
karaf
kendo-ui-grid
android-nestedscrollview
force-layout
nssegmentedcontrol
jmonkeyengine
web-mining
lto
unspecified
hilbert-curve
particles.js
arena-simulation
wptoolkit
avconv
youcompleteme
filepicker
boost-multi-index
dandelion
feeds
root-framework
android-fonts
radtreelist
sts-springsourcetoolsuite
trash
mongocsharpdriver
ios4
endeca-workbench
retina
wyam
android-listview
ibaction
twirl
arcanist
nsight
kineticjs
network-interface
rdtsc
eol
android-2.2-froyo
message-driven-bean
html5-notifications
pyhdf
farseer
sitemesh
dotnetnuke-5
http-unit
datawindow
jquery-ui-layout
pendrive
lpeg
html-input
nsviewanimation
virtual-functions
aquaticprime
uiq3

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App