aspose file tools*
The moose likes JSP and the fly likes just learning Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "just learning " Watch "just learning " New topic
Author

just learning

April Benzine
Greenhorn

Joined: Sep 23, 2004
Posts: 17
hi, i need to make a html table (this i know how to do) but i have to pass in the information from my proerties file that is in my util package. how do i import my own util package. any help is greatly appreciated.
Sean Stephens
Ranch Hand

Joined: Oct 25, 2004
Posts: 40
In the servlet forwarding to the page that displays the table, you put your Properties object into the request using request.setAttribute(name, obj). Then to get it into your receiving jsp page, you use a <jsp:useBean> tag. You can now use that Properties object in your jsp.

See this link for a syntax overview:
http://java.sun.com/products/jsp/tags/10/tags.html

This, of course is only one way to do it - can't say its even the best way, just the one that came to mind first.

Hope it helps.
Fisher Daniel
Ranch Hand

Joined: Sep 14, 2001
Posts: 582
Hi April,
To import some class in jsp, you can use this



Correct me if i am wrong..
Hope this help
danil
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: just learning
 
Similar Threads
util package
Convert sql date to util date
java util package
How to get ServletContext in struts 2 action class
Connection Factory MVC