1. Did you set the environment variable for JDK?
on a typical windows machine, presuming you installed j2sdk on C: drive, it should look like this
C:\j2sdk1.4.1
Set the env variable entry for this item
on windows go to control panel
click on system
then click on advance
click on Environment Variable
There are 2 sections in here top one is for the user you are logged in as
click on New and then add the following
JAVA_HOME
the line below requires the path to path to your jdk, enter the following or the actual path
C:\j2sdk1.4.1
click ok and thats about it..this should take care of it.
Now the error you posted it points to a missing Action class, to best of my knowledge, Action class is part of struts.
And you will have to put struts.jar file in your lib directory in the apache install as well(or in the application package)
Do you have imports on the page for the referenced packages? As Khalid said, Action sounds like part of Struts but Action should never appear on a JSP.
I have already set the JAVA_HOME env variable. But it didnt change anything.
I was just using Action as an example. Im not actually using struts and Action was just a class which has been pre-made for me to work with.
I actually played around with a few basic hello world type programs last night and they worked fine. It seems only classes from packages other than java.lang are not working!
I actually played around with a few basic hello world type programs last night and they worked fine. It seems only classes from packages other than java.lang are not working!
Bookmarks