Win a copy of Rust Web Development this week in the Other Languages forum!
  • 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Problem with JSP coded in XML Syntax.

 
Ranch Hand
Posts: 395
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I have problem with JSP coded in XML syntax in Tomcat 5.0.29 version.
Here is the snippet of code, this works fine in JRun 4.0 server.



This code throws following error:

tandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: /test.jsp(1,6) Invalid standard action.

I checked with JSP 1.2 syntax and its fine as per the document provided by sun.
Does this means, tomcat 5.0.29 doesn't support 1.2 version of JSP ?

If i need to use the existing application which is having JSP coded in XML syntax, then is it enough for me to change the version to 2.0 in the jsp:root tag?? Which i tried and it doesn't work. So how can i use the JSP coded in XML syntax in tomcat 5.0.29?


Thanks for the time.

Regards,
[ October 14, 2004: Message edited by: L Goundalkar ]
 
L Goundalkar
Ranch Hand
Posts: 395
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

I just removed jsp:root tag and its working fine. Now the problem is i am using custom tag in my JSP.

How do i mention the details of it i.e xmlns for the custom tag?

Before i used it like this.


Now since i removed the jsp:root tag, where should i use the xmlns in my JSP page.

Cheers.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic