• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

tabElem Error

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moved to the Tomcat forum.
reply
    Bookmark Topic Watch Topic
  • New Topic