Posts
 
Reputation
Joined
Last Seen
Ranked #618
Strength to Increase Rep
+7
Strength to Decrease Rep
-1
88% Quality Score
Upvotes Received
16
Posts with Upvotes
14
Upvoting Members
15
Downvotes Received
3
Posts with Downvotes
2
Downvoting Members
3
7 Commented Posts
~129.70K People Reached
Interests
Programming
PC Specs
Desktop 2 GHz Intel Core 2 Duo, 4GB RAM, 500GB HDD, Snow Leopard 10.6.4
Favorite Tags
Member Avatar for moderate_rock48
Member Avatar for martin5211

FPDF is a class that provides a useful way to deal with PDF documents using dynamic content. Sometimes, according to a special circumstance, also would be valuable to send directly the PDF as attachment e.g. send an invoice automatically after processing a payment. In this example we use a html …

Member Avatar for Dani
0
22K
Member Avatar for needs_help

[IMG]http://www.visibone.com/php/phpskinnysheetback.gif[/IMG] A PHP cheat sheet

Member Avatar for Ciara_1
0
879
Member Avatar for mutago
Member Avatar for kroken

Use [ICODE]String message = request.getParameter("message");[/ICODE] on the servlet to extract each input field value, the following snippet will do the rest: [CODE] import java.io.IOException; import java.util.Properties; import javax.servlet.*; import javax.servlet.http.*; import javax.mail.*; import javax.mail.internet.*; public class ContactServlet extends HttpServlet { public void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException{ String …

Member Avatar for harpreetfervaha
0
2K
Member Avatar for woocha

Maybe you could start renting a dedicated server with [URL="http://www.centos.org/"]centos[/URL], [URL="http://www.cpanel.net/index.html"]cpanel[/URL] and webhost manager, and a billing script.

Member Avatar for Shashikant_1
0
384
Member Avatar for crasher

"Computer-based diagnosis of hearth diseases using x-ray imaging techniques and neural networks" sounds cool for me

Member Avatar for Amiet_1
-1
2K
Member Avatar for lisy

In editData.jsp the textboxes appears before calling request.getParameter() for each variable. For that reason every textbox is empty. Try to move the block of get parameters above, next to variable declarations.

Member Avatar for stultuske
0
3K
Member Avatar for Devendra1

[QUOTE]java.lang.Exception: Port 8083 already in use.[/QUOTE] Seems to be that maybe there is another instance running on the server.

Member Avatar for afterU
0
4K
Member Avatar for wavyaquaeyes

If the page only shows the code that's because the PHP interpreter isn't running. Look at your [COLOR="Green"]httpd.conf[/COLOR] (Apache configuration file) and look if the line that says 'LoadModule php5_module' isn't commented with [COLOR="Red"]#[/COLOR] sign. Also, look for 'Listen' should say 'Listen 80' so you can put simply [url]http://localhost/[/url] on …

Member Avatar for dineshnbhatia
1
19K
Member Avatar for webguru07
Member Avatar for Vonzarovitzch
0
2K
Member Avatar for whiteyoh

It seems to be a permission issue with profile folder. Grant access to everyone on these folders temporarily.

Member Avatar for martin5211
0
101
Member Avatar for krip_101

Appears to be something related with encoding... There is missing two parenthesis at the end. Some array exceeded the length. I did correct indentation with Eclipse, looks better now.

Member Avatar for krip_101
-2
197
Member Avatar for kroken

If the method sessionDestroyed() is declared static it's possible to access it from the logout method using [ICODE]SessionCounter.sessionDestroyed()[/ICODE].

Member Avatar for martin5211
0
184
Member Avatar for usiyalla
Member Avatar for coding101

There is a class named Apache Commons Lang that provides a method to check is String: [URL="http://commons.apache.org/lang/api-2.5/org/apache/commons/lang/StringUtils.html#isAlpha(java.lang.String)"]API documentation[/URL] [URL="http://commons.apache.org/lang/download_lang.cgi"]Download[/URL]

Member Avatar for Dhruv Gairola
0
184
Member Avatar for fahadyousaf

Create a JAR file, it is executable in almost all brand new computers with Java Runtime Environment installed.

Member Avatar for apines
0
102
Member Avatar for blknmld69

I found some errors in your code: [CODE] import java.awt.BorderLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JButton; import javax.swing.JComboBox; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JTextField; /** The Main class creates the GUI for the Dorm and Meal charges. */ public class Main extends JFrame { private JPanel dormPanel; private …

Member Avatar for jon.kiparsky
0
904
Member Avatar for darkhat
Member Avatar for StaticX

It's viable to use several panels (could be three) and use e.g. setLocation(130,10) to change the position of the panels. Setting a different background with setBackground(Color.white) and setSize(width,height) could help too in the positioning.

Member Avatar for hanvyj
0
144
Member Avatar for Javarat

Remove the static modifiers in your Book class. Also you need to pass a new Book object on each iteration, e.g. [ICODE]mybooks.add(new Book(a_title, a_author,a_publisher, a_isbn));[/ICODE] if you have a constructor to initialize these variables.

Member Avatar for martin5211
0
267
Member Avatar for neo_31591
Member Avatar for fregley

Have you tried to do drag&drop these files into src/ of the Project Explorer (Eclipse) and then select "copy"?

Member Avatar for fregley
0
236
Member Avatar for J.Killa

Use length() with strings. The library [URL="http://commons.apache.org/lang/download_lang.cgi"]Apache Commons Lang[/URL] provides isNumeric() to check strings. I'll give you an example, don't forget to download and add this external jar into your project: [CODE] import org.apache.commons.lang.StringUtils; public class StringTest { public static void main(String[] args) { String s = "12345"; System.out.println(s.length()); if(StringUtils.isNumeric(s)) …

Member Avatar for J.Killa
0
248
Member Avatar for nikita.chandra

Have you tried OpenCMS at [URL="http://www.opencms.org/"]http://www.opencms.org/[/URL]? It's truly open source.

Member Avatar for fishsmith
0
220
Member Avatar for basilix

Add a hidden field and modify the value from Javascript. Then you can extract the values using request.getParameter()

Member Avatar for basilix
0
239
Member Avatar for rohan_tahil

Your external IP is not accessible from intranet, it is a common issue. If you did the right steps, try to access to your wan address from an outside location.

Member Avatar for martin5211
0
119
Member Avatar for Roebuc

To generate a PDF into PHP, there are two techniques: PDFLib or FPDF. PDFLib has some restrictions on licencing (commercial applications), I encourage to use FPDF because is free and Open Source, although PDFLib is rough and more complete (use your criterion). At [URL="http://fpdf.org"]http://fpdf.org[/URL] there are a place to download …

Member Avatar for Nandkishore354
0
1K
Member Avatar for martin5211

Hello everybody, I worked long hours this evening trying to unthread the whole thing and still not working... I don't know why. The page display the results using normal code in JSP (no jstl tags). When using jstl tags the page results in blank screen, no posts. Here is the …

Member Avatar for martin5211
0
2K
Member Avatar for Dean_Grobler
Member Avatar for martin5211
0
94