JSP Section Index | Page 3
Can I get a code snippet or a reference to any website on how to run and close an external application from the JSP page or through a servlet? Like, Is it possible to run MS-WORD through a click on the JSP page?
a simple class i created, (one of my first out of college), you may want to improve it, or use it as it is: import java.io.*; import java.lang.Process; import java.lang.Runtime; /** * This Prog...more
I want to download the file, whatever the type of the file may be. If i select to download the doc type file, it should open in the word doc only, but not in the notepad.
I want to download the file, whatever the type of the file may be. If i select to download the doc type file, it should open in the word doc only, but not in the notepad. similarly for images also....more
Iam looking for the tool which converts JHTML files into JSP files, is anybody using any tool or is there any way to convert it , if so kindly share the knowledge with some examples.
Check atg's own docs at: http://www.atg.com/repositories/ContentCatalogRepository_en/manuals/JSPconverter/index.html it's very staright forward to do direct translation. We used this tool to mig...more
I have to implement a download module wherein I have to give only registered users the requested files.
I have to implement a download module wherein I have togive only registered users the requested files.The catch is, it has to be implemented in a manner, suchthat, the user should not actually make...more
if(request.isRequestedSessionIdValid()) Ah, I didn't know about this method! I didn't think of looking in the request object for this info, I had only thought of the session object itself.... Ins...more
In my JSP page i want to provide dynamic path substitution of HREF value in anchor tag .... Instead of giving like following: link to test JSP i want to subtitute the value for HREF through a s...more
Try these:» Xalan-J » Saxon O'Reilly also has a book devoted to this topic, here is an excerpt.more
I am sending form post variables thru HttpURLConnection class then i am not able to access existing session. How can i send variables as form post without breaking my existing session.
Include the jsessionid with the value of session.getId() as a hidden parameter in the form you want to post.
I have a page that has an Add button. On clicking that, a child window opens. When the child window form is submitted by the user the (child)window should close and the parent form should be reloaded. (And this should not happen before the child form does its processing..or else the updates wont be seen:)
I have a page that has an Add button. On clicking that, a child window opens. When the child window form is submitted by the user the (child)window should close and the parent form should be reload...more
The issue of security and firewalls has creeped up on us. 'Someone' has pointed out that JSP is a security sieve. Jie, what we are trying to determine is, 1. Have you been using JSP for your applications? 2. If so, are some of them older/not used anymore, and are others at a stage where conversion to PHP can be down with a reasonable amount of back-coding?
I got the following email from the project manager: "The issue of security and firewalls has creeped up on us. 'Someone' has pointed out that JSP is a security sieve. Jie, what we are trying to det...more
How to output/dump JSP data into a pdf file??? The mime type for word is the following <%@page contentType="application/msword" %> and works fine. On using the mime type of PDF , it is no...more
I have a web report which is done using JSP & HTML its a simple retrieve from database on generating this report i am also creating same format data, like heading and columns and data in a excel sh...more
Is it possible to give different session timeouts for different groups of users? I think session timeouts are set in the server and is the same for all users...meaning if you dont use something the...more
Google will spider and index JSP(read dynamic page). However, because their web crawler can easily overwhelm and crash sites serving dynamic content, they limit the amount of dynamic pages they in...more