• 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

Change Class path of project and Got No Action Map Error

 
Ranch Hand
Posts: 247
MyEclipse IDE MySQL Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi i have to ask one thing.. I just changed my class path from default .

which was

/WEB-INF/classes



changed path is

/build/classes

(Not in WEB-INF)

But when i am deploying the project and run ,It give there is no Action Mapped.

I am sure thet The application is not able to read Struts.xml.

do i stick to default class path or any other changes i need to made that i am unaware.

I am using JBoss 4.2.1.GA..

how can i resolve it...


Regards,
Raza
 
Sheriff
Posts: 9708
43
Android Google Web Toolkit Hibernate IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1. Why did you change the classpath?? classes folder is always supposed to be in the WEB-INF folder.
2. How did you actually change the classpath?? The container always looks for classes in the classes and lib (inside jars) folders of your web application...
 
Raza Mohd
Ranch Hand
Posts: 247
MyEclipse IDE MySQL Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i changed through the java build path.

the second point you mentioned ..

That the container will always look in the WEB-INF ....is there any way that we can configure container so that it can look for the path that i defined.


 
Ankit Garg
Sheriff
Posts: 9708
43
Android Google Web Toolkit Hibernate IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Again I would ask, why do you want to change the path?? What is the use of moving the classes directory out of the WEB-INF directory??
 
Raza Mohd
Ranch Hand
Posts: 247
MyEclipse IDE MySQL Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There is no need....but if i do...there must be a possible solution..

I want to check it.....if i change class path how can i configure container to read path i created.. ..
 
reply
    Bookmark Topic Watch Topic
  • New Topic