Win a copy of Microservices Testing (Live Project) this week in the Spring 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:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

org.apache.struts2.components.ServletUrlRenderer warn

 
Ranch Hand
Posts: 88
IBM DB2 Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, i was playing around with Struts2 annotation (On top of Tomcat v7.0) with various good online resources. However, at one stage seeing following WARNING message(s) in console. Will really appreciate if any one of you can help me to find my mistake(s). Thanks

WARNING Message:

My project structure (mainly using Struts2-2.3.16.3) is as follows:

In case if the img is not visible then please click this https://app.box.com/s/rvl8rhgnksd55usor37c

My 'web.xml' is as follows:

In 'index.jsp' having this:

In 'login_input.jsp' having this:

In 'LoginAction.java' having this:

And in 'login_success.jap' having this:


That's all. Thanks again.
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You didn't show us your struts.xml, but perhaps if you read this on namespaces you may solve your own problem.
 
Faisal Fuad
Ranch Hand
Posts: 88
IBM DB2 Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Joe, Thanks for your reply. Just wondering, as I am using Struts2 annotation do i really need 'struts.xml' in my classpath? Well, based on your reply I read the given URL on Namespace (again Thank you), and created 'stutrs.xml' which looks like as follows:

'stutrs.xml' is having this now:

I am surely doing something wrong here therefore seeing those WARNING messages again as follows:

In case if the Img is not visible please click Image Link
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic