JSP error

Hello.

I'm new to iWS.

I've uploaded JSP file to iWS 4.1 for the first time.

But on my first acceess, errlog says:

13/Aug/2001:11:44:01] warning (14567): Internal error: Failed to get

GenericServlet.

(uri=/sistest/dual/test_jsp1.jsp,SCRIPT_NAME=/sistest/dual/test_jsp1.jsp)

Any idea, what is wrong?

I thought JSP can be running just putted on the same path with HTML

file.

Activate the Servlet Engine?Yes

Enable JSP?: ?

Configure JRE/JDK

JDK : not checked

JRE :checked

JRE Path: /opt/iplanet/iws41/bin/https/jre

JRE Runtime Libpath: (not sprcified)

JSP is mere HTML.

-- test_jsp1.jsp

<html>

<body>

<H1> test_jsp1 </H1>

</body>

</html>

--

--

Hirosi Taguti

taguti@secom-sis.co.jp

[898 byte] By [708396] at [2007-11-25 7:19:20]
# 1

You need to configure a jdk using the Admin. GUI for iWS to compile the jsp

files. You also need to enable jsps using the Server Manager GUI.

Hirosi Taguti wrote:

> Hello.

> I'm new to iWS.

>

> I've uploaded JSP file to iWS 4.1 for the first time.

> But on my first acceess, errlog says:

>

> 13/Aug/2001:11:44:01] warning (14567): Internal error: Failed to get

> GenericServlet.

>

> (uri=/sistest/dual/test_jsp1.jsp,SCRIPT_NAME=/sistest/dual/test_jsp1.jsp)

>

> Any idea, what is wrong?

> I thought JSP can be running just putted on the same path with HTML

> file.

>

> Activate the Servlet Engine?Yes

> Enable JSP?: ?

>

> Configure JRE/JDK

>

> JDK : not checked

> JRE :checked

>

> JRE Path: /opt/iplanet/iws41/bin/https/jre

> JRE Runtime Libpath: (not sprcified)

>

> JSP is mere HTML.

> -- test_jsp1.jsp

> <html>

> <body>

> <H1> test_jsp1 </H1>

> </body>

> </html>

> --

>

> --

> Hirosi Taguti

> taguti@secom-sis.co.jp

709510 at 2007-6-29 17:56:34 > top of Java-index,Web & Directory Servers,Web Servers...
# 2
Hirosi, You are right that the JSP can run anywhere as long as it is under the document root somewhere. You must, however, check the enable JSP option. Also, I believe it is required to setup the JDK in order for the compilation to work.
709510 at 2007-7-1 12:08:43 > top of Java-index,Web & Directory Servers,Web Servers...