Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Reginheraht Fischer   on Jun 27 In Java Category.

  
Question Answered By: Scarlett Hughes   on Jun 27

Not sure about the weblogic  but if you are packing a
standard structure  for your application  , you should
have the classes in WEB-INF/classes in your mapping
base. ( you might see samples in tomcat ,jboss and
other container implementaions too). I am not sure if
weblogic takes the same architecture  though and maybe
Weblogic profis here will help  you more.

Still I wrote you back cause i thaught it may make
sense to leave you a tip on Naming convensions. when
you pack your referenced class  in the classes
directory to let your servlet  access it, you make the
directory structure upto last package name (in your
case not shopping/CD/CD.class rather
shopping/CD.class)

PS:You might rather considering standard Class and
package naming though (use all lowercase for package
names "like com.balamurugan.killerapp" and a
uppercase-started attached phrases for your class
names: KillerMain ". So as servlets are Class files
too, you might consider renaming the servlet to
"YourServlet" from "yourservlet"

Share: 

 

This Question has 6 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on MVC architecture Or get search suggestion and latest updates.


Tagged: