This content has been marked as final. Show 17 replies
Do you have installed (and is running) a webserver and the j2ee api?
Yes, i installed the JSWDK server and J2dkse1.4.0_01 and J2sdkee1.3.1 and i have configured my environments variables. i don't understand what happens.
If there are more advises i will appreciate.
I continue to have the same problems with my program. But is strange because why when i compile no problem with import javax.servlet.jsp.*, but i have problems with import javax.servlet.jsp.tagext.*;
Somebody can help me please?
Thanks in advance
I need a help!!!!!!!!!!!!!!
Thanks a lot.
When i compiling my proram below i receive this error:
ExampleTag.java:4: package javax.servlet.jsp.tagext does not exist
I installed the JSWDK and J2sdkee1.3.1 and J2sdse18.104.22.168_1 in the right way. Please i need a help.
Thankls a lot.
Which directory are you in when you try to compile.
What is the value of your CLASSPATH and J2EE_HOME environment variables.
Have you confirmed that the javax.servlets.jsp.tagext package is indeed in the j2ee.jar at $J2EE_HOME/lib/ by doing "jar tf j2ee.jar" and reading the results. (I can't imagine why that class would not be there but who knows.)
i tried your advise and receive the following message:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
H:\>jar tf j2ee.jar
java.io.FileNotFoundException: j2ee.jar (The system cannot find the file specifi
at java.io.FileInputStream.open(Native Method)
When i try to compile i am in :Myservlets\coreservlets\tags\Exampletag.java
J2EE_HOME : PATH=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;c:\j2sdk1.4.0_01\bin;c:\j2sdkee1.3.1\bin
Thanks a lot
I would suggest setting your J2EE_HOME env variable to something like "c:\j2sdkee1.3.1" and then try the jar -tvf command from the subdirectory that contains your j2ee.jar file (most likely not the root of your H drive, though who knows...)
I think that my configuration is good?
but when i type your command jar tf j2ee.jar in
c:\j2sdkee1.3.1\lib i found the class.
When i try to compile i am inTry adding your Myservlets directory to the CLASSPATH environment variable by doing something like:
Except substitute ###### with the full (absolute) path to your Myservlets directory.
What this does is it puts the Myservlets directory into the classpath so that the package "coreservlets" and all subpackages of that can be recognized.
I do not think this will solve your problem, but why not try it and see?
I can't to compile, i am affraid. I don't know what is the problem!!!!!!
I need another solutions, i tried all till now, but nothing.
WHO CAN HELP ME!!!!!!!!!!
Is not possible to compile this program, i tried severals ways but nothing yet. There is somebody that can help me please?
Thanks a lot.