Martyn Clark

Ranch Hand
+ Follow
since Apr 16, 2005
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
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 Martyn Clark

Hi Bear,

I'm just doing a select query using jdbc and using a table with the needed expressions to resolve the values, which works find when left in the jsp page, but when I removed the whole table along with the EL expression and placed it in a column in the db table and replaced the code with ${content} in the jsp page it no longer resolves the expressions. thanks for the freemarker pointer I will take a look.

Regards Martyn
9 years ago
JSP
Hi All,

I have a HTML table template which I would like to store in the database only when I do this the jstl expressions no longer render and display as is ${some.expression} is it possible to have these render?

Thank you

Martyn
9 years ago
JSP
Which version of Servlets are you using if you use 3.0 you can configure mappings with annotations :-)
10 years ago
Hi All,

I have a small application that is using sockets and all works well when I run the client from the ide but, when I compile and deploy as a jar file all works up to the point of getting the connection and just hangs, any ideas?

Martyn
sorry for the late reply ali but you should be able to find it here Start->Program Files-> Microsoft sql server 2005->Configuration Tools->sql server configuration manager. In configuration manager console, on the left hand panel, expand the sql server 2005 Network Configuration.
Click on the Protocols for Named-Instance-Name. On the right hand panel we need to right click and go to properties on the TCP/IP. The click on the ipAddresses tab any you can set/change port numbers.

Hope that helps.
Hi ali,

It maybe that your named instance is listening on dynamic ports and not the default, you can check this by using configuration manager and checking the properties in TCP/IP this will show you what port the instance is listening on.
Hi,

is it possible to read/write a properties file that is outside of the application jar file? without using an absolute path, I need to run a configuration method only if the properties file does not contain any properties/values. originally I was using InputStream and getResourceAsStream(path); which worked fine when running the main method in the ide but fails once I have created the jar file.

Martyn
10 years ago
Hi,
I am extending SimpleJdbcDaoSupport in my Dao implementation and I have a question regarding linking tables i.e ManyToMany relationships. I have three tables: product category and category_product being the linking table that just holds the ID's of category and product tables.

So to insert a new product I would have to 1. insert the product details 2 retrive the Id of the newly inserted product 3 insert category id and product id into the category_product table. Is there a simple or recomended way of achieving this, short of calling getSimpleJdbcTemplate three times, or is a stored procedure the way to go? really appreciate any response you may have.
Hi all,
I am new to spring mvc and I am currently stumbling how to bind the form fields to entities that have a OneToMany relationship.
All the fields in the form create an account whereby an Address entity is added into the Collection<Address> addresses. Am I confronting this from the wrong direction should I be binding to domain object?

Thank's for any guidence on this issue I seem to be having...
Hi Dave,
Have you ever tried this out in glassfish? if so, do you think this setup works well with glassfish?
Hi,
I recieved my free licience today just like to say thank you.
Thanks for the clarification Ulf, Just wanted to make sure I had not missed out on some small detail and miss the boat (so to speak)


Originally posted: Muhammad Saifuddin

with your personal license


If this is correct how do we claim the free license? only I have not heard anything since sending my details.
Wow I'm a winner thank you very much, I look forward to learning more about Intellij.
Thanks for the link Dmitry.