New to JSP + [message #223930] |
Tue, 18 November 2008 11:12  |
Eclipse User |
|
|
|
I have a website already, it uses Tomcat, and I want to add some .jsp to
facilitate some simple dynamic content.
The production server does/will not have a JDK on it.
On my PC, I can run a sample .jsp, but the generated .java and .class are
placed in Tomcat's "work" directory.
I need to provide a .jar or .class file(s) to the production server so
that the .jsp will work.
I've learned about editing the web.xml file, but still no joy.
Now I'm trying to use Eclipse to create the .jsp and run the page, but no
joy there either. I know I'm probably missing a lot some where, but I'd
rather not spend months studying to figure out what I'm doing wrong.
From within Eclipse I can successfully run my index.html page which
creates three frames, and the title and footer seconds properly display
their .html content. Just the middle.jsp doesn't fly, and it currently as
simple "Hello World" thing.
I'm having some difficulty finding the right place for help.
Help?
|
|
|
|
|
|
|
|
|
|
|
|
Re: New to JSP + [message #224031 is a reply to message #224023] |
Wed, 19 November 2008 08:03  |
Eclipse User |
|
|
|
! Thanks !
All I needed to do was set the compliance level to 1.4, rebuild, copy the
class file to WEB-INF/classes, restart Tomcat, and waza! .jsp displays,
without an actual .jsp file, and nothing in "work".
Thanks for the help.
Now I can concentrate on producing that actual .jsp I really need to have
work.
|
|
|
Powered by
FUDForum. Page generated in 0.04953 seconds