Jump to content

Classes Structure


Recommended Posts

Hi. I would like to put my servlets into a package, say com.servlets, in WEB-INF\classes folder under public_html folder.

What should I write in my jsp and web.xml file to have the jsp invoking a servlet from the package? Besides, should all of my site go under public_html folder?

 

Thanks in advance

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...