• Post Reply Bookmark Topic Watch Topic
  • New Topic

importing class into jsp  RSS feed

 
Rob Hunter
Ranch Hand
Posts: 832
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a class I've put into the deploy folder for JBoss. In my JSP I have a war file whereby I'm trying to import that class and instantiate an object for that class. Class is called arraySort. Can anyone tell me how to do this? I'm in a bit of a rush trying to get this in so I would appreciate any help (trying to google it too). Thanks.

Rob
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66144
144
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please take the time to choose the correct forum for your posts. This forum is for questions on intermediate Java.

This post has been moved to a more appropriate forum.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66144
144
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Rob Hunter:
In my JSP I have a war file


What do you mean by this? Isn't it the other way around?

In any case, the <jsp:useBean> action is the standard means of instantiating an object instance (must be bean-patterned) in a JSP.

Links to the JSP Spec and other resources can be found in the JSP FAQ.
 
Rob Hunter
Ranch Hand
Posts: 832
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear, I'm in such a hurry to try and get this working I was typing, deleting, and re-typing galour. Sorry bout that.

Rob
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!