tgopalakrishnan
asked on
problem with JSP in iPlanet server
1. i added the following lines in web-apps.xml
<jsp-servlet enable="true">
<init-param>
<param-name>use-precompile d
<param-value>true
2. Enabled JSP's and Servlets
3. Added tools.jar to the JVM classpath
When i try to access the application I got the logon page. After submitting the logon page i am calling a bean for authenticating user.I can't able to access the bean because i am getting an error page 'This page cannot be displayed'.When i removed the code for calling bean it works fine.
i don't know why this happens pls help me.
I am using iPlanet 6.0 .Is i missed any step in configuration.
<jsp-servlet enable="true">
<init-param>
<param-name>use-precompile
<param-value>true
2. Enabled JSP's and Servlets
3. Added tools.jar to the JVM classpath
When i try to access the application I got the logon page. After submitting the logon page i am calling a bean for authenticating user.I can't able to access the bean because i am getting an error page 'This page cannot be displayed'.When i removed the code for calling bean it works fine.
i don't know why this happens pls help me.
I am using iPlanet 6.0 .Is i missed any step in configuration.
I think if you enable precomiled, you must compile your jsp page manually, did you do that?
BTW, the right xml should read as
<init-param>
<param-name>use-precompile d</param-n ame>
<param-value>true</param-v alue>
</init-param>
<init-param>
<param-name>use-precompile
<param-value>true</param-v
</init-param>
Did you use jspc to pre-compile ur's jsp ?
What Does the Server Need to Run JSP?
-------------------------- ---------- ---------- ---------- ---------- ---------- ----
iPlanet Web Server 6.0 includes the Java Runtime Environment (JRE) but not the Java Development Kit (JDK) due to licensing restrictions. The server can run servlets and precompiled JSPs using the JRE, but you need the JDK to develop new JSPs or to deploy uncompiled JSPs. For information about precompiling JSPs, see http://docs.sun.com/source/816-5689-10/jsp.htm#27609
Also see:
http://docs.sun.com/source/816-5689-10/jsp.htm
regards
syd
What Does the Server Need to Run JSP?
--------------------------
iPlanet Web Server 6.0 includes the Java Runtime Environment (JRE) but not the Java Development Kit (JDK) due to licensing restrictions. The server can run servlets and precompiled JSPs using the JRE, but you need the JDK to develop new JSPs or to deploy uncompiled JSPs. For information about precompiling JSPs, see http://docs.sun.com/source/816-5689-10/jsp.htm#27609
Also see:
http://docs.sun.com/source/816-5689-10/jsp.htm
regards
syd
Or even better:
<jsp-servlet enable="true">
<init-param>
<param-name>use-precom piled</par am-name>
<param-value>true</par am-value>
</init-param>
</jsp-servlet>
<jsp-servlet enable="true">
<init-param>
<param-name>use-precom
<param-value>true</par
</init-param>
</jsp-servlet>
Gopal:
I did not address your invalid XML format i just assumed that u just used it here for example..like psuedo code.
The link that i gave you shows the valid xml format.
good day
syd
I did not address your invalid XML format i just assumed that u just used it here for example..like psuedo code.
The link that i gave you shows the valid xml format.
good day
syd
Check class path; Are you giving full qualified name of your class in <jsp:useBean ?
ASKER
Hello friends thanks for responding to my question.Just i placed the war file inside the webapps directory and using that file i deployed now i working fine in the previous case i placed the war file c:\ and tried it.
A new question
I want to create two virtual directories(Application URI) where one refers to local system(where iPlanet server runs) and other one refers to a different system which is in physical network connection.
I directly opened the web-apps.xml file and added the following two lines
For Local system
<web-app uri="/LocalFiles" dir="E:\LOCAL_FILES" enable="true"/>
For Network sytem
<web-app uri="/NetWorkFiles" dir="\\client01\D\NETWORK_ FILES" enable="true"/>
While i am trying to access the URI's the uri which refers to the Local system is woking file and the IE displays all the contents of the directory.But on the other i am geting 'HTTP 404 Not found error'.so how can i map a virtual directory for a folder which is in network system.
We are using Windows 2000 and iPlanet server version 6.0
A new question
I want to create two virtual directories(Application URI) where one refers to local system(where iPlanet server runs) and other one refers to a different system which is in physical network connection.
I directly opened the web-apps.xml file and added the following two lines
For Local system
<web-app uri="/LocalFiles" dir="E:\LOCAL_FILES" enable="true"/>
For Network sytem
<web-app uri="/NetWorkFiles" dir="\\client01\D\NETWORK_
While i am trying to access the URI's the uri which refers to the Local system is woking file and the IE displays all the contents of the directory.But on the other i am geting 'HTTP 404 Not found error'.so how can i map a virtual directory for a folder which is in network system.
We are using Windows 2000 and iPlanet server version 6.0
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Map the network network location by going to ->
Explorer->Tools-->Map Network Drive
Good Luck
syd
Explorer->Tools-->Map Network Drive
Good Luck
syd
why postings are deleted?
in services, run as domain user, domain\administrator.
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
- Points to kennethxu
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
girionis
EE Cleanup Volunteer
I will leave a recommendation in the Cleanup topic area that this question is:
- Points to kennethxu
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
girionis
EE Cleanup Volunteer
I guess the XML is well formed and what you posted here is just an example.
Do you get any error messages on the console or in the log files?