I'm unable to run jsp pages in ecllipse

Hi,

I have written JSP pages and i am not able to run those files in ecllipse.Can any one tell me the actual procedure of running JSP files written in ecllipse

[172 byte] By [sindhu.garapatia] at [2007-11-27 11:02:13]
# 1

How are you running them then? Which server are you using?

BalusCa at 2007-7-29 12:41:52 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

Well, you can't. You need a servlet container, like Tomcat or Resin. You can get Eclipse plugins that can control a container, and give some the impression of running JSP in Eclipse, but they're not, and it's a very important distinction to make

But don't bother with that just yet, get a container and learn how to set it up manually before leaning on an IDE to do it

georgemca at 2007-7-29 12:41:52 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3

Hey sindhu,

I can help you with detailed instructions on setting up a jsp page from scratch and deploying it on the container. Tell me where exactly are you in now?

u can reply back to me at pmrraghav@hotmail.com.

Thanks,

PaviEluri20a at 2007-7-29 12:41:52 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4

Here are few checklists:-

1. Download the right Java SDK version compatible with Eclipse version. (go through the system requirements once- It might suck for beginners).

2. See that you have the class path set. Go to "My computer" right click - properties and add {destination dir -C}\java-sdk 1.4.2_09\bin to it.

3. Download Eclipse.

4. To run JSP pages you need to have plugins which otherwise don't come along with Eclipse. Download WTP extract it-- and copy all the required files from plugins directory into Eclipse plugin directory.

5. Run eclipse and create a simple jsp page.

6. Start the server and view the output.

7. Questions--? mail me at pmrraghav@hotmail.com

PaviEluri20a at 2007-7-29 12:41:52 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 5

Hey forgot to ask you abt duke points.

PaviEluri20a at 2007-7-29 12:41:52 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...