Win a copy of Head First Android this week in the Android 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
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic