Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

tabElem Error

 
Husain Hakimuddin
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Installation note of an application says:

1. If you are using Tomcat 5.x, you will encounter query encoding issues.

You must enforce proper decoding of URI parameters in the connector. You
can do it by adding this attribute to the connector spec. in server.xml

URIEncoding="UTF-8"

An example connector should look similar to this one:

<Connector port="8080"
maxThreads="25" minSpareThreads="5" maxSpareThreads="10"
minProcessors="5" maxProcessors="25" enableLookups="false"
redirectPort="8443" acceptCount="10" debug="0" connectionTimeout="20000"
URIEncoding="UTF-8" />

If you use direct Apache connectors (AJP), a similar attribute must be added.


I'm on Apache/2.0.59 (Win32) mod_jk/1.2.18 PHP/4.4.4 and I added the following to my server.xml:



but I still get the error:


HTTP Status 404 - /app/tabElem

type Status report

message /app/tabElem

description The requested resource (/app/tabElem) is not available.
Apache Tomcat/5.5.17


Yes, I'm new to java and I'm sure I'm doing something wrong, please help.

Many Thanks,
Husain
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64971
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moved to the Tomcat forum.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic