Hello everyone,
I am inserting values in a database through asp and setting the charset like this:
SESSION.LCID = 1049
I need this LCID because the page will insert chars in portuguese, with accentuation.
So, I get my string with:
nome = Trim(Request.Form("txtNome"))
And if I do a...
Hey everyone,
I'm working in a PHP system that uses SQLServer. In a certain transaction, it returns me the message: "mssql -> Expected dbnextrow() to return NO_MORE_ROWS".
The transaction executes correctly, so this looks to me like a warning.
Would someone know what causes this message, or...
Hello everybody,
I'm having trouble in a system I'm working on. I receive some images from a customer in a different format (SGD extension, created by the customer). I want to load this image in a PictureBox to resize them, but I get a "Invalid Picture" error. I've tested and checked that if I...
Hello guys,
I am finding the error "Cannot find FacesContext" while running my JSF webapp. I googled it and found that in most cases the error is regarding web.xml, right? Well I'm posting this because I think that is not my problem.
I start to prepare an application.. and I fix its web.xml...
Hello guys,
I need to call an webservice that is in an address like this: http://www.address.com/service.cfm
I used to use it in a jsp, in a form, doing something like: <form action="http://www.address.com/service.cfm"> ...
The problem is that now I cannot use a jsp. I want to call it from...
Hey everyone,
I have a report created on iReports, and I wanna present it on my browser in my web app. The problem is I need to add a barcode in a specific point of this report. This barcode is being generated correctly, using class BarcodeInter25 of iText.
The problem happens when I'm gonna...
Hello everyone,
I'm having this weird problem with JasperReports. I have a web application that generates reports in the default way (showing it on a swing window). I tested it on the server and it was working just fine.
Then, I went to one of the client machines to test the reports. I clicked...
Hello guys,
I'm having a problem in reloading pages that only happens in IE.
On my page, I have:
<script type="text/javascript"> window.open("/System/pages/pedido/barraPedido.jsp","downFrame");
</script>
On the first time, it works fine. But then the user clicks a link that executes a...
Hello everyone,
I use struts and I have an action that redirects to the same page where it came from. Here it goes:
<action
path="/DelItevenPedidoList"
type="auge.action.DelItevenPedidoListAction"
name="addDelUpdItevenForm"...
Hello everyone,
I have a webapp that uses treeview from struts-layout. It is working perfectly and I'm happy with it.
The thing is that now I was required to put small swf files on the treenodes. Each treenode would be a swf file, which is simply a box with the name of the system module, with...
Hello everyone
I wanna know how I can display an image at an specified (x,y) position. I'm totally lost in how doing it.
I have a bmp image of an arrow (which I could convert into bitmap or gif if needed) and I want to display it in an specified place. I have no idea how to do it.
Can someone...
Hello everyone,
I have a Struts application already working, and now I have to work harder on the application's interface with the user. I searched and found out that Lazlo may be a good way to do it and get good results, but I still haven't got any experience or clue in what concerns...
Hello guys,
I wanna get the directory from where my webapp is running. For desktop apps, I do:
System.getProperty("user.dir");
How do I do it for webapps? I wanna get the path, something like: /srv/www/tomcat5/base/webapps/MyApp
Hello everyone,
I wanna get the directory from where my application is running. Is there a way to do it?
I tried:
System.getProperty("user.dir");
But it returns me my linux user directory (/home/myname).
How can I make it return the dir from where the app is running? Thanks
Hello everyone,
I'd like to know how I can use the JDBCRealm in my situation. Let me try to explain the tables I have:
- USERS: User, Password, UserGroup
- GROUPS: Group, Description
- MODULES: Module, name
- RIGHTS: UserGroup, Module, Edit, Insert, Delete, Print
I got this really nice...
Hello everyone,
I'd like to know how I can use the JDBCRealm in my situation. Let me try to explain the tables I have:
- USERS: User, Password, UserGroup
- GROUPS: Group, Description
- MODULES: Module, name
- RIGHTS: UserGroup, Module, Edit, Insert, Delete, Print
I got this really nice...
Hello everyone, I'd like your help to find an error. I have an action, a form bean, but it isn't being populated! Could you help my find out why? There goes my code:
struts-config:
<form-bean name="addDelUpdMPFichaTecnicaForm" type="auge.form.AddDelUpdMPFichaTecnicaForm"/>...
Hello guys,
I have a webapp that has a problem... after some minutes of use, it gives me a java.lang.OutOfMemory error and doesn't work anymore.
I was wondering what I should do to find out where the problem is. I'm using struts + hibernate.
Thanks
Hello everyone.
I'm looking for an interface opinion here. I'm working on a master detail issue here, and I don't know how I should organize it on the web page.
I have Order and Items. Order has many items. So, when the user's adding an Order, I want him to enter all order data and then, in...
Hello everyone.
I'm looking for an interface opinion here. I'm working on a master detail issue here, and I don't know how I should organize it on the web page.
I have Order and Items. Order has many items. So, when the user's adding an Order, I want him to enter all order data and then, in...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.