Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Probem in creation of jar for custom tag  RSS feed

 
Rohan Kayan
Ranch Hand
Posts: 123
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am creating jar file for the custom tag I created . In the jar file I am outting all the class files and all the config file(e.g. TLD) under the META-INF folder.

Can we put the JSP files in the jar file too , is yes then what will be the path for the JSP file ? If not the what is the alternative for that ?


Thanks in advance for your suggestions.
 
Herong Yang
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Interesting idea. I have never seen anyone includes JSP files in a JAR file for deployment.
 
Mohammed Yousuff
Ranch Hand
Posts: 198
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe we can't have JSP in META_INF dir...

please correct me if i am wrong.
 
Amit Ghorpade
Bartender
Posts: 2856
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Mohammed Yousuff:
I believe we can't have JSP in META_INF dir...

If you are talking about the META-INF directory, then yes we can put JSPs there, in fact those JSPs which are not publicly accessible are often found there.

Can we put the JSP files in the jar file too ,

But why put the JSP in JAR file?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!