Here's my entire index.jsp. What would you change to make it work with
Tomcat 5.0? It seems to works fine with 4.1.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
<[EMAIL PROTECTED] contentType="text/html"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<html:html> <!-- this is where it crashes-->
<head>
<title><bean:message key="indexPage.title"/></title>
</head>
<% if (request.getHeader("dsam_sn") == null) {%>
<frameset cols="145,*" frameborder=0 border=0>
<frame src="CommonTasks.jsp" frameborder=0 marginwidth=0
scrolling="no" name="commonTasks" noresize >
<frame src="HeadendCatalog.jsp" frameborder=0 marginwidth=0
name="main">
</frameset>
<noframes><bean:message key="indexPage.noFrameMessage"/></noframes>
<% } else {%>
<jsp:forward page="InstHomePage.jsp" />
<% } %>
</html:html>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|---------+---------------------------->
| | Remy Maucherat |
| | <[EMAIL PROTECTED]> |
| | |
| | 09/15/03 09:04 AM|
| | Please respond to|
| | "Tomcat Users |
| | List" |
| | |
|---------+---------------------------->
>------------------------------------------------------------------------------------------------------------------------------|
|
|
| To: Tomcat Users List <[EMAIL PROTECTED]>
|
| cc:
|
| Subject: Re: Tomcat 4.1 -> 5.0 Web-app Porting
|
>------------------------------------------------------------------------------------------------------------------------------|
[EMAIL PROTECTED] wrote:
> I'm using Tomcat 5.0.11.
>
> I still don't understand how this works with Tomcat 4.1 and not 5.0. I
> thought 5.0 was backwards compatible. Besides, struts' tags are very
> popular (<html><bean> etc.). If 5.0 were somehow not compatible with
these
> tags, we would hear more complaints from this forum. I am tilting towards
> believing that I am, most probably, facing a configuration/settings
> problem. Any suggestions?
The only way to get a NPE where you're getting it is if the tag pool is
null. It will only happen if _jspInit is not properly called, basically
(the code should be easy to read). So I doubt your JSP is a plain &
clean JSP ;-)
BTW, I developed and tested a rather big Struts webapp using TC 5
without any problems.
--
xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
R�my Maucherat
Senior Developer & Consultant
JBoss Group (Europe) S�RL
xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]