permaculture playing cards*
The moose likes JSP and the fly likes deploying a web app in tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "deploying a web app in tomcat" Watch "deploying a web app in tomcat" New topic
Author

deploying a web app in tomcat

aymane chetibi
Ranch Hand

Joined: Apr 12, 2006
Posts: 175
hi all,
I designed an application in the NetBeans IDE and now I want to deploy it in Tomcat.
I have the correct file structure but when accessing this url http://localhost:8080/project/index.jsp I get the following error:

org.apache.jasper.compiler.ParseException: C:\jakarta-tomcat-3.3.2\webapps\forumProject\index.jsp(1,0) Page directive: Invalid attribute, pageEncoding

thank you for you help
Eduardo Dela Rosa
Greenhorn

Joined: Apr 15, 2004
Posts: 25
Hi,

How did you define your page directive and attributes?

Should be:

<%@page pageEncoding="{CharSet}" %>

If that is giving you a problem, try to remove the *pageEnconding*
attribute first(and its corresponding value, if any), then run the
web app again. It might be that the value you've set is not in the
valid list of CharSets.

Better yet post your page directive to have a much clearer view of
what's causing your problem.

HTH.


Eduardo dela Rosa<br />SCJP 1.4
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
Any reasons of using stale tomcat version? We are having 5.5.x.
[ April 17, 2006: Message edited by: Adeel Ansari ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: deploying a web app in tomcat
 
Similar Threads
Error accessing application in Tomcat 5
Using Connection Pool To Access MySQL Database On Tomcat
Running JSP on TomCat
Running JBuilder8 with Jakarta Tomcat: can't view the Tomcat Admin application
How to configure JBoss with Tomcat