Hi guys,
I am looking for solution for client side printing from our java web application JSF/JSP.
Rightnow we are using Crystal Report XI R2, and exported to PDF then displayed on client side.
The downside with this PDF approach is user will be able to SAVE the PDF and reprint again later. We want to disable the capability to SAVE th...
I've developed a java program that stores entities (using jpa+hibernate) in a mysql database. The entities are users, and other kind of objects. Now I need to write the web side of the application: I need to let user register/login and browse entries that are stored in the db.
I'm new to this kind of programming and I don't know what is ...
Question level : Intermediate / Beginer
I created a form with
`method="post" action="eh.do" onsubmit="return Form1_Validator(this)"`
The validation is successful and works fine when i hit submit.
But on the servlet, i have a concatenate function to merge the values together.
When the java script is turned on, ie when i write o...
Hi,
in EL expression in JSP we can use ${"1"+"2"} but not ${"Dark"+"Knight"}. Why?
...
Background: Migrating an application from ball of mud to MVC. Many classes contain HTML building methods. Refactoring as I add features, I'm not looking for a complete rewrite.
I'd like to build some smaller views but need to render them in between some serious string building.
To compose my views is a jsp I would use <jsp:include ...
hi all i just want to create a simple jsp tag
such as :
abc.tag
<div>
<table>
....
</table>
body content goes here
</div>
so when in the other pages i can use my tag like this
<tag:abc>
acutally body content
</tag:abc>
how can i do it without java code??? coz the functionality for my tag is siimple,
i d...
I am new to Jsp. I am developing the tool for testing usage, and have succeeded to open the excel file in the browser from the jsp application. However, i am not able to modify or edit the opened excel sheet.
Please help how to modify the excel in the browser.
...
Is there anyway to remove non printable characters like \t and \n from a compiled JSP when using Eclipse and WTP for development?
Right now the complied JSP has code like:
out.write("\t\t\t\\n");
I have tried the removewhitespace directive with no luck, and as I understand it this directive only eliminates whitespace around jsp tags.
...
For one week, i am playing with appfuse-jsf-basic but i noticed something. If i do not put tag to my navigation rules, i can view a page that require ROLE_ADMIN with ROLE_USER rights. Then i understand something that facelets doesnt use "servlet.forward" methods for forwarding so filters does not catch facelets forwards in navigation ru...
I'm writing a JSP that sometimes needs to format a Java Date that comes out of the request. I'm doing it like this:
<fmt:formatDate value="${attribute.value}" pattern="yyyy-MM-dd HH:mm:ss"/>
and it works beautifully on Java Dates.
However, there are times that the request attribute field with the exact same name (attribute.value) is ...
This may sound like a stupid question, perhaps it is. But I'm only trying to make sure there's no secret information hiding from me.
Alright, so if I have the option of putting in extra effort to develop in plain html and hook up my back-end via ajax, do I go for it?
Meaning, I could use PHP/JSP to include files such as headers, footer...
Hi,
there is an alternative to the Javascript onUnload? I use JSP Jakarta Struts framework with a Servlets.
I must know, when is window closing, because not everyone clicks on Logout button.
How do you handle it in your applications?
...
Hi All,
I have 15000 records in an arraylist each record size is around 2MB. I have display this list on a jsp page in the most efficient manner.
Please suggest the best method to do it.
I can not filter data on server side. User needs all records on jsp page at once.
Thanks in advance.
...
I have a JSP/HTML form where there are 2 elements.One is a select dropdown and another is a File upload box(input type="file").I use POST method and enctype as form-multipart.Now I am able to access both the dropdown list and file using MultipartRequest object.No problem in that.
But when I don't upload any file and when I use a code in...
Hi
I am trying to use my .net user control inside jsp page.
The jsp is served by Tomcat in Oracle BPM 10g.
I tried:
adding mime tags for dll in web.xml
Adding address to iexplore trusted zones.
Using server generated adresses instead of fuego calls like:
classid="..//webRoot/webResources/ImageEditor.dll#ImageEditor.Editor"
The dll...
First of all, I lie, it's not really a plain jsp website. It has a couple of pages with database access and a lucene based search engine... and around 400 standalone jsp pages.
The problem is that the admins on a production server we've not access to, say that the site is consuming too much memory (200+ Megs), and we are probably facing...
Hello,
I would like to know how is possible to read a file placed in WEB-INF direct into a variable.
My intent is to load (and process a page) into a var, than save it to a file and besides that, use the same html result to be displayed (like included) directly into another JSP.
is it possible?
...
Hey everyone,
I have a JSP page which accepts SQL queries, performs them then returns the results in a table. A few of the results occasionally have HTML tags in them i.e. - a result will return:
This is the returned result! I have <br> and <hr> tags!
When this gets put through the code to handle the return and place it into a tabl...
Hello all
I want to call dynamic tag in my custom tag .
for example
<mytag:taga attribute="showtag" value="helo">
</mytag>
showtag is another custom tag.
the main idea is call another tag by name inside my tag
Any idea?
Thanks in advance.
...
I work with a front-end developer who writes JSP files. We have a form that is working correctly, except validation/binding/processing errors can't seem to be displayed with Spring's <form:errors/> tag.
I've confirmed that the error is being set, and what is apparently the correct path for the errors. Supposedly <form:errors path="*" /...