Win a copy of Securing DevOps this week in the Security forum!

Kay Tracid

Ranch Hand
+ Follow
since Mar 06, 2002
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Kay Tracid

hi,

is there a better way then including the scriptlet in the webapp? i cant rebuild my project every time, if a chart has changed. to put it in the classpath dont work, the classloader of the webapp dont find the scriptlet this way.

thanks!
thx i also find something:


<FORM ENCTYPE='multipart/form-data'
method='POST' action='/myservlet'>
<INPUT TYPE='file' NAME='mptest'>
<INPUT TYPE='submit' VALUE='upload'>
</FORM>

@

http://www.jguru.com/faq/view.jsp?EID=160
12 years ago
JSP
Hi,

I want to upload a file to my database as blob. i have a servlet doing this, but how can i pass the file(path) from my <form> in my jsp to the servlet? Sorry a simple question...

thx a lot
12 years ago
JSP
thx i will follow your hint

no, I dont/cant use a datasource.
12 years ago
JSP
Hi,

I have a simple question about the db-connection. What is the best way to handle the connection in my jsp? Now I have my own class with a static method for returning the connection.
like:
public static Connection getConnection()

What happens if there are more than one call/statements at one time? Is that a "good" way to handle it? What may be better?

Thx a lot
12 years ago
JSP
Hi,

i'm new to j2me, i have a simple question. I read about High-User interface and low user interface and found no solution to get only one char from the user input. for example: is it possible to get 'b', if the button '2' was pressed twice? do i have to use a Form? Can i use a form without showing the form?

Thanks and sorry for my poor english
13 years ago
Hi,

i have a cmp bean "Minfo" and get my results in my client this way:



Every time i call a get-Function, JBoss make a database query, like this:

Executing SQL: SELECT filename, extension, disk, size, id3title, id3artist, id3length, id3bitrate FROM minfo WHERE (id=?)

is it possible to get the information for all get-functions with one sql-call for each bean? is it possible to configure my bean or jboss for this behavior?

i have a performance problem if i call a lot of get-Methods.

Thanks a lot!
13 years ago
hi,
i'm looking for an example to search in a JTable/TableModel for data and center the view. do u know one?
thank a lot!
14 years ago
i use this, but my panel is not as width as my frame
14 years ago
Hi,
is it possible to have a jscrollpane with the same size of a panel in a frame? my scrollpane has a fixed size, but i want it to be as big as possible in my frame. how can i do that? i use gridbaglayout:
gbConstraints.fill = GridBagConstraints.BOTH;
gbConstraints.weightx = 1.0 ;
gbConstraints.weighty = 1.0 ;
gbConstraints.gridx = 0;
gbConstraints.gridy = 0;
gbLayout.setConstraints(myPanelWithScrollPaneInside, gbConstraints);
Thanks a lot!
14 years ago
Hi,
I use lomboz 3m6 and I dont bring my cmp with mysql to work.All is fine, but i want to use autoincrement for an id. my simple question is: where an how can i define this statements for the ejb-jar.xml?

thanks and regards
kay
14 years ago
find it in xdoclet.xml
14 years ago
please help
14 years ago