|
|||||||
New to SitePoint Forums? Register here for free!
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
SitePoint Guru
![]() ![]() ![]() ![]() ![]() Join Date: Aug 2001
Location: Toronto, Canada
Posts: 826
|
I am on my windows XP Pro system atm, and I am having a big problem. I am just going through the Wrox Beginner JSP book (chapter 4), and I got stuck on JavaBeans.
Its giving me many errors. SO I was wondering if there was a problem with Tomcat and XP or Apache and XP. These are my specs: - WindowsXP Pro - jakarta-tomcat-4.0.1 - jdk1.3.1_02 Well if it doesn't work on XP how can I make it work (what software can I get), I have another hard drive, so I am thinking of loading Win98 and changing the FAT32 file (I think). But I am not sure on doing that. So basically two questions: 1. Can I get software to make tomcat run properly on WinXP? 2. How do I change the FAT file to choose between WinXP or Win98? THanks for your help, Dave... |
|
|
|
|
|
#2 |
|
SitePoint Zealot
![]() ![]() Join Date: Feb 2002
Location: UK
Posts: 146
|
hi,
i'm assuming that if you've managed to work through chapters 1 - 3, then tomcat must be working OK on your system. otherwise your JSP pages would not be working. can you be more specific about your error messages? the first thing that springs to mind is that your java beans may not be in the place tomcat expects them to be. or the directory is not in the classpath. loads of people have trouble on this one. have a look here for info on how to configure tomcat 4: http://www.moreservlets.com/Using-Tomcat-4.html hopefully you won't have to go down the dual-boot root. ![]() |
|
|
|
|
|
#3 |
|
SitePoint Guru
![]() ![]() ![]() ![]() ![]() Join Date: Aug 2001
Location: Toronto, Canada
Posts: 826
|
THANK YOU....
That documentation is good...thank you...
If I ever wanted to go into dual-boot who would I do it anyways? |
|
|
|
|
|
#4 |
|
SitePoint Zealot
![]() ![]() Join Date: Feb 2002
Location: UK
Posts: 146
|
not a problem
![]() dual booting. aah. (bear in mind i don't have XP) the easy way is to install win98, then install winXP. installing win98 after winXP has been installed is tricky. win98 needs the boot sector on the c: drive to be in FAT format...if XP is installed it generally won't be. there has been some discussion of this in XP newgroups. if you do a google groups search you should turn up some info...and perhaps find a solution. hope this helps. |
|
|
|
|
|
#5 |
|
Mlle. Ledoyen
![]() Join Date: Jan 2001
Location: UK
Posts: 7,312
|
You have to install 98 first
Sean ![]() |
|
|
|
|
|
#6 |
|
SitePoint Guru
![]() ![]() ![]() ![]() ![]() Join Date: Aug 2001
Location: Toronto, Canada
Posts: 826
|
eug...
Naw its STILL not working -_-'...I have noticed a pattern in the compilation of my scripts. Whenever I try to compile the scripts through CMD (command prompt) it keeps giving me a blank compiled class called javac. -_-'
Very strange. Can't I just open my .java file in javac (drop and drag my .java file over the javac program (heh it works...but the JSP isn't picking it up).If someone can...may you write 2 simple files (the .java file and the .jsp plus VERY SIMPLE instructions on how to make it work). Thanks a TON! |
|
|
|
|
|
#7 |
|
SitePoint Guru
![]() ![]() ![]() ![]() ![]() Join Date: Aug 2001
Location: Toronto, Canada
Posts: 826
|
also...
About the dual-boot...would it help if I said I had an external 40 GB hard-drive I can install win98 on?
|
|
|
|
|
|
#8 | |
|
SitePoint Zealot
![]() ![]() Join Date: Feb 2002
Location: UK
Posts: 146
|
first things first then...
Quote:
have you added your jdk install directory to your system classpath. eg. if you installed jdk to c:\jdk1.3, then you add c:\jdk1.3\bin to your classpath to test can you compile a .java file on your c:\ drive Code:
class HelloWorldApp {
public static void main(String[] args) {
System.out.println("Hello World!");
}
}
c:\>javac Hello.java c:\>java Hello should work to add jdk install dir to classpath (this is for win2k should be same for XP). Start -> Control Panel -> System -> Advanced -> Environment Variables select path from 'System Variables' list click edit add c:\jdk1.3\bin; to end of path //or whatever dir you installed jdk in OK it all let me know what happens - we can take it from there. hope this is getting you somewhere sorry if this is all 'old news'Last edited by martm; May 6, 2002 at 18:57. |
|
|
|
|
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
|
All times are GMT -7. The time now is 18:15.








it works...but the JSP isn't picking it up).


Hybrid Mode
